Calculate the PageYPos

Previous topic - Next topic

mehlior

Hello,

I'm writing a PHP based Scribus Template Engine. I can put placeholder on a page and automatically create copies of that pape, on which the placeholders are replaced by content of a database. When I use it on a normal document, it works fine. But when I use it on a book-document, the calculating of the PageYPos by the Page-Tag fails.

I have tried many combinations from http://wiki.scribus.net/wiki/index.php?title=File_Format_Specification_for_Scribus_1.4. But no one worked for me. So how can I calculate the PageYPos, when I just can use the XML-Content of a scribus file?

Other features like automatically assign a sytle are working fine. Thanks for your help!