https://bugs.documentfoundation.org/show_bug.cgi?id=157425

            Bug ID: 157425
           Summary: Multi-Page Text/word file to PNG Conversion using
                    LibreOffice API's
           Product: LibreOffice
           Version: 7.6.1.2 release
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: filters and storage
          Assignee: [email protected]
          Reporter: [email protected]

Description:
Let's say I have a Text document of 5 pages and I want to convert that into
PNG. By default, it's giving a PNG of only 1st page. There is no option/method
to get a PNG file for ith page using LibreOffice.

I used the PageRange filter like this, but it does not work, it's also giving
the PNG only for 1st page.

Also, I'm not able to generate multiple PNGs for multi-page word files using
the LibreOffice Application

CLI:-
soffice --convert-to
'png:writer_png_Export:{"PageRange":{"type":"string","value":"2-"}}' test.odt


Java:-
conversionProperties[0] = new com.sun.star.beans.PropertyValue();
conversionProperties[0].Name = "FilterName";
conversionProperties[0].Value ="writer_png_Export";

conversionProperties[1] = new com.sun.star.beans.PropertyValue();
conversionProperties[1].Name = "PageRange";
conversionProperties[1].Value ="2-";


Actual Results:
PNG for only 1st page. 

Expected Results:
PNG file for all pages of the text/docs file.


Reproducible: Always


User Profile Reset: No

Additional Info:
Multi-Page Text/word file to PNG Conversion using LibreOffice API's

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to