jaragunde opened a new pull request, #1091:
URL: https://github.com/apache/poi/pull/1091

   Modern Word versions create shapes inside blocks like these:
   ```
       <mc:AlternateContent>
         <mc:Choice Requires="wps">
           <w:drawing>...</w:drawing>
         </mc:Choice>
         <mc:Fallback>
           <w:pict>...</w:pict>
         </mc:Fallback>
       </mc:AlternateContent>
   ```
   The existing implementation of `XWPFRun.getPictureText()` only searched 
through drawing or pict items that are direct children of the run, ignoring 
whatever was inside an `<mc:AlternateContent>` block. We add code to include 
any `<w:drawing>` items inside these blocks.
   
   We also modify `XWPFParagraph.getPictureText()` to insert line jumps between 
different picture texts, following the mold from `XWPFRun.getPictureText()`.


-- 
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.

To unsubscribe, e-mail: [email protected]

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


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

Reply via email to