Notice that the snumand secnumattributes are automatically populated from the Word content (i.e., the heading number I and the section number 2.1).
eXtyles will populate the snum and secnum values so long as they are present in the Word document. If a heading in the Word document is not numbered, the snumattribute in the XML will be empty (same for the section number/secnum).
This behavior is the same for all styles Heading 1 through 6. For example,
The Head 1-Head 6 Word paragraph styles do not have auto-number formatting. The BB Head 1-BB Head 6 Word paragraph styles are auto-number formatted.
On This Page
Body Text Paragraphs
WisBar has several body text paragraph styles that achieve different markup in the XML depending on the content requirements.
Standard Body Paragraphs
Normal body text paragraphs can be styled with the Paragraph (Para) style from the eXtyles style palette; for example,
Text styled in this way will produce the following XML:
<para type="flush">Federal policy strongly discourages piecemeal appeals ... even though those judgments are appealable in Wisconsin state courts)...</para>
Other paragraph type attributes can be achieved in the XML by using different paragraph styles in the Word document. For example,
Paragraph Style
XML
Description
Last Paragraph
<para style="last-para" type="flush">
Use to style regular body text paragraphs that are the final paragraph in a section.
Paragraph (No Tab)
<para type="outdent">
Use to style body text paragraphs for which the "outdent" attribute is desired.
Last Paragraph (No Tab)
<para type="outdent" style="last-para">
Use to style body text paragraphs that are the final paragraph in a section, and for which the "outdent" attribute is desired.
Paragraph (Center)
<para type="center">
Use to style body text paragraphs for which the "center" attribute is desired.
Labeled Paragraphs
Labeled body text paragraphs can be styled with the Paragraph I, A, and so on, styles from the eXtyles style palette.
Paragraph Style
XML
Paragraph I
<para type="ParaI">
Paragraph A
<para type="ParaA">
Paragraph 1
<para type="Para1">
Paragraph a
<para type="Para_a">
Paragraph (1)
<para type="Para_1">
Paragraph (a)
<para type="Para_a2">
The styles are named on the Body tab of the style palette to correspond with the label that is expected to be used in the Word document. For example, the following Word sample,
Produces this XML:
<section snum="I" secnum="28.1">
<title-group>I <title>INTRODUCTION</title> [§ <number>28.1</number>]</title-group>
<section snum="A" secnum="28.2">
<title-group>A <subtitle>In General</subtitle> [§ <number>28.2</number>]</title-group>
<para type="Para1">1. Legal protection of trademarks ... </para>
<para type="Para1">2. Federal statutes and rules</para>
<para type="Para_a">a. Trademark (Lanham) Act of 1946, ...</para>
Quote Paragraphs
The eXtyles style palette includes several options for styling quoted material. Specific attributes in the XML can be generated when the following styles are used.
Paragraph Style
XML
Description
Quote
<quote> <para type="flush">
When this style is used for a single quote paragraph, the style="last-para" attribute is automatically added to <para>.
Quote 2
<quote style="quote2"> <para type="flush">
When this style is used for a single quote paragraph, the style="last-para" attribute is automatically added to <para>.
Quote (Last)
<para type="flush" style="last-para">
When this style is used, the style="last-para" is always present in the XML.
For example, the following Word sample:
Produces this XML:
<para type="flush">The Wisconsin Committee Comment to SCR 20:1.5 provides no guidance on this issue ...:</para>
<quote>
<para style="last-para" type="flush">[7] A division of fee is a single billing to a client covering the fee of two or more lawyers who are not in the same firm .... </para>
</quote>
No labels
0 Comments
You are not logged in. Any changes you make will be marked as anonymous. You may want to Log In if you already have an account.
0 Comments