\expandafter\ifx \csname if@rl\endcsname\relax
\expandafter \csname newif\expandafter\endcsname \csname if@rl\endcsname
\@rlfalse
\fi
\HTML:PAR{\ifHCond Like-\fi Text-body<.cond rtl class.>}%
{\ifdim \parindent=\z@ Text-body\else
First-line-indent\fi <.cond rtl class.>} -_-_-
\def\HTML:PAR#1#2{%
\Configure{HtmlPar}%
{\EndP\HCode{<.input line num.><text:p text:style-name="#1">}}%
{\EndP\HCode{<.input line num.><text:p text:style-name="#2">}}%
{\HCode{</text:p>\Hnewline}}%
{\HCode{</text:p>\Hnewline}}} -_-_-
<!--l. \the\inputlineno-->%
-_-_-
It seems that the auto-text-indent="true" setting does not export to rtf or ms
word doc successfully from OOo at present. The style p-indent thus displays
as non-indented when the file is exported from Ooo. Hence, it is replaced
with
fo:text-indent="0.4cm"
style:auto-text-indent="false"
\NewConfigureOO{p-indent}
\ConfigureOO{p-indent}{%
<style:style style:name="First-line-indent"
style:family="paragraph"
style:parent-style-name="Text-body"
style:class="text">\Hnewline
<style:paragraph-properties fo:margin-left="0cm"
fo:margin-right="0cm"
fo:text-indent="0.499cm"
style:auto-text-indent="false"/>
</style:style>\Hnewline <.First-line-indent rtl.> } -_-_-
\NewConfigureOO{p-noindent}
\ConfigureOO{p-noindent}{%
<style:style style:name="Text-body"
style:family="paragraph"
style:parent-style-name="Standard"
style:next-style-name="First-line-indent"
style:class="text"
style:master-page-name="">\Hnewline
<style:paragraph-properties fo:margin-top="0cm"
fo:margin-bottom="0cm"
fo:line-height="120\%"
fo:text-align="justify"
style:justify-single-word="false"
fo:hyphenate="true"
fo:hyphenation-remain-char-count="2"
fo:hyphenation-push-char-count="2"
fo:hyphenation-ladder-count="no-limit"
style:page-number="0"/>
</style:style>
\Hnewline
<style:style style:name="Like-Text-body"
style:family="paragraph"
style:parent-style-name="Standard"
style:next-style-name="First-line-indent"
style:class="text"
style:master-page-name="">\Hnewline
<style:paragraph-properties fo:margin-top="0cm"
fo:margin-bottom="0cm"
fo:line-height="120\%"
fo:text-align="justify"
style:justify-single-word="false"
fo:hyphenate="true"
fo:hyphenation-remain-char-count="2"
fo:hyphenation-push-char-count="2"
fo:hyphenation-ladder-count="no-limit"
style:page-number="0"/>
</style:style>
\Hnewline <.Text-body rtl.>} -_-_-
\NewConfigureOO{p-nopar}
\ConfigureOO{p-nopar}
{<style:style style:name="p-nopar"
style:family="paragraph"
style:parent-style-name="Text-body">\Hnewline
<style:paragraph-properties
fo:text-align="justify"
style:auto-text-indent="false"
fo:margin-top="0.3cm"
fo:margin-bottom="0.3cm"
style:justify-single-word="false"/>\Hnewline
</style:style>\Hnewline <.p-nopar rtl.> } -_-_-