opensagres / xdocreport

XDocReport means XML Document reporting. It's Java API to merge XML document created with MS Office (docx) or OpenOffice (odt), LibreOffice (odt) with a Java model to generate report and convert it if you need to another format (PDF, XHTML...).
https://github.com/opensagres/xdocreport
1.19k stars 369 forks source link

Сan you add the functionality described below? Shortly: getPayloadContentFromFile() #618

Open alexbevz opened 1 year ago

alexbevz commented 1 year ago

Example

In .docx or .pdf: image

after getPayloadContentFromFile(.docx or .pdf). We have array of string separating by paragraphs:

[
    "Vestibulum mattis ullamcorper velit sed ullamcorper morbi tincidunt. Pellentesque habitant morbi tristique senectus et netus et malesuada fames. Iaculis eu non diam phasellus",
    "vestibulum lorem sed. Vivamus arcu felis bibendum ut tristique et egestas quis ipsum. Adipiscing bibendum est ultricies integer quis auctor. Curabitur", 
    "gravida arcu ac tortor dignissim convallis aenean et. Ac orci phasellus egestas tellus rutrum. Arcu felis bibendum ut tristique et egestas quis ipsum. A condimentum vitae sapien pellentesque habitant morbi tristique. Euismod nisi porta lorem mollis aliquam." 
]