Thanks for this info Cor. Now I can change the page size of all pages... in the first Section. How to adapt this change to all sections in the document ? I don't know how to link PageStyles to specific sections.
Thank you for your precious help, Laurent > Dear Laurent, > > Crivello, Laurent wrote (29-4-2009 10:53) > > > I am currently trying to change the page size of every page in my writer > > document, to a single size. > > However my code only changes it for the first page. How to apply it to the > > whole document ? > > There is nothing wrong with your code. > It changes the properties of one page style. > Have a look at how Writer works with page styles. See the Help for that. > After that you understand you have to change the settings of all page > styles used in the document. > > Kindest regards, > Cor
