Subversion Repositories Scribus

Compare Revisions

Ignore whitespace Rev 8375 → Rev 8397

/branches/Version13x/Scribus/dtd/scribus.dtd
363,7 → 363,7
<!ATTLIST textframeobj idref IDREF #REQUIRED>
 
<!-- Abstraction layer for text blocks inside a text frame. -->
<!ELEMENT textcontent (paragraph)*>
<!ELEMENT textcontent parstyle (p)+>
<!ATTLIST textcontent id ID #REQUIRED>
 
<!-- References "textcontent". -->
370,22 → 370,13
<!ELEMENT textcontentobj EMPTY>
<!ATTLIST textcontentobj idref IDREF #REQUIRED>
 
<!ELEMENT p parstyle (span)+
<!-- Lowest level block unit of text. Add a mathexpression later when MathML dtd is
referenced properly. Use "id" values like par0. We need an id for the
paragraph to make it the atomic unit for change tracking and undo for example. -->
<!ELEMENT paragraph (text+|tab*)*>
<!ATTLIST paragraph id ID #REQUIRED
parstyle IDREF #REQUIRED
<!ELEMENT span txtstyle (text|inlineframe|breakline|breakcolumn|breakframe|tab|pagenr)*>
>
 
<!-- Atomic text unit. -->
<!ELEMENT text (#PCDATA)>
<!-- parentpar is actually the "id" of the parental "paragraph". We need this
relationship to make sure we can replace the paragraph contents independently
of the physical layout changes for example. -->
<!ATTLIST text parentpar IDREF #REQUIRED
txtstyle IDREF #REQUIRED
>
 
<!-- Use any printable character for tab alignment -->
<!ELEMENT tab EMPTY>
/branches/Version13x/Scribus/dtd/style.ent
1,26 → 1,22
<!ENTITY % unit "(pt | px | pica | in | mm | cm | c) 'mm'">
<!ENTITY % style_attr "id ID #IMPLIED name CDATA #IMPLIED shortcut CDATA #IMPLIED parent IDREF #IMPLIED">
<!ELEMENT txt-style EMPTY>
<!ATTLIST txt-style id ID #REQUIRED
shortcut CDATA #IMPLIED
parentstyleid IDREF #IMPLIED
font-face CDATA "Bitstream Vera Regular"
font-family-hint CDATA "Vera"
font-weight-hint CDATA "Regular"
font-slant-hint CDATA "Normal"
font-size CDATA "12"
word-tracking CDATA "0"
<!ATTLIST txt-style %style_attr;
font-face CDATA #IMLIED
font-family-hint CDATA #IMPLIED
font-weight-hint CDATA #IMPLIED
font-slant-hint CDATA #IMPLIED
font-size CDATA #IMPLIED
word-tracking CDATA #IMPLIED
font-size-units (pt|pc) "pt"
font-width CDATA "1"
char-tracking CDATA "0"
font-leading-type (relative|auto|fixed|grid) "relative"
font-leading-type-amount CDATA "1"
font-leading-mode (proportional|baseline|top-of-caps|custom) "proportional"
font-leading-mode-amount CDATA "1"
font-rank (subscript|superscript) #IMPLIED
font-capitalization (uppercase|lowercase|title-case|small-caps) #IMPLIED
font-underline (yes|no) "no"
font-strikethrough (yes|no) "no"
font-outline (yes|no) "no"
font-width CDATA #IMPLIED
char-tracking CDATA #IMPLIED
font-leading-type (relative|auto|fixed|grid) #IMPLIED
font-leading-type-amount CDATA #IMPLIED
font-leading-mode (proportional|baseline|top-of-caps|custom) #IMPLIED
font-leading-mode-amount CDATA #IMPLIED
font-baseline-offset CDATA #IMPLIED
font-features #NMTOKENS #IMPLIED
text-stroke-color CDATA #IMPLIED
text-stroke-shadow CDATA #IMPLIED
text-stroke-opacity CDATA #IMPLIED
27,10 → 23,10
text-fill-color CDATA #IMPLIED
text-fill-shadow CDATA #IMPLIED
text-fill-opacity CDATA #IMPLIED
justification (left|right|center|justify|force-justify) "left"
language CDATA "en"
text-direction CDATA "ltr"
solid-block (yes|no) "no"
justification (left|right|center|justify|force-justify) #IMPLIED
language CDATA #IMPLIED
text-direction CDATA #IMPLIED
solid-block (yes|no) #IMPLIED
>
 
<!--
41,21 → 37,19
* Use standard ISO codes for "language".
* "text-direction" is ltr=Left to right; rtl=Right to left -->
 
<!ELEMENT par-style EMPTY>
<!ATTLIST par-style id ID #REQUIRED
shortcut CDATA #IMPLIED
parentstyleid IDREF #IMPLIED
<!ELEMENT par-style txt-style tab*>
<!ATTLIST par-style % style_attr;
par-indent-first CDATA #IMPLIED
par-indent-left CDATA #IMPLIED
par-indent-right CDATA #IMPLIED
par-indent-unit %unit;
par-indent-hanging (yes|no) "no"
par-indent-hanging (yes|no) #IMPLIED
par-spacing-before CDATA #IMPLIED
par-spacing-after CDATA #IMPLIED
par-spacing-unit %unit;
par-type (normal|bullet|drop-cap|incr-number) "normal"
par-type (normal|bullet|drop-cap|incr-number) #IMPLIED
bullet-char ENTITY #IMPLIED
word-tracking CDATA "0"
word-tracking CDATA #IMPLIED
>
<!--
Paragraph attributes