Upload
shawn-villaron
View
38
Download
0
Embed Size (px)
Citation preview
Text
DrawingML
The Basics
• Like Word, text is broken into runs and paragraphs
• Runs and Paragraphs have properties• Remember – Text and Graphics are the
same
The dog is brown today.
Text Body
• Remember from DrawingML, spPr
• Contains three pieces– Body Properties– List of Styles– One or more Paragraphs
spTree
nvGrpSpPr grpSpPr sp
nvSpPr spPr
style textBody
Inset Properties
• Shapes contain inscribed rectangles• Insets are measured from that rectangle
Inscribed Rect Inset Bottom
Inset TopInset Right
Inset Left
Overflow
• Three types– Overflow– Ellipsis– Clip
OneTwo
ThreeFourFiveSix
SevenEightNineTen
OneTwo
ThreeFour…
OneTwo
ThreeFourFive
AutoFit ( 1 )
AutoFit ( 2 )
Warping
Columns
Protection
• Only one protection property for text– No Edit– No Printing
Characters
Character Size Units
• Generally expressed in 100ths of a point• Font size restricted between 1pt and 4000
pts
Underline
• 18 underline styles• Underlines have fill and line props
– These can follow text ( default ) or can be explicitly set
– They are the same DrawingML we’ve talked about …
Underline
Strikethrough
• Three types: none, single, double• No line or fill props – just uses the text
values
Strikethrough
Interactivity
• Vectors– Click– Mouse Over
• Run-Level Property ( rPr )• Uses relationships
Apple Computer
Proofing and Smart Tags
• Noproof• Err• Smtclean
Soccer is a gret sport!
DrawingML – again!
• Line Properties• Fill Properties• Effect Properties
Line Properties
Fill Properties
Effect Properties
International Support
• Multiple Typefaces– Latin– East Asian– Complex Script– Symbol
• Language Identification– Language ID– Alt Language
• Kumimoji
ECMA
TC45
Paragraphs
Spacing ( 1 )
• One two three four five six seven eight nine ten eleven twelve
thirteen fourteen fifteen sixteen
• One two three four five six seven eight nine ten eleven twelve
thirteen fourteen fifteen sixteen
• One two three four five six seven eight nine ten eleven twelve
thirteen fourteen fifteen sixteen
• One two three four five six seven eight nine ten eleven twelve
thirteen fourteen fifteen sixteen
Spacing ( 2 )
• One two three four five six seven eight nine ten eleven twelve thirteen fourteen fifteen sixteen
• One two three four five six seven eight nine ten eleven twelve thirteen fourteen fifteen sixteen
• One two three four five six seven eight nine ten eleven twelve thirteen fourteen fifteen sixteen
• One two three four five six seven eight nine ten eleven twelve thirteen fourteen fifteen sixteen
Margins
• Measured from Insets
Inscribed Rect Inset Bottom
Inset TopInset Right
Inset Left
Margin RightMargin Left
Margins
• Vertical text requires special handling
Inscribed Rect
Inset
Margin LeftS T
A R
T
Margin Right
Alignment ( 1 )
Alignment ( 2 )
Tab Stops
Bullets
Bullets Overview
• Bullets are a paragraph-level property ( pPr )
• Four types of bullets supported– None– Character Bullets– AutoNumbered Bullets– Blip ( “picture” ) Bullets
Core Bullet Properties
• Properties can inherit from trailing text ( default ) or be explicitly set– Bullet Size ( 25 – 400%, units = %x1000 )– Bullet Face – Bullet Color
• Bullet Type is always explicit
Core Properties
Character Bullets ( 1 )
• Apples• Oranges• Pears• Peaches• Carrots
• Apples• Oranges• Pears• Peaches• Carrots
Character Bullets ( 2 )
H ApplesH OrangesH PearsH PeachesH Carrots
H ApplesH OrangesH PearsH PeachesH Carrots
AutoNumbered Bullets
• “Start At”• Schemes
– Over 40 schemes
AutoNumbered ( 1 )
1. Apples
2. Oranges
3. Pears
4. Peaches
5. Carrots
1. Apples
2. Oranges
3. Pears
4. Peaches
5. Carrots
AutoNumbered ( 2 )
i. Apples
ii. Oranges
iii. Pears
iv. Peaches
v. Carrots
i. Apples
ii. Oranges
iii. Pears
iv. Peaches
v. Carrots
AutoNumbered ( 3 )
iii. Apples
iv. Oranges
v. Pears
vi. Peaches
vii. Carrots
iii. Apples
iv. Oranges
v. Pears
vi. Peaches
vii. Carrots
AutoNumbered ( 4 )
iii. Apples
iv. Oranges
v. Pears
viii. Peaches
ix. Carrots
iii. Apples
iv. Oranges
v. Pears
viii. Peaches
ix. Carrots
Blip Bullets
• This is simple DrawingML• Note the blip-reuse
Blip Bullets
Apples
Oranges
Pears
Peaches
Carrots
Mix and Matching
• Apples
Oranges• Pears• Peaches• Carrots
• Apples
Oranges• Pears• Peaches• Carrots
A lot more …
• Text Frame• Text Styles• Text Fields• Font Embedding
… but we’ll leave those for another time.
Disclaimer
This presentation is for informational purposes only, and should not be relied upon as a substitute or replacement for Microsoft formal file format documentation, which is available at the following website: https://msdn.microsoft.com/en-us/library/cc313118(v=office.12).aspx. Any views or opinions presented in this material are solely those of the author and do not necessarily represent those of Microsoft. Microsoft disclaims all liability for mistakes or inaccuracies in this presentation.