1.8.4 amsart

<..basic ams ooffice sections..>
 \ConfigureMark{section}
    {\ifnum \c:secnumdepth>\c@secnumdepth \expandafter\:gobble
     \else  \@seccntformat{section}\fi }
 \Configure{section}
    {\IgnorePar\EndP \HCode{<!--start of section-->}}
    {\IgnorePar\EndP \HCode{<!--end of section-->}}
    {\HCode{<text:h
            text:style-name="\csname a:Heading-2<.cond rtl class.>\endcsname"
                    \text:outlinelevel="2" ><text:span
                    text:style-name="section" >}\TitleMark\space
     \HCode{</text:span>}\IgnoreIndent}
    {\HCode{</text:h>\Hnewline}\par\ShowPar}
-_-_-

<..basic ams ooffice sections..>+
 \ConfigureMark{subsection}
    {\ifnum \c:secnumdepth>\c@secnumdepth  \expandafter\:gobble
     \else \@seccntformat{subsection}\fi }
 \Configure{subsection}
    {\IgnorePar\EndP \HCode{<!--start of subsection-->}}
    {\IgnorePar\EndP \HCode{<!--end of subsection-->}}
    {\HCode{<text:h
            text:style-name="\csname a:Heading-3<.cond rtl class.>\endcsname"
                    \text:outlinelevel="3"   ><text:span
                    text:style-name="subsection"  >}\TitleMark\space
     \HCode{</text:span>}\IgnoreIndent}
    {\HCode{</text:h>\Hnewline}\par\ShowPar}
-_-_-

<..basic ams ooffice sections..>+
 \ConfigureMark{subsubsection}
    {\ifnum \c:secnumdepth>\c@secnumdepth  \expandafter\:gobble
     \else \@seccntformat{subsubsection}\fi }
 \Configure{subsubsection}
    {\IgnorePar\EndP \HCode{<!--start of subsubsection-->}}
    {\IgnorePar\EndP \HCode{<!--end of subsubsection-->}}
    {\HCode{<text:h
            text:style-name="\csname a:Heading-4<.cond rtl class.>\endcsname"
                    \text:outlinelevel="4"   ><text:span
                    text:style-name="subsubsection"  >}\TitleMark\space
     \HCode{</text:span>}\IgnoreIndent}
    {\HCode{</text:h>\Hnewline}\par\ShowPar}
-_-_-

<..basic ams ooffice sections..>+
 \Configure{paragraph}
    {\IgnorePar\EndP \HCode{<!--start of paragraph-->}}
    {\IgnorePar\EndP \HCode{<!--end of paragraph-->}}
    {\HCode{<text:h
            text:style-name="\csname a:Heading-5<.cond rtl class.>\endcsname"
                    \text:outlinelevel="5"  >}}
    {\HCode{</text:h>\Hnewline}\par\ShowPar}
 \Configure{subparagraph}
    {\IgnorePar\EndP \HCode{<!--start of subparagraph-->}}
    {\IgnorePar\EndP \HCode{<!--end of subparagraph-->}}
    {\HCode{<text:h
            text:style-name="\csname a:Heading-6<.cond rtl class.>\endcsname"
                    \text:outlinelevel="6"  >}}
    {\HCode{</text:h>\Hnewline}\par\ShowPar}
-_-_-