Hello,

There is a nasty problem with .HeaderBackColor in Writer page-templates.

When I read all PropertyValues of a page-style "A" and transfer them to 
page-style "B", the reading is done in a certain, specified by the API, order:

BorderDistance|HeaderText|GridLines|HeaderBorderDistance|TopBorder|GridPrint|FootnoteLineRelativeWidth|Width|FooterRightMargin|ShadowFormat|DisplayName|LeftBorder|BackGraphicLocation|BottomBorderDistance|FootnoteLineColor|HeaderRightMargin|*FooterIsOn*|FootnoteHeight|HeaderHeight|FootnoteLineTextDistance|FollowStyle|BottomMargin|RightBorderDistance|HeaderIsShared|GridBaseWidth|FooterTextRight|Height|PrinterPaperTray|HeaderBackGraphicFilter|RegisterParagraphStyle|GridColor|HeaderLeftBorderDistance|StandardPageMode|GridSnapToChars|FooterIsShared|HeaderRightBorder|HeaderBottomBorder|NumberingType|FooterLeftMargin|IsLandscape|*HeaderBackColor*|HeaderIsDynamicHeight|FooterBackGraphicLocation|HeaderShadowFormat|GridMode|BottomBorder|*HeaderIsOn*|TextColumns|*FooterBackColor*|FooterShadowFormat
 ...

--> Please observing the order: "FooterIsOn" before "FooterBackColor", but 
"HeaderIsOn" after "HeaderBackColor".

This has the the effect that, when in "B", the header is not turned on, the 
background color of the header of "A" is not transmitted because this can only 
be written if the header is switched on.


I think this is a deficiency in the API? What do you think?


Greetigs
Jörg


---------------------------------------------------------------------
To unsubscribe, e-mail: api-unsubscr...@openoffice.apache.org
For additional commands, e-mail: api-h...@openoffice.apache.org

Reply via email to