Style Element

Author-it XML

Platform_KC
On Premises

Description

Style - Icon
A style object represents the formatting and layout of characters or paragraphs within the text of a topic object in the Author-it editing environment. All text within a topic object must be tagged with a style object. This way your content will have a consistent and manageable look and feel.

The style object also contains a link to a style in a Microsoft Word template for the printed documentation, a definition for how the same style will be represented in the Windows Help, and a definition for a cascading style sheet (CSS) style in HTML.

Note: In Author-it, you can update properties on all style objects, however there is a small group of style objects that need to retain their original Style object names on the General tab as they are referenced during the publishing process.

The Style element represents an Author-it Style object, and contains all of its properties.

Attributes

Attribute Name

Optional

Data Type

Values

wordcount

Yes

Integer

>= 0

Parent Element

Objects

Children

Element

Optional

Object

No

BorderBottom

Yes

BorderLeft

Yes

BorderRight

Yes

BorderStyle

Yes

BorderShadow

Yes

BorderTop

Yes

Bullet

Yes

FontBold

Yes

FontColour

Yes

FontItalics

Yes

FontName

Yes

FontSize

Yes

FontUnderline

Yes

FontSubscript

Yes

FontSuperscript

Yes

Number

Yes

Numbering

Yes

NumberStart

Yes

OutlineLevel

Yes

ParaAfter

Yes

ParaAlignment

Yes

ParaBefore

Yes

ParaFirstLine

Yes

ParaLeft

Yes

ParaLineSpacing

Yes

ParaRight

Yes

StyleName

Yes

StyleType

Yes

TabDefault

Yes

Tabs

No

PrintStyleName

Yes

HelpBorderBottom

Yes

HelpBorderLeft

Yes

HelpBorderRight

Yes

HelpBorderShadow

Yes

HelpBorderStyle

Yes

HelpBorderTop

Yes

HelpBullet

Yes

HelpFontBold

Yes

HelpFontColour

Yes

HelpFontItalics

Yes

HelpFontName

Yes

HelpFontSize

Yes

HelpNonWrapping

Yes

HelpNumber

Yes

HelpNumbering

Yes

HelpNumberStart

Yes

HelpParaAfter

Yes

HelpParaAlignment

Yes

HelpParaBefore

Yes

HelpParaFirstLine

Yes

HelpParaLeft

Yes

HelpParaLineSpacing

Yes

HelpParaRight

Yes

HelpTabDefault

Yes

HelpTabs

No

WebBackAttach

Yes

WebBackColour

Yes

WebBackPositionX

Yes

WebBackPositionY

Yes

WebBackRepeat

Yes

WebBackURL

Yes

WebBorderColourBottom

Yes

WebBorderColourLeft

Yes

WebBorderColourRight

Yes

WebBorderColourTop

Yes

WebBorderStyleBottom

Yes

WebBorderStyleLeft

Yes

WebBorderStyleRight

Yes

WebBorderStyleTop

Yes

WebBorderWidthBottom

Yes

WebBorderWidthLeft

Yes

WebBorderWidthRight

Yes

WebBorderWidthTop

Yes

WebBlockTag

Yes

WebBulletStyle

Yes

WebBulletURL

Yes

WebClear

Yes

WebFloat

Yes

WebFontColour

Yes

WebFontName

Yes

WebFontSize

Yes

WebFontStyle

Yes

WebFontVariant

Yes

WebFontWeight

Yes

WebHeight

Yes

WebLetterSpacing

Yes

WebLineHeight

Yes

WebMarginBottom

Yes

WebMarginLeft

Yes

WebMarginRight

Yes

WebMarginTop

Yes

WebNumbering

Yes

WebNumberStyle

Yes

WebPaddingBottom

Yes

WebPaddingLeft

Yes

WebPaddingRight

Yes

WebPaddingTop

Yes

WebTextAlign

Yes

WebTextDecoration

Yes

WebTextIndent

Yes

WebTextTag

Yes

WebTextTransform

Yes

WebVerticalAlign

Yes

WebWhiteSpace

Yes

WebWidth

Yes

WebWordSpacing

Yes

Sample XML

<Style>
+ <Object>
<BorderBottom>false</BorderBottom>
<BorderLeft>false</BorderLeft>
<BorderRight>false</BorderRight>
<BorderStyle>0</BorderStyle>
<BorderShadow>false</BorderShadow>
<BorderTop>false</BorderTop>
<Bullet>0</Bullet>
<FontBold>false</FontBold>
<FontColour inherited="true">0</FontColour>
<FontItalics>false</FontItalics>
<FontName inherited="true">Verdana</FontName>
<FontSize>10</FontSize>
<FontUnderline>0</FontUnderline>
<FontSubscript>false</FontSubscript>
<FontSuperscript>false</FontSuperscript>
<Number>0</Number>
<Numbering>1</Numbering>
<NumberStart inherited="true">1</NumberStart>
<OutlineLevel>0</OutlineLevel>
<ParaAfter>6</ParaAfter>
<ParaAlignment>0</ParaAlignment>
<ParaBefore>6</ParaBefore>
<ParaFirstLine>0</ParaFirstLine>
<ParaLeft>0</ParaLeft>
<ParaLineSpacing>0</ParaLineSpacing>
<ParaRight>0</ParaRight>
<StyleName inherited="true">Body Text</StyleName>
<StyleType inherited="true">1</StyleType>
<TabDefault inherited="true">2</TabDefault>
<Tabs />
<PrintStyleName>Body Text</PrintStyleName>
<HelpBorderBottom>false</HelpBorderBottom>
<HelpBorderLeft>false</HelpBorderLeft>
<HelpBorderRight>false</HelpBorderRight>
<HelpBorderShadow>false</HelpBorderShadow>
<HelpBorderStyle>0</HelpBorderStyle>
<HelpBorderTop>false</HelpBorderTop>
<HelpBullet>0</HelpBullet>
<HelpFontBold>false</HelpFontBold>
<HelpFontColour inherited="true">0</HelpFontColour>
<HelpFontItalics>false</HelpFontItalics>
<HelpFontName inherited="true">MS Sans Serif</HelpFontName>
<HelpFontSize>8</HelpFontSize>
<HelpNonWrapping>false</HelpNonWrapping>
<HelpNumber>0</HelpNumber>
<HelpNumbering>1</HelpNumbering>
<HelpNumberStart inherited="true">1</HelpNumberStart>
<HelpParaAfter>0</HelpParaAfter>
<HelpParaAlignment>0</HelpParaAlignment>
<HelpParaBefore>4</HelpParaBefore>
<HelpParaFirstLine>0</HelpParaFirstLine>
<HelpParaLeft>0.2</HelpParaLeft>
<HelpParaLineSpacing>0</HelpParaLineSpacing>
<HelpParaRight>0.2</HelpParaRight>
<HelpTabDefault inherited="true">2</HelpTabDefault>
<HelpTabs />
<WebBackAttach>Scroll</WebBackAttach>
<WebBackColour>16777215</WebBackColour>
<WebBackPositionX>Center</WebBackPositionX>
<WebBackPositionY>Center</WebBackPositionY>
<WebBackRepeat>(none)</WebBackRepeat>
<WebBackURL />
<WebBorderColourBottom>0</WebBorderColourBottom>
<WebBorderColourLeft>0</WebBorderColourLeft>
<WebBorderColourRight>0</WebBorderColourRight>
<WebBorderColourTop>0</WebBorderColourTop>
<WebBorderStyleBottom>(none)</WebBorderStyleBottom>
<WebBorderStyleLeft>(none)</WebBorderStyleLeft>
<WebBorderStyleRight>(none)</WebBorderStyleRight>
<WebBorderStyleTop>(none)</WebBorderStyleTop>
<WebBorderWidthBottom>Medium</WebBorderWidthBottom>
<WebBorderWidthLeft>Medium</WebBorderWidthLeft>
<WebBorderWidthRight>Medium</WebBorderWidthRight>
<WebBorderWidthTop>Medium</WebBorderWidthTop>
<WebBlockTag>P - Paragraph</WebBlockTag>
<WebBulletStyle>Disc</WebBulletStyle>
<WebBulletURL />
<WebClear>(none)</WebClear>
<WebFloat inherited="true">(none)</WebFloat>
<WebFontColour>0</WebFontColour>
<WebFontName inherited="true">Verdana</WebFontName>
<WebFontSize>11 px</WebFontSize>
<WebFontStyle>(normal)</WebFontStyle>
<WebFontVariant>(normal)</WebFontVariant>
<WebFontWeight>(normal)</WebFontWeight>
<WebHeight>(auto)</WebHeight>
<WebLetterSpacing inherited="true">(normal)</WebLetterSpacing>
<WebLineHeight>16 px</WebLineHeight>
<WebMarginBottom>0 em</WebMarginBottom>
<WebMarginLeft>0 %</WebMarginLeft>
<WebMarginRight>0 %</WebMarginRight>
<WebMarginTop>0.8 em</WebMarginTop>
<WebNumbering>1</WebNumbering>
<WebNumberStyle>Decimal</WebNumberStyle>
<WebPaddingBottom>0 pt</WebPaddingBottom>
<WebPaddingLeft>0 pt</WebPaddingLeft>
<WebPaddingRight>0 pt</WebPaddingRight>
<WebPaddingTop>0 pt</WebPaddingTop>
<WebTextAlign>Left</WebTextAlign>
<WebTextDecoration>(none)</WebTextDecoration>
<WebTextIndent>0 cm</WebTextIndent>
<WebTextTag>(none)</WebTextTag>
<WebTextTransform>(none)</WebTextTransform>
<WebVerticalAlign inherited="true">Baseline</WebVerticalAlign>
<WebWhiteSpace inherited="true">(normal)</WebWhiteSpace>
<WebWidth>(auto)</WebWidth>
<WebWordSpacing inherited="true">(normal)</WebWordSpacing>
</Style>