<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE document PUBLIC "-//CNX//DTD CNXML 0.5 plus MathML//EN" "http://cnx.rice.edu/cnxml/0.5/DTD/cnxml_mathml.dtd">
<document xmlns="http://cnx.rice.edu/cnxml" xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/" id="id9433010">
  <name>Be Careful Applying Para-typed Style in WordImport Template</name>
  <metadata>
  <md:version>1.2</md:version>
  <md:created>2008/07/31 12:06:47 GMT-5</md:created>
  <md:revised>2008/07/31 14:15:22.181 GMT-5</md:revised>
  <md:authorlist>
      <md:author id="ch8">
      <md:firstname>Chinwei</md:firstname>
      <md:othername>Vic</md:othername>
      <md:surname>Hu</md:surname>
      <md:email>chinwei.hu@gmail.com</md:email>
    </md:author>
  </md:authorlist>

  <md:maintainerlist>
    <md:maintainer id="ch8">
      <md:firstname>Chinwei</md:firstname>
      <md:othername>Vic</md:othername>
      <md:surname>Hu</md:surname>
      <md:email>chinwei.hu@gmail.com</md:email>
    </md:maintainer>
  </md:maintainerlist>
  
  

  <md:abstract/>
</metadata>
  <content>
    <section id="id-835110599654">
      <name>Be Careful</name>
<para id="p1">If you highlight a segment partially from a paragraph</para>
      <figure id="id9074521">
        <media type="image/png" src="graphics1.png">
          <param name="height" value="287"/>
          <param name="width" value="736"/>
        </media>
      </figure>
<para id="p2">And apply a "Paragraph-typed" style like "CNXML Code (Block)" as shown.
   It'd look as expected;<note type="Warning"> however, the OOo live server doesn't think so, in fact,
it'd turn into a different "Character-typed" style named "CNXML Code (Block) <emphasis>Char</emphasis>"</note>, which would be ignored by our oo2cnxml transformation </para>


        <figure id="id8494754">
          <media type="image/png" src="graphics2.png">
            <param name="height" value="376"/>
            <param name="width" value="1087"/>
          </media>
        </figure>

<para id="p3">To make it simple, we can just put the cursor in the target paragraph <emphasis> DO
NOT HIGHLIGHT ANYTHING </emphasis> with it blinking prettily like this: </para>

        <figure id="id9544903">
          <media type="image/png" src="graphics3.png">
            <param name="height" value="85"/>
            <param name="width" value="341"/>
          </media>
       </figure>


<para id="p4">Click the Paragraph-type style you want, say, "CNXML Code (Block)", and you'd get the
entire paragraph applied to that style without annoying "Char". Isn't it lovely?</para>

        <figure id="id9002464">
          <media type="image/png" src="graphics4.png">
            <param name="height" value="99"/>
            <param name="width" value="461"/>
          </media>
        </figure>


<para id="p5">Now let's perform an experiment to see what happens when you
partially highlight something within a paragraph and apply the paragraph-typed style to it---</para>

        <figure id="id7413104">
          <media type="image/png" src="graphics5.png">
            <param name="height" value="82"/>
            <param name="width" value="329"/>
          </media>
        </figure>


<para id="p6"> See? It now becomes ANOTHER style (para-typed styles cannot be nested among each others), which could be even nested
inside another para-typed style.</para>

        <figure id="id7409603">
          <media type="image/png" src="graphics6.png">
            <param name="height" value="495"/>
            <param name="width" value="900"/>
          </media>
        </figure>
    </section>
  </content>
</document>
