Hi, This is my first post here, I'm not experimented with uno but trying to use it for generating pdf from odt documents on a server.
It works quite well, my server is running debian and a python server application, so i use pyUno, with openoffice.org 3.1.1 running in headless mode. I managed to open a document and save it to pdf, It was quite easy. The problem I have now appears when updating the table of contents, the page numbers are not correctly set : they are all changed to the first table of contents page number (2) (so the index is updated, in the odt they were set to 1). There might be several reasons to that : - as oo.o runs headless, does it automatically updates the page numbers ? - I call the update() method on the index just after having called loadComponentFromURL, do I need to attach my update to an kind of event (I was wondering if the document were finished to be loaded when I do my update) I would greatly appreciate any advice on this way of doing things using uno. Thanks Stephane. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
