Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The following section describes how to style document body content using styles found on the Body tab of the eXtyles style palette.




Panel
bgColor#b5b8bc

Back to Style Guide



Headings (Head 1- Head 6)

The following Word sample shows the use of the Head1 paragraph style (Heading 1 on the eXtyles style palette).

Panel
borderColor#b5b8bc
borderStylesolid

During XML export, the Head1 style will be tagged as <title> within <title-group> at the start of a new <section>; for example,

Code Block
languagexml
<section snum="I" secnum="2.1">
<title-group>I&#x00A0;<title>Introduction</title> [&#x00A7;&#x00A0;<number>2.1</number>]</title-group>

Notice that the snum and secnum attributes are automatically populated from the Word content (i.e., the heading number I and the section number 2.1).

Tip

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 snum attribute 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,

Panel

Produces the following XML:

Code Block
languagexml
<section snum="II" secnum="2.2">
<title-group>II&#x00A0;<title>Appellate Jurisdiction</title> [&#x00A7;&#x00A0;<number>2.2</number>]</title-group>
<section snum="A" secnum="2.3">
<title-group>A&#x00A0;<subtitle>In General</subtitle> [&#x00A7;&#x00A0;<number>2.3</number>]</title-group>

Note that the <section>s are properly nested.

Note
titleAuto-Numbering and Headings

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.



Panel
titleOn This Page

Table of Contents


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,

Panel

Image Added

Text styled in this way will produce the following XML:

Code Block
languagexml
<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 StyleXMLDescription
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.