OpenDocument4all - Info and tools about OpenDocument
Tuesday, 07 October 2008
Home arrow My Blog
My Blog
CategoriesArchives
Main Menu
Home
My Blog
AODL - Project
AODC - Project
OO Development & Info
Forum
About OpenDocument ...
Search
News
Contact Us
Login Form





Lost Password?
No account yet? Register
Sourceforge.net

SourceForge.net - Goto the project homepage
Project site on SF.net

 

Demand OpenDocument

 

Countomat Webcounter und Webstatistik (Statistik & Logfileanalyse, Counter)

Lars’s Blog

First part of the Master Page Styles implementation 

February 14th, 2007

The first part of the Master Page Styles implementation is done and already checked in into the CVS repository. Now, you can set up the page properties like page orientation and the margins for the different page sides. The following code snippte will show you how to do this.

TextDocument document = new TextDocument();
document.New();
// you can modify the default Master Page Style
TextMasterPage txtMP =
document.DocumentStyles.TextMasterPageCollection.GetDefaultMasterPage();
// or you can query for other existing Master Page Styles
// e.g. document.DocumentStyles.TextMasterPageCollection.GetByStyleName(string styleName);
txtMP.TextPageLayout.MarginLeft = “6cm”;
txtMP.TextPageLayout.MarginRight = “6cm”;
txtMP.TextPageLayout.PageOrientation = “landscape”;
….

You can also access the page footer and header, but this part isn’t completed and full usable, up to now. Now, I will work on at this part to make it full usable as soon as possible. At least, I’ve also checked in the first attempt for image and table conversation for the PDF Exporter.

3 Responses to “First part of the Master Page Styles implementation” You can follow any responses to this entry through the RSS 2.0 feed.

  1. Darius Damalakas Says:

    Lars, Sorry for posting here:

    How to get my user name and password?
    I forgot both of them, but i know my email.

    When i try to register again, it sais the email is registered already and asks to click on “forgot password”.
    but when i click on it , it says enter your user name.
    Very confusing system, please help.

  2. Darius Damalakas Says:

    Your rss entries is not working
    Parse error: syntax error, unexpected ‘;’ in /is/htdocs/wp1032780_E0UPBZI5RV/www/components/com_jd-wp/wp-rss2.php on line 50

  3. admin Says:

    Hi Darius, you should recieve a email regarding to you account question …

    Regards
    Lars



Quick jump
Download area
Who's Online
Polls
Should AODL and AODC also implement export as PDF and RTF?
 
Popular
© 2005 MamboZ. All rights reserved.