Hi All,
I want to create some sort of file viewer, pdf and graphical formats. I tried it with the UnoControlImageControl and I encountered some problems.
Through the ImageURL property I can display a graphic file, but not pdf. Further I have only two (three) sizing options: original size (often only displaying the centre of the image) or resize to fit (either isotropic or anisotropic.
draw and writer know pdf format.
My guess is that to display a pdf and also to get more sizing/scrolling options by way of a spinbox and scrollbars I have to create and fill the Graphic property myself and manipulate the content of that property.
Could anybody point me to more info on how to address this?
I program in Python and mostly work with Libreoffice, but anything working in Openoffice will work in Libreoffice.
Hika
I want to create some sort of file viewer, pdf and graphical formats. I tried it with the UnoControlImageControl and I encountered some problems.
Through the ImageURL property I can display a graphic file, but not pdf. Further I have only two (three) sizing options: original size (often only displaying the centre of the image) or resize to fit (either isotropic or anisotropic.
draw and writer know pdf format.
My guess is that to display a pdf and also to get more sizing/scrolling options by way of a spinbox and scrollbars I have to create and fill the Graphic property myself and manipulate the content of that property.
Could anybody point me to more info on how to address this?
I program in Python and mostly work with Libreoffice, but anything working in Openoffice will work in Libreoffice.
Hika
Statistics: Posted by hika — Fri Dec 06, 2024 11:14 pm