Thread

Posted on Fri Sep 15 16:01:34 2006 by littleslinux
any information on document layout?
During writting reports with OO, I also have interest on page layout, such as for tech report, what is the layout rules, about line height, width, page height, fonts, header, footer? I always set on view.
Direct Responses: 3041 | Write a response
Posted on Fri Sep 15 16:29:19 2006 by jmgdoc in response to 3040
Re: any information on document layout?

The definition of a page style is based on two distinct objects: "master page" and "page layout". A "master page" object encompasses any page style content (i.e. the content of headers and footers) and links to a "page layout" object which describes page presentation characteristics (with a lot of properties from page dimensions to background colour to footnote separator size, etc). The names which appear in the list of page styles in OpenOffice.org are actually names of "master pages".

The appropriate methods to create and/or update a page styles (master page and layout), are createMasterPage(), createPageLayout(), updatePageLayout(), masterPageExtension(), ..., and all the methods whose name contains "page". They are described in the OpenOffice::OODoc::Styles manual chapter.
Write a response