Quantcast
Channel: Apache OpenOffice Community Forum
Viewing all articles
Browse latest Browse all 1281

Macros and UNO API • UnoControlImageControl

$
0
0
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

Statistics: Posted by hika — Fri Dec 06, 2024 11:14 pm



Viewing all articles
Browse latest Browse all 1281

Trending Articles