Can someone please direct me to the documentation about conversion of 
Multi-page of Text file to PNG using LibreOffice API.

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

Ref:- https://github.com/LibreOffice/UNOHelper/issues/41#issuecomment-1732949888


If it is not possible to convert a Multi-page text file to PNG using 
LibreOffice, where it is mentioned in the documentation.  Should I send a PR 
for this, if it is not.

Thanks for your time.

From: aguador <waterbeare...@gmx.com>
Date: Tuesday, 26 September 2023 at 2:49 PM
To: users@global.libreoffice.org <users@global.libreoffice.org>
Subject: Re: [libreoffice-users] Help: Convert a Multi-Page Text/word file to 
PNG using LibreOffice API in JAVA
EXTERNAL: Use caution when clicking on links or opening attachments.


El lun, 25-09-2023 a las 04:20 +0000, Madhu Patel escribió:
> Hey folks!
>
> How to convert a Multi-Page Text file to PNG, for example:- 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. How to get the 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-";
>
> thanks!
>
This does not really solve the direct conversion problem, but given
that the document is short, why no export pdfs of each page and then
convert them to png?

Best,
aguador



--
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? 
https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.libreoffice.org%2Fget-help%2Fmailing-lists%2Fhow-to-unsubscribe%2F&data=05%7C01%7Cmadhup%40adobe.com%7C6c3c47f211c04cc0f2a308dbbe71bebe%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C638313167966025522%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=AnsTWngAlUyYeK%2BhKCz3WtwY96oL2%2BcCi%2FqxwJINSEA%3D&reserved=0<https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/>
Posting guidelines + more: 
https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwiki.documentfoundation.org%2FNetiquette&data=05%7C01%7Cmadhup%40adobe.com%7C6c3c47f211c04cc0f2a308dbbe71bebe%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C638313167966025522%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=lNVKvaXVE%2FozM0xzPnAxB9DD8%2BccfQcrsFKbOhHGmfw%3D&reserved=0<https://wiki.documentfoundation.org/Netiquette>
List archive: 
https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Flistarchives.libreoffice.org%2Fglobal%2Fusers%2F&data=05%7C01%7Cmadhup%40adobe.com%7C6c3c47f211c04cc0f2a308dbbe71bebe%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C638313167966025522%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=a9bt9MndrW8AutLAGveoh34t4i2W9LIp25t0hKhlLco%3D&reserved=0<https://listarchives.libreoffice.org/global/users/>
Privacy Policy: 
https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.documentfoundation.org%2Fprivacy&data=05%7C01%7Cmadhup%40adobe.com%7C6c3c47f211c04cc0f2a308dbbe71bebe%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C638313167966025522%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=oPNevqpp%2BLTismqTC0QP0kNTdtc8xXkfA1PnYBWSRW8%3D&reserved=0<https://www.documentfoundation.org/privacy>

-- 
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy

Reply via email to