Commits

Michael Stahl  committed 202246a

rtftok01: implement some section controls

  • Participants
  • Parent commits 4f22de3

Comments (0)

Files changed (1)

File writerfilter/source/rtftok/rtfactions.xml

   <sectprops>
     <ref name="sect" action="SectionBreak()"/>
     <ref name="sectd" action="ResetSectionProperties()"/>
-    <!-- <ref name="endnhere"/> -->
-    <!-- <ref name="binfsxn"/> -->
-    <!-- <ref name="binsxn"/> -->
+    <ref name="endnhere" tokenid="sprm:SFEndnote" value="42"/>
+    <ref name="binfsxn" tokenid="sprm:SDmBinFirst"/>
+    <ref name="binsxn" tokenid="sprm:SDmBinOther"/>
     <!-- <ref name="ds"/> -->
     <!-- <ref name="pnseclvl"/> -->
-    <!-- <ref name="sectunlocked"/> -->
-    <!-- <ref name="sbknone"/> -->
-    <!-- <ref name="sbkcol"/> -->
-    <!-- <ref name="sbkpage"/> -->
-    <!-- <ref name="sbkeven"/> -->
-    <!-- <ref name="sbkodd"/> -->
-    <!-- <ref name="cols"/> -->
-    <!-- <ref name="colsx"/> -->
+    <!-- <ref name="sectunlocked" tokenid="sprm:SFProtected"/>  ??? -->
+    <ref name="sbknone" tokenid="sprm:SBkc" value="0"/>
+    <ref name="sbkcol" tokenid="sprm:SBkc" value="1"/>
+    <ref name="sbkpage" tokenid="sprm:SBkc" value="2"/>
+    <ref name="sbkeven" tokenid="sprm:SBkc" value="3"/>
+    <ref name="sbkodd" tokenid="sprm:SBkc" value="4"/>
+    <ref name="cols" tokenid="sprm:SCcolumns"/>
+    <ref name="colsx" tokenid="sprm:SDxaColumns"/>
     <!-- <ref name="colno"/> -->
-    <!-- <ref name="colsr"/> -->
-    <!-- <ref name="colw"/> -->
-    <!-- <ref name="linebetcol"/> -->
+    <ref name="colsr" tokenid="sprm:SDxaColSpacing"/>
+    <ref name="colw" tokenid="sprm:SDxaColWidth"/>
+    <ref name="linebetcol" tokenid="sprm:SLBetween" value="1"/>
     <!-- <ref name="sftntj"/> -->
     <!-- <ref name="sftnbj"/> -->
     <!-- <ref name="sftnstart"/> -->
     <!-- <ref name="saftnnzodiac"/> -->
     <!-- <ref name="saftnnzodiacd"/> -->
     <!-- <ref name="saftnnzodiacl"/> -->
-    <!-- <ref name="linemod"/> -->
-    <!-- <ref name="linex"/> -->
-    <!-- <ref name="linestarts"/> -->
+    <ref name="linemod" tokenid="sprm:SNLnnMod"/>
+    <ref name="linex" tokenid="sprm:SDxaLnn"/>
+    <ref name="linestarts" tokenid="sprm:SLnnMin"/>
     <!-- <ref name="linerestart"/> -->
-    <!-- <ref name="lineppage"/> -->
+    <ref name="lineppage" tokenid="sprm:SLnc" value="1"/>
     <!-- <ref name="linecont"/> -->
-    <!-- <ref name="pgwsxn"/> -->
-    <!-- <ref name="pghsxn"/> -->
-    <!-- <ref name="marglsxn"/> -->
-    <!-- <ref name="margrsxn"/> -->
-    <!-- <ref name="margtsxn"/> -->
-    <!-- <ref name="margbsxn"/> -->
-    <!-- <ref name="guttersxn"/> -->
-    <!-- <ref name="margmirsxn"/> -->
-    <!-- <ref name="lndscpsxn"/> -->
-    <!-- <ref name="titlepg"/> -->
-    <!-- <ref name="headery"/> -->
-    <!-- <ref name="footery"/> -->
-    <!-- <ref name="pgnstarts"/> -->
-    <!-- <ref name="pgncont"/> -->
-    <!-- <ref name="pgnrestart"/> -->
-    <!-- <ref name="pgnx"/> -->
-    <!-- <ref name="pgny"/> -->
-    <!-- <ref name="pgndec"/> -->
-    <!-- <ref name="pgnucrm"/> -->
-    <!-- <ref name="pgnlcrm"/> -->
-    <!-- <ref name="pgnucltr"/> -->
-    <!-- <ref name="pgnlcltr"/> -->
-    <!-- <ref name="pgnbidia"/> -->
-    <!-- <ref name="pgnbidib"/> -->
-    <!-- <ref name="pgnchosung"/> -->
-    <!-- <ref name="pgncnum"/> -->
-    <!-- <ref name="pgndbnum"/> -->
-    <!-- <ref name="pgndbnumd"/> -->
-    <!-- <ref name="pgndbnumt"/> -->
-    <!-- <ref name="pgndbnumk"/> -->
-    <!-- <ref name="pgndecd"/> -->
-    <!-- <ref name="pgnganada"/> -->
-    <!-- <ref name="pgngbnum"/> -->
-    <!-- <ref name="pgngbnumd"/> -->
-    <!-- <ref name="pgngbnuml"/> -->
-    <!-- <ref name="pgngbnumk"/> -->
-    <!-- <ref name="pgnzodiac"/> -->
-    <!-- <ref name="pgnzodiacd"/> -->
-    <!-- <ref name="pgnzodiacl"/> -->
-    <!-- <ref name="pgnhindia"/> -->
-    <!-- <ref name="pgnhindib"/> -->
-    <!-- <ref name="pgnhindic"/> -->
-    <!-- <ref name="pgnhindid"/> -->
-    <!-- <ref name="pgnthaia"/> -->
-    <!-- <ref name="pgnthaib"/> -->
-    <!-- <ref name="pgnthaic"/> -->
-    <!-- <ref name="pgnvieta"/> -->
-    <!-- <ref name="pgnid"/> -->
+    <ref name="pgwsxn" tokenid="sprm:SXaPage"/>
+    <ref name="pghsxn" tokenid="sprm:SYaPage"/>
+    <ref name="marglsxn" tokenid="sprm:SDxaLeft"/>
+    <ref name="margrsxn" tokenid="sprm:SDxaRight"/>
+    <ref name="margtsxn" tokenid="sprm:SDyaTop"/>
+    <ref name="margbsxn" tokenid="sprm:SDyaBottom"/>
+    <ref name="guttersxn" tokenid="sprm:SDzaGutter"/>
+    <ref name="margmirsxn" tokenid="sprm:SFBiDi" value="1"/> <!-- ??? -->
+    <ref name="lndscpsxn" tokenid="sprm:SBOrientation" value="1"/>
+    <ref name="titlepg" tokenid="sprm:SFTitlePage" value="1"/>
+    <ref name="headery" tokenid="sprm:SDyaHdrTop"/>
+    <ref name="footery" tokenid="sprm:SDyaHdrBottom"/>
+    <ref name="pgnstarts" tokenid="sprm:SPgnStart"/>
+    <ref name="pgncont" tokenid="sprm:SFAutoPgn" value="42"/> <!-- ??? -->
+    <ref name="pgnrestart" tokenid="sprm:SFPgnRestart" value="1"/>
+    <ref name="pgnx" tokenid="sprm:SDxaPgn"/>
+    <ref name="pgny" tokenid="sprm:SDyaPgn"/>
+    <ref name="pgndec"  tokenid="sprm:SNfcPgn" value="0"/>
+    <ref name="pgnucrm" tokenid="sprm:SNfcPgn" value="1"/>
+    <ref name="pgnlcrm" tokenid="sprm:SNfcPgn" value="2"/>
+    <ref name="pgnucltr" tokenid="sprm:SNfcPgn" value="3"/>
+    <ref name="pgnlcltr" tokenid="sprm:SNfcPgn" value="4"/>
+    <!-- <ref name="pgnbidia" tokenid="sprm:SNfcPgn" value="666"/> -->
+    <!-- <ref name="pgnbidib" tokenid="sprm:SNfcPgn" value="666"/> -->
+    <!-- <ref name="pgnchosung" tokenid="sprm:SNfcPgn" value="666"/> -->
+    <!-- <ref name="pgncnum" tokenid="sprm:SNfcPgn" value="666"/> -->
+    <!-- <ref name="pgndbnum" tokenid="sprm:SNfcPgn" value="666"/> -->
+    <!-- <ref name="pgndbnumd" tokenid="sprm:SNfcPgn" value="666"/> -->
+    <!-- <ref name="pgndbnumt" tokenid="sprm:SNfcPgn" value="666"/> -->
+    <!-- <ref name="pgndbnumk" tokenid="sprm:SNfcPgn" value="666"/> -->
+    <!-- <ref name="pgndecd" tokenid="sprm:SNfcPgn" value="666"/> -->
+    <!-- <ref name="pgnganada" tokenid="sprm:SNfcPgn" value="666"/> -->
+    <!-- <ref name="pgngbnum" tokenid="sprm:SNfcPgn" value="666"/> -->
+    <!-- <ref name="pgngbnumd" tokenid="sprm:SNfcPgn" value="666"/> -->
+    <!-- <ref name="pgngbnuml" tokenid="sprm:SNfcPgn" value="666"/> -->
+    <!-- <ref name="pgngbnumk" tokenid="sprm:SNfcPgn" value="666"/> -->
+    <!-- <ref name="pgnzodiac" tokenid="sprm:SNfcPgn" value="666"/> -->
+    <!-- <ref name="pgnzodiacd" tokenid="sprm:SNfcPgn" value="666"/> -->
+    <!-- <ref name="pgnzodiacl" tokenid="sprm:SNfcPgn" value="666"/> -->
+    <!-- <ref name="pgnhindia" tokenid="sprm:SNfcPgn" value="666"/> -->
+    <!-- <ref name="pgnhindib" tokenid="sprm:SNfcPgn" value="666"/> -->
+    <!-- <ref name="pgnhindic" tokenid="sprm:SNfcPgn" value="666"/> -->
+    <!-- <ref name="pgnhindid" tokenid="sprm:SNfcPgn" value="666"/> -->
+    <!-- <ref name="pgnthaia" tokenid="sprm:SNfcPgn" value="666"/> -->
+    <!-- <ref name="pgnthaib" tokenid="sprm:SNfcPgn" value="666"/> -->
+    <!-- <ref name="pgnthaic" tokenid="sprm:SNfcPgn" value="666"/> -->
+    <!-- <ref name="pgnvieta" tokenid="sprm:SNfcPgn" value="666"/> -->
+    <!-- <ref name="pgnid" tokenid="sprm:SNfcPgn" value="666"/> -->
     <!-- <ref name="pgnhn"/> -->
     <!-- <ref name="pgnhnsh"/> -->
     <!-- <ref name="pgnhnsp"/> -->
     <!-- <ref name="ltrsect"/> -->
     <!-- <ref name="horzsect"/> -->
     <!-- <ref name="vertsect"/> -->
-    <!-- <ref name="stextflow"/> -->
+    <ref name="stextflow" tokenid="sprm:STextFlow"/>
     <!-- <ref name="pgbrdrhead"/> -->
     <!-- <ref name="pgbrdrfoot"/> -->
-    <!-- <ref name="pgbrdrt"/> -->
-    <!-- <ref name="pgbrdrb"/> -->
-    <!-- <ref name="pgbrdrl"/> -->
-    <!-- <ref name="pgbrdrr"/> -->
+<!-- 
+    <ref name="pgbrdrt" tokenid="sprm:SBrcTop"/>
+    <ref name="pgbrdrb" tokenid="sprm:SBrcBottom"/>
+    <ref name="pgbrdrl" tokenid="sprm:SBrcLeft"/>
+    <ref name="pgbrdrr" tokenid="sprm:SBrcRight"/>
+        ???     how does that work??? -->
     <!-- <ref name="brdrart"/> -->
     <!-- <ref name="pgbrdropt"/> -->
     <!-- <ref name="pgbrdrsnap"/> -->
-    <!-- <ref name="sectexpand"/> -->
-    <!-- <ref name="sectlinegrid"/> -->
+    <ref name="sectexpand" tokenid="sprm:SDxtCharSpace"/><!-- ??? -->
+    <ref name="sectlinegrid" tokenid="sprm:SDyaLinePitch"/>
     <!-- <ref name="sectdefaultcl"/> -->
     <!-- <ref name="sectspecifycl"/> -->
     <!-- <ref name="sectspecifyl"/> -->