9.14 OpenOffice writer

<..configure html4 writer..>
 \Configure{WriterEnv}
    {%
      \ConfigureEnv{#1}
         {\ifvmode \IgnorePar\fi \EndP \HCode{<div class="#1">}}
         {\ifvmode \IgnorePar\fi \EndP \HCode{</div>}}
         {}{}%
    }
    {%
        \tmp:dim=\parindent
        \divide\tmp:dim by \ten:Em\relax
        \tmp:dim=10\tmp:dim
      \Css{div.#1 {text-indent:\expandafter\x:Em \the\tmp:dim em;}}%
        \tmp:dim=\leftskip
        \divide\tmp:dim by \ten:Em\relax
        \tmp:dim=10\tmp:dim
      \Css{div.#1 {margin-left:\expandafter\x:Em \the\tmp:dim em;}}%
        \tmp:dim=\rightskip
        \divide\tmp:dim by \ten:Em\relax
        \tmp:dim=10\tmp:dim
      \Css{div.#1 {margin-right:\expandafter\x:Em \the\tmp:dim em;}}%
      \Css{div.#1 {margin-top:0.75em;
                   margin-bottom:0.75em;
          }}%
 }
 <.10 em constant.>
-_-_-

<..10 em constant..>
 {
   \def\x:Em{%
     \catcode‘\p=12
     \catcode‘\t=12
     \gdef\x:Em}
   \x:Em#1pt{#1}
 }
 \tmp:dim=10em
 \edef\ten:Em#1.#2//{#1}
 \edef\ten:Em{\expandafter\ten:Em \the\tmp:dim//}
-_-_-