filters
- filters
- kword
- wordperfect
- import
30#include "FilterInternal.h"
31#include "SectionStyle.h"
32#include "DocumentElement.h"
40SectionStyle::SectionStyle( const _SH_PropertyList &xPropList,
41 const _SH_PropertyListVector &xColumns,
49void SectionStyle::write(DocumentHandler &xHandler) const
51 TagOpenElement styleOpen( "style:style");
52 styleOpen.addAttribute( "style:name", getName());
53 styleOpen.addAttribute( "style:family", "section");
54 styleOpen.write(xHandler);
57 if (mColumns.count() > 1)
60 xHandler.startElement( "style:properties", mPropList);
63 _SH_PropertyList columnProps;
64 columnProps.insert( "fo:column-count", ( int)mColumns.count());
65 xHandler.startElement( "style:columns", columnProps);
67 _SH_PropertyListVector::Iter i(mColumns);
68 for (i.rewind(); i.next();)
70 xHandler.startElement( "style:column", i());
71 xHandler.endElement( "style:column");
74 xHandler.endElement( "style:columns");
75 xHandler.endElement( "style:properties");
78 xHandler.endElement( "style:style");
|