[GitHub] [poi] MariusVolkhart opened a new pull request #194: Change XWPFDocument#getNextPicNameNumber slot selection implementation

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[GitHub] [poi] MariusVolkhart opened a new pull request #194: Change XWPFDocument#getNextPicNameNumber slot selection implementation

GitBox

MariusVolkhart opened a new pull request #194:
URL: https://github.com/apache/poi/pull/194


   Previously, the implementation would result in a slot that was greater than the total count of pictures in the document and was available. For example, a document that had [1.png, 3.jpeg] would get a slot of 4, regardless of the format.
   
   The new implementation gives the first slot that is available for the specific format. That same document of [1.png, 3.jpeg] will now issue slot 2 for a PNG and slot 1 for a JPEG.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[hidden email]



---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]