Mapping of XPress Tags attributes to Scribus 1.3.x file format attributes

 

 

XPress Tags

Description

(based on XPress Tags)

Description

(based on Scribus)

Scribus attribute
Scribus Type
Scribus 1.3.x File Format

Scribus 1.3.x File Format

CHARACTER STYLES

 

 



CHARACTER STYLES

LEGACY CHARACTER STYLES

<f”fontname”>

Change font

Font Name

font
ScFace
FONT

CFONT

<z###.##>

Change font size

Font Size

fontSize
double
FONTSIZE

CSIZE

<c”colorname”>

Change color

Fill Color

fillColor
QString
FCOLOR

CCOLOR

<k###.##>

 

Value for Kerning (please check if QX and Scribus apply kerning to the same side

of the character, iirc Scribus appplies it to the left!)

tracking
double
KERN

CEXTRA,CKERN

<s###.##>

In percentage of shade

Fill Shade

fillShade
double
FSHADE

CSHADE

 

 

Stroke Color

strokeColor
QString
SCOLOR

CSTROKE

 

 

Stroke Shade

strokeShade
double
SSHADE

CSHADE2

 

 

The Style of the character, value is combination of the following constants

features
QStringList

CSTYLE

<+>

Superscript

Superscript


"superscript"

CSTYLE = 1

<->

Subscript ( Hyphen)

Subscript


"subscript"

CSTYLE = 2

<O>

 

Outlined


"outline"

CSTYLE = 4

<U>

 

Underlined


"underline"

CSTYLE = 8





"underlinewords"


</>

 

Strikeout


"strike"

CSTYLE = 16

<H>

 

(faux) Small Caps


"smallcaps"

CSTYLE = 64





"allcaps"






"shadowed"






"bold" (not impl.)






"italic" (not impl.)


<o("xxxx")> where "xxxx" = the OpenType® feature code


"xxxx" (not impl.)
 

 

 

Word can be hyphenated after this character (soft hyphen after this char)


"shyphen" (legacy)

CSTYLE = 128

 

 

word spacing 

wordTracking
double
wordTrack

 

 

 

Shadow X Offset

shadowXOffset
double
TXTSHX

CSHX

 

 

Shadow Y Offset

shadowYOffset
double
TXTSHY

CSHY

 

 

Outline Width

outlineWidth
double
TXTOUT

COUT

 

 

Underline Offset

underlineOffset
double
TXTULP

CULP

 

 

Underline Width

underlineWidth
double
TXTULW

CULW

 

 

Strike Through Offset

strikethruOffset
double
TXTSTP

CSTP

 

 

Strike Through Width

strikethruWidth
double
TXTSTW

CSTW

<h###.##>

In percentage of scale

Scale Horizontal

scaleH
double
SCALEH

CSCALE

<y###.##>

In percentage of scale

Scale Vertical

scaleV
double
SCALEW

CSCALEV

 

 

 

baselineOffset
double
BASEO

CBASE


 

 





<k###.##>

In 1/200 em space

 




CKERN

 @stylesheetname=<character attributes>

 

Style Name (this is always empty when occurring in text frames or

as part of a paragraph style)




CNAME

 @stylesheetname=[St"","","","based on character stylesheetname"] <character attributes>

 

Style Parent

parent
QString

CPARENT

<t###.##>

 In 1/200 em space

Tracking




KERN

<n##>

 

Language language
QString


 

 

 




PARAGRAPH STYLES

@stylesheetname=[Sp"",""]<paragraph and character attributes>

 

Paragraph Style Name (this is always "" when occurring in a text frame)




NAME

@stylesheetname=[Sp"based on paragraph stylesheetname","next
paragraphstylesheetname","character stylesheetname"]<paragraph
attributes>

 

Style Parent

parent
QString

PARENT

 

 

Style Alignment

alignment
AlignmentType

ALIGN

<*L>

 

Left-Align Paragraph




ALIGN = 0

<*C>

 

Center-Align Paragraph




ALIGN = 1

<*R>

 

Right-Align Paragraph




ALIGN = 2

<*J>

 

Justify Paragraph




ALIGN = 3

<*F>

 

Force Justify Paragraph




ALIGN = 4


Lock to grid which is said in the following set paragraph attributes

Line Spacing Mode

lineSpacingMode
LineSpacingMode

LINESPMode





Fixed=0






Automatic=1






BaselineGrid=2


 <*p(##.#,##.#,##.#,##.#,##.#,##.#,G or g(P, S))>
Values in parentheses represent Left Indent, First Line Indent, Right Indent, Leading,Values in parentheses represent Left Indent,Space Before, Space After, and Lock to Grid.


G = lock to baseline grid; g = do not lock to the baseline grid and the two values in parentheses indicate whether to lock to
the page grid (P) or box grid (B) and how to align the characters (T-top/right, C = center,S = baseline, B = bottom/left).






  ""

 

Line Spacing

lineSpacing
double

LINESP

  ""

 

Left Margin

leftMargin
double

INDENT

  ""

 

Right Margin

rightMargin
double

RMARGIN

  ""

 

First Indent

firstIndent
double

FIRST

  ""

 

Spacing before the paragraph

gapBefore
double

VOR

  ""

 

Spacing after the paragraph

gapAfter
double

NACH

 <*d(character count,line count)>

 

Flag for DropCaps
1 = Drop Caps on

hasDropCap
bool

DROP

 line count in the above tag will deal this

 

Number of Lines for the DropCaps

dropCapLines
int

DROPLIN

 

 

DropCap Offset

dropCapOffset
double

DROPDIST

 

 

percentage how much spaces can be shrunk for linebreaking

minWordTracking
double


 

 

percentage how much glyphs may be shrunk
minGlyphExtension
double




percentage how much glyphs may be stretched
maxGlyphExtension
double





tabValues
QList<TabRecord>





TabRecord::tabPosition
qreal





TabRecord::tabType
(left, center, right, decimal)
int





TabRecord::tabFillChar
QChar


 

Superior <V> : Tag character formatting (including bold, italic, underline, strike through, superscript, subscript, and raised 3 points). Here you have the option to tag superscript as superior (with the <V> tag) or as superscript (with the <+> tag). Please note that whichever option you choose, formatting raised 3 points will be tagged with the opposite tag (<+> or <V>). Many typesetters prefer the first option, as the second may interfere with leading


XPress Tags attributes which cannot be Mapped with Scribus Attributes