os/textandloc/textrendering/texthandling/testdata/T_RICHTX.PML
author sl@SLION-WIN7.fritz.box
Fri, 15 Jun 2012 03:10:57 +0200
changeset 0 bde4ae8d615e
permissions -rw-r--r--
First public contribution.
sl@0
     1
<G>
sl@0
     2
<P>A single phrase.
sl@0
     3
<P KeepTogether KeepWithNext StartNewPage WidowOrphan LeftMargin=40 RightMargin=40 Indent=40 
sl@0
     4
Alignment=Center LineSpacing=400 LineSpacingControl=Exactly SpaceBefore=40 SpaceAfter=40 BorderMargin=40>
sl@0
     5
<C Italic>1
sl@0
     6
<C Bold>2
sl@0
     7
<C Underline>3
sl@0
     8
<C Strikethrough>4
sl@0
     9
<C FontHeight=300>5
sl@0
    10
<C PrintPos=SuperScript>6
sl@0
    11
<C Color=45>7
sl@0
    12
<C Language=2>8
sl@0
    13
<C TypefaceName=Arial>9
sl@0
    14
<C TypefaceFlags=1>0
sl@0
    15
sl@0
    16
<P> This pml file tests the overloaded SenseChars() and SenseParaFormatL() methods. Checking that
sl@0
    17
the 'valuesChangedAcrossSelectionMask' is operating correctly.
sl@0
    18
<P> The first paragraph is 16 characters long including the paragraph delimiter and consists of a
sl@0
    19
 single phrase, so there should be no undetermined values.
sl@0
    20
<P> The second paragraph consists of <C Bold Underline>10<C !Bold !Underline> characters including the paragraph delimiter 
sl@0
    21
which has multiple phrases, between them altering every character format attribute.  (The same applies
sl@0
    22
 for paragraph formatting.