2.5 Foils

<..configure ooffice foils..>
 \Configure{foilhead}
    {\IgnorePar\EndP \HCode{<!--start of foilhead-->}}
    {\IgnorePar\EndP \HCode{<!--end of foilhead-->}}
    {\HCode{<text:h text:style-name="foilhead<.cond rtl class.>"
                    \text:outlinelevel="3"   >}%
     \IgnoreIndent}
    {\HCode{</text:h>\Hnewline}\par\ShowPar}
-_-_-

<..configure ooffice foils..>+
 \NewConfigureOO{foilhead}
 \ConfigureOO{foilhead}{\Hnewline
 <style:style style:name="foilhead"
                   style:family="paragraph"
                   style:parent-style-name="Heading"
                   style:next-style-name="Text-body"
                   style:class="text">\Hnewline
 <style:paragraph-properties  fo:font-size="12pt"
                   fo:font-weight="bold"
                   style:font-size-asian="14pt"
                   style:font-weight-asian="bold"
                   style:font-size-complex="14pt"
                   style:font-weight-complex="bold"
                   fo:margin-top="0.42cm"
                   fo:margin-bottom="0.51cm"
                   fo:text-align="center"
                   style:justify-single-word="false"
 />
 </style:style>
 }
-_-_-

<..configure ooffice foils..>+
 \Configure{thank}
    {\setbox\tmp:bx=\hbox\bgroup}
    {\egroup}
    {\NoFonts   \leavevmode   \bgroup \protect\Configure{$}{}{}{}%
     \hbox{\HCode{<text:note\Hnewline text:note-class="footnote"
                   text:id="}<.thank id.>%
                \HCode{"><text:note-citation>}}%
    }
    {\egroup \EndNoFonts
     \HCode{</text:note-citation><text:note-body>
     <text:p\Hnewline text:style-name="Footnote" ><text:s/>}}
    {\HCode{</text:p></text:note-body></text:note>}}
-_-_-

<..configure ooffice foils..>+
 \def\:temp#1{{\stepcounter{footnote}%
    \a:thank\@fnsymbol\c@footnote\b:thank
    \a:thanks
       \c:thank \@fnsymbol\c@footnote\d:thank #1\e:thank
    \b:thanks
 }}
 \HLet\thanks\:temp
-_-_-

<..configure ooffice foils..>+
 \Configure{maketitle}
    {\bgroup
        \Configure{newpage}{}%
        \HCode{<!--begin maketitle-->}
        \Configure{tabular}{}{}{}{}{\ifnum \HRow>1
                \HCode{<text:line-break\Hnewline/>}\fi}{}%
        \ConfigureEnv{tabular}{}{}{}{}%
    }
    {\HCode{<!--end maketitle-->}\egroup \par}
    {\ifvmode \IgnorePar\fi \EndP
     \HCode{<text:p text:style-name="Title<.cond rtl class.>" >}}
    {\HCode{</text:p>}}
 \OOstyles{%
    <style:style style:name="maketitle-tabular"
                 style:family="table">\Hnewline
    <\style:tableproperties
                   fo:margin-top="0.42cm"
                   fo:margin-bottom="0.51cm"
                   fo:font-size="20pt"
                   fo:font-weight="normal"
                   fo:text-align="center"
                   style:justify-single-word="false"
        table:align="margins"/>\Hnewline
    </style:style>\Hnewline
 }
 \NewConfigureOO{title}
 \ConfigureOO{title}{%
 <style:style style:name="Title"
              style:family="paragraph"
              style:parent-style-name="Heading"
              style:next-style-name="author"
              style:class="chapter">\Hnewline
 <style:paragraph-properties  fo:margin-top="0.42cm"
                   fo:margin-bottom="0.51cm"
                   fo:font-size="20pt"
                   fo:font-weight="normal"
                   style:font-size-asian="18pt"
                   style:font-weight-asian="bold"
                   style:font-size-complex="18pt"
                   style:font-weight-complex="bold"
                   fo:text-align="center"
                   style:justify-single-word="false"/>
 </style:style> \Hnewline <style:style style:name="Title-rtl"
              style:family="paragraph"
              style:parent-style-name="Heading-rtl"
              style:next-style-name="author-rtl"
              style:class="chapter">\Hnewline
 <style:paragraph-properties  fo:margin-top="0.42cm"
                   fo:margin-bottom="0.51cm"
                   fo:font-size="20pt"
                   fo:font-weight="normal"
                   style:font-size-asian="18pt"
                   style:font-weight-asian="bold"
                   style:font-size-complex="18pt"
                   style:font-weight-complex="bold"
                   fo:text-align="center"
                   style:justify-single-word="false"
                   style:writing-mode="rl-tb" />
 </style:style> \Hnewline
  }
-_-_-

<..configure ooffice foils..>+
 \Configure{author date}
    {\ifvmode \IgnorePar\fi \EndP
     \HCode{<text:p text:style-name="author<.cond rtl class.>">}}
    {\HCode{</text:p>}}
    {\ifvmode \IgnorePar\fi \EndP
     \HCode{<text:p text:style-name="date<.cond rtl class.>">}}
    {\HCode{</text:p>}}
 \NewConfigureOO{author}
 \ConfigureOO{author}{%
 <style:style      style:name="author"
                   style:family="paragraph"
                   style:parent-style-name="Text-body"
                   style:next-style-name="date">\Hnewline
 <style:paragraph-properties  fo:margin-top="0cm"
                   fo:margin-bottom="0.2cm"
                   fo:font-size="14pt"
                   fo:text-align="center"
                   style:justify-single-word="false"/>
 </style:style>\Hnewline <style:style      style:name="author-rtl"
                   style:family="paragraph"
                   style:parent-style-name="Text-body-rtl"
                   style:next-style-name="date-rtl">\Hnewline
 <style:paragraph-properties  fo:margin-top="0cm"
                   fo:margin-bottom="0.2cm"
                   fo:font-size="14pt"
                   fo:text-align="center"
                   style:justify-single-word="false"
                   style:writing-mode="rl-tb" />
 </style:style>\Hnewline
 }
 \NewConfigureOO{date}
 \ConfigureOO{date}{%
 <style:style style:name="date"
                   style:family="paragraph"
                   style:parent-style-name="Text-body"
                   style:next-style-name="Text-body">\Hnewline
 <style:paragraph-properties  fo:margin-top="0.6cm"
                   fo:margin-bottom="0.2cm"
                   fo:font-size="14pt"
                   fo:text-align="center"
                   style:justify-single-word="false"/>
 </style:style>\Hnewline <style:style style:name="date-rtl"
                   style:family="paragraph"
                   style:parent-style-name="Text-body"
                   style:next-style-name="Text-body">\Hnewline
 <style:paragraph-properties  fo:margin-top="0cm"
                   fo:margin-bottom="0.199cm"
                   fo:font-size="14pt"
                   fo:text-align="center"
                   style:justify-single-word="false"
                   style:writing-mode="rl-tb" />
 </style:style>\Hnewline
 }
-_-_-