OOXML Issues

From Apache OpenOffice Wiki
Revision as of 09:41, 19 July 2007 by Flr (Talk | contribs)

Jump to: navigation, search

Section break properties allowed in style?

Since sections breaks are paragraph properties the question is whether a sections break can really be applied using a style? In other words are the following style definitions valid?

<w:style w:type="paragraph" w:customStyle="1" w:styleId="MyStyle">
  <w:name w:val="MyStyle" /> 
  <w:basedOn w:val="Normal" /> 
  <w:pPr>
    <w:sectPr>
      <w:pgSz w:w="12240" w:h="15840" /> 
      <w:pgMar w:top="1417" w:right="1417" w:bottom="1134" w:left="1417" w:header="708" w:footer="708" w:gutter="0" /> 
      <w:cols w:space="708" /> 
      <w:docGrid w:linePitch="360" /> 
    </w:sectPr>
  </w:pPr>
</w:style>

The answer discussed in the TC was "no" --- section break properties should not appear in styles. So the schema needs to be fixed here.

Personal tools