On Wed, 23 May 2001, Hubert Figuiere wrote:

> According to Martin Sevior <[EMAIL PROTECTED]>:
> > 
> > However since we're in a focussed mode, do you think you could work on
> > import/export of styles to RTF? Right now cutting and pasting a section
> > text in AbiWord loses the style information on the paste. 
> 
> 
> Sure. This is in the plan as well as header / footer support.
> There are two bugs open for these.
> BTW, I can't find doc on how to make header / footer: 
> as I understand, I should add a strux if type PTX_SectionHdrFtr, 
> but I don't know what I should pass as attribute.
> 

You have to supply attributes to the section strux associated with the
header/footer
 
<section header="12378232" footer="2367673">

ie This section has both a header and a footer.

Where the numbers are random identifiers to identify the header and footer
struxes.


The header strux for this has the attributes..

<section id="12378232" type="header">
text here
</section>


The footer strux for this has the attributes..

<section id="2367673" type="header">
text here
</section>

Create some docs with header/footers and look at the *.abw files.

Cheers

Martin



Reply via email to