Don't know much about UNO, but using the PrinterSetup to force page
format might help.
Smath/.uno:PrinterSetup
http://help.libreoffice.org/Common/Printer_Setup#bm_id3150620
In linux, generic pdf might be perfect as it is probably available on
all variants
Paul
On 10/19/2011 5:41 AM, Gabriel Monnerat wrote:
Hello,
Since Gabriel and I are both working on similar tools, I think I know what he
needs. We both have written a tool to convert documents using LibreOffice
import and export filters. We use PyUNO to open and save documents and
during this 'conversion' problems have been reported that the page format
(eg. A4) is not retained.
My understanding is that either the original document has no paper format
configured,
or it does not fit the expected dimensions. So the question is, how can we
set (enforce) the correct page dimensions before exportingto another
document format using PyUNO ?
I have found some example code in Basic, however I couldn't transcode it to
working Python code :-
/
Do you have the link to the example code in Basic? I would like to see :)
Regards,
--
For unsubscribe instructions e-mail to: [email protected]
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted