Changes between Version 12 and Version 13 of MapGuideRfc31


Ignore:
Timestamp:
09/14/07 17:20:34 (17 years ago)
Author:
vishalbangia
Comment:

Updated with Overlined, ObliqueAngle and TrackSpacing elements

Legend:

Unmodified
Added
Removed
Modified
  • MapGuideRfc31

    v12 v13  
    4444==== <Text> Modifications ====
    4545
    46 This modification adds the ''optional'' sub element <Markup> to the <Text> schema element. <Markup> represents the element whose value denotes the type of rich text markup used, (and consequently what parser to be used,) to render the contents.
    47 
     46This modification adds the following ''optional'' sub elements to the <Text> schema element -
     47 * <Markup> : this element represents the element whose value denotes the type of rich text markup used, (and consequently what parser to be used,) to render the contents.
     48 * <Overlined> :  denotes the text style attribute to create a line that runs on the top of the text. Similar in usage and context to Underline.
     49 * <!ObliqueAngle> : denotes the skew or shear angle to be applied to the text.
     50 * <!TrackSpacing> : denotes the width scale applied to inter character spacing independent of the Font character spacing.
    4851Note: The separation of the markup format from the actual text content is to allow for the use cases where rich text formats do not have specific encoding tags that allow for runtime identification.  Not all markup formats can be reliably identified using heuristics.
    4952
     
    8184}}}
    8285
    83 ''to'' one that includes the '''<Markup>''' element, as follows:
     86''to'' one that includes the '''<Markup>, <Overlined>, <!ObliqueAngle> and <!TrackSpacing>''' elements, as follows:
    8487{{{
    8588<xs:complexType name="Text">
     
    105108    <xs:element name="GhostColor"          type="xs:string"                           minOccurs="0" />
    106109    <xs:element name="Frame"               type="TextFrame"                           minOccurs="0" />
    107     <xs:element name="Markup"              type="xs:string" default="'Plain'"         minOccurs="0" />
     110   
     111    <xs:element name="Markup"              type="xs:string" default="'Plain'"         minOccurs="0" >
    108112    <xs:annotation><xs:documentation>The markup format of the string content.</xs:documentation></xs:annotation></xs:element>
     113   
     114    <xs:element name="Overlined"           type="xs:string" default="false"           minOccurs="0" >
     115    <xs:annotation><xs:documentation>Specifies if the text should be overlined. This must evaluate to True or False</xs:documentation><xs:annotation></xs:element>
     116   
     117    <xs:element name="ObliqueAngle"        type=”xs:string” default="0.0"             minOccurs="0" >
     118    <xs:annotation><xs:documentation>A numeric value between -85.0 and 85.0 representing the angle in degrees forward (for positive) or backwards (for negative)
     119    that the text should be obliqued (a la shear or skew transform.)</xs:documentation><xs:annotation></xs:element>
     120   
     121    <xs:element name="TrackSpacing"        type=”xs:string” default="1.0"             minOccurs="0" >
     122    <xs:annotation><xs:documentation>A numeric value between 0.75 and 10.0, representing the text “tracking” factor to apply to inter-character spacing, effectively
     123    a multiplier of each character’s advance width.  Values less than 1.0 condense the text, spacing individual characters closer together than normally dictated by
     124    the font, whereas values greater than 1.0 expand the text, spacing characters farther apart.  The outline of individual characters is not altered by this
     125    element, only the spacing between them and adjacent characters.</xs:documentation><xs:annotation></xs:element>
     126   
    109127    <xs:element name="ExtendedData1"       type="ExtendedDataType"                    minOccurs="0" />
    110128  </xs:sequence>