Difference between revisions of "OOXML Issues"

From Apache OpenOffice Wiki
Jump to: navigation, search
 
(Section break properties allowed in style?)
Line 1: Line 1:
 
== Section break properties allowed in style? ==
 
== 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?  
+
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?
  
 
<pre>
 
<pre>
Line 18: Line 18:
 
</pre>
 
</pre>
  
The answer discussed in the TC was "no" --- section break properties should not appear in styles.
+
The answer discussed in the TC was "no" --- section break properties should not appear in styles. So the schema needs to be fixed here.

Revision as of 09:41, 19 July 2007

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