Andrew Pitonyak,

I don't  understand styles well enough yet. Have you some example code? I
have been working with OpenOffice API for three months.




Andrew Douglas Pitonyak wrote:
> 
> 
> aloizio wrote:
>> How can I insert a header that appear only in the first page of the
>> document?
>> I am using OpenOffice API, Java.
>>   
> You need to use a different page style for the first page and a 
> different page style for the rest.
> You then enable the special header only in the "first page" page style. 
> Do you understand styles well enough to implement this in styles to 
> perform manually? After you do, then it is pretty easy to implement 
> using the API by setting the page style on the first page. (but the 
> first page style should set the "next style" to your standard page style.)
> 
> -- 
> Andrew Pitonyak
> My Macro Document: http://www.pitonyak.org/AndrewMacro.odt
> My Book: http://www.hentzenwerke.com/catalog/oome.htm
> Info:  http://www.pitonyak.org/oo.php
> See Also: http://documentation.openoffice.org/HOW_TO/index.html
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/How-can-I-insert-a-header-only-in-the-first-page-tf2570760.html#a7197645
Sent from the openoffice - api dev mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to