OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

office message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [office] Use case query regarding numbered paragraphs


On Friday 09 March 2007 19:10, marbux wrote:
> One fairly common use case for numbered paragraphs is that they be
> interspersed by non-numbered paragraphs. For example, state courts in
> Oregon expect paragraphs in formal legal pleadings to be formatted as
> follows:
[]
> My question is whether there is anything about the current paragraph
> numbering scheme that is inconsistent with that use case.

Hi Marbux.
Yes, you got a prime example of what numbered-paragraph was initially 
introduced for.
KOffice has been storing its list info in ODF using the numbered paragraphs 
since version 1.4 and I attached an ODF file that does exactly what you want 
it to do.

When I open the document in OpenOffice 2.0.4 I note that it unfortunately does 
not yet support these tags; so you'll have to open it in kword to see the 
desired effect.

I'll attach the content.xml separately for you to look at :-)
-- 
Thomas Zander
<?xml version="1.0" encoding="UTF-8"?>
<office:document-content xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0" xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0" xmlns:config="urn:oasis:names:tc:opendocument:xmlns:config:1.0" xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0" xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0" xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0" xmlns:presentation="urn:oasis:names:tc:opendocument:xmlns:presentation:1.0" xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0" xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0" xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0" xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0" xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0" xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0" xmlns:math="http://www.w3.org/1998/Math/MathML"; xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0" xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0" xmlns:koffice="http://www.koffice.org/2005/"; xmlns:dc="http://purl.org/dc/elements/1.1/"; xmlns:xlink="http://www.w3.org/1999/xlink";>
 <office:font-face-decls>
  <style:font-face style:name="Arial" svg:font-family="Arial"/>
 </office:font-face-decls>
 <office:automatic-styles>
  <style:style style:name="P1" style:parent-style-name="new1" style:family="paragraph" style:master-page-name="Standard">
   <style:paragraph-properties style:page-number="1" style:writing-mode="lr-tb"/>
   <style:text-properties/>
  </style:style>
  <style:style style:name="P2" style:parent-style-name="Standard" style:family="paragraph">
   <style:paragraph-properties style:writing-mode="lr-tb"/>
   <style:text-properties/>
  </style:style>
  <style:style style:name="P3" style:parent-style-name="new1" style:family="paragraph">
   <style:paragraph-properties style:writing-mode="lr-tb"/>
   <style:text-properties/>
  </style:style>
  <text:list-style style:name="L2">
   <text:list-level-style-number text:level="1" text:display-levels="1" style:num-format="1" style:num-prefix="" style:num-suffix=".">
    <style:list-level-properties fo:text-align="start"/>
   </text:list-level-style-number>
  </text:list-style>
 </office:automatic-styles>
 <office:body>
  <office:text>
   <text:numbered-paragraph text:level="1" text:style-name="L2">
    <text:number>1.</text:number>
    <text:p text:style-name="P1"/>
   </text:numbered-paragraph>
   <text:p text:style-name="P2">Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim<?opendocument cursor-position?></text:p>
   <text:numbered-paragraph text:level="1" text:style-name="L2">
    <text:number>2.</text:number>
    <text:p text:style-name="P3"/>
   </text:numbered-paragraph>
   <text:p text:style-name="P2">Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat</text:p>
   <text:p text:style-name="P2">nulla facilisis at vero</text:p>
   <text:p text:style-name="P2">eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.</text:p>
   <text:numbered-paragraph text:level="1" text:style-name="L2">
    <text:number>3.</text:number>
    <text:p text:style-name="P3"/>
   </text:numbered-paragraph>
   <text:p text:style-name="P2">Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzr</text:p>
  </office:text>
 </office:body>
</office:document-content>

numbering-example.odt

PGP signature



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]