and the simply insert the text with specified text style.
The question would be this: how to add this kind of automatic style in the best way?
Post edited by: DarkCloud, at: 2007/07/05 15:41
The administrator has disabled public write access.
Re:Page Break
Date: 2007/07/05 15:40
By: Darius Damalakas
Status: User
Karma: 0  
Senior Boarder
Posts: 19
Okay, the solution is simply to create a new style and BreakBefore property Simple as this.
However, the problem is that i frankly can not understand where is the code of the AODL? is it in the cvs repository, or in the svn?
Code to create and add new style
Code:
ParagraphStyle pstyle = new AODL.Document.Styles.ParagraphStyle(table.Document, "P1");
pstyle.ParagraphProperties.BreakBefore = "page";
table.Document.Styles.Add(pstyle);
The administrator has disabled public write access.
Re:Page Break
Date: 2007/12/30 06:42
By: lindesbs
Status: User
Karma: 0  
Fresh Boarder
Posts: 3
hm, i´ve tried your code, but no result here. I´m using aodl 1.3.0.0 and 1.2.0.1
Any hints ?
Post edited by: lindesbs, at: 2007/12/30 06:47
The administrator has disabled public write access.
Re:Page Break
Date: 2007/12/30 17:54
By: Darius Damalakas
Status: User
Karma: 0  
Senior Boarder
Posts: 19
I am in need of this functionality too, but i've not used page break before. I'll try to look into this next week
The administrator has disabled public write access.
Re:Page Break
Date: 2008/07/17 23:41
By: Bitnapper
Status: User
Karma: 0  
Fresh Boarder
Posts: 3
Darius wrote: Okay, the solution is simply to create a new style and BreakBefore property But this way you alter the style or have to create a new style. I would prefer to alter the paragraph properties without altering the style (like in Open Office). Is that possible with AODL?
Best regards,
Bitnapper
The administrator has disabled public write access.