PresentationML Subject: Presentation

26
Schema Mappings Presentati on Slide Slide Content Animation pBase pSlide pOLE pAnimation pPresentatio n pComment pPresProps pViewProps

Transcript of PresentationML Subject: Presentation

Page 1: PresentationML Subject: Presentation

Schema Mappings

Presentation Slide Slide Content Animation

pBase pSlide pOLE pAnimation

pPresentation pComment

pPresProps

pViewProps

Page 2: PresentationML Subject: Presentation

Base Utilities

pBase.xsd

Page 3: PresentationML Subject: Presentation

Most Basic Utilities

• Empty Element• Name• Direction• Index• Index Range• Version

• Slide Show ID• Slide List Choice• Slide Relationship• Customer Data• Future Extensibility

Page 4: PresentationML Subject: Presentation

Slide List Choice Sample

<xsd:group name="EG_SlideListChoice"> <xsd:choice> <xsd:element name="sldAll" type="CT_Empty" /> <xsd:element name="sldRg" type="CT_IndexRange" /> <xsd:element name="custShow" type="CT_CustomShowId" /> </xsd:choice> </xsd:group>

Page 5: PresentationML Subject: Presentation

Most Basic Utilities

• Empty Element• Name• Direction• Index• Index Range• Version

• Slide Show ID• Slide List Choice• Slide Relationship• Customer Data• Future Extensibility

Page 6: PresentationML Subject: Presentation

Presentation “Object”

pPresentation.xsd

Page 7: PresentationML Subject: Presentation

The “Root” Node

• Primary start part or root node of a presentation

• Contains structural and presentation-level properties

Differentiation between various presentation-level properties based on document signing/sanitization scenarios

• Contains customer data and extensibility capabilities, too

Page 8: PresentationML Subject: Presentation

Structural Information

• Core Lists– Slide masters– Notes masters– Handout masters– Slide IDs– Custom Shows

• Size Information– Slides– Notes Slides

Page 9: PresentationML Subject: Presentation

Sample List: Slide Masters <xsd:complexType name="CT_SlideMasterIdListEntry"> <xsd:attribute ref="r:id" use="required" /> </xsd:complexType>

<xsd:complexType name="CT_SlideMasterIdList"> <xsd:sequence> <xsd:element name="sldMasterId"

type="CT_SlideMasterIdListEntry" minOccurs="0" maxOccurs="unbounded" />

</xsd:sequence> </xsd:complexType>

Page 10: PresentationML Subject: Presentation

Structural Information

• Core Lists– Slide masters– Notes masters– Handout masters– Slide IDs– Custom Shows

• Size Information– Slides– Notes Slides

Page 11: PresentationML Subject: Presentation

Presentation-Level Properties

• Text-Related ( 3 )• Save-Related ( 5 )• Editor-Related ( 4 ) • Content-Related ( 3 )

Page 12: PresentationML Subject: Presentation

Text-Related Properties• Properties

– Kinsoku – Asian Typography Options– Embedded Fonts

• Sample Property ( Kinsoku )

<xsd:complexType name="CT_Kinsoku"> <xsd:attribute name="lang" type="xsd:string" use="optional"> </xsd:attribute> <xsd:attribute name="invalStChars" type="xsd:string" use="required"> </xsd:attribute> <xsd:attribute name="invalEndChars" type="xsd:string" use="required"> </xsd:attribute> </xsd:complexType>

Page 13: PresentationML Subject: Presentation

Save-Related Properties

• Properties– Remove Personally Identifiable Information– Embed True Type Fonts

• Save just subset fonts

– Automatically Compress Pictures– Modify Password

Page 14: PresentationML Subject: Presentation

Editor- and Content-Related Properties

• Editor-Related Properties– Smart Tags– Server Zoom Scale– Right-to-Left Mode– Compatibility Mode

• Content-Related Properties– First Slide Number– Show Placeholders on Title Slides– PhotoAlbum Properties

Page 15: PresentationML Subject: Presentation

Presentation Properties

pPresProps.xsd

Page 16: PresentationML Subject: Presentation

Primary Property Sets

• HTML Publish Properties– Web Properties

• Print Properties• Slide Show Properties• Color MRU• Extensibility

Page 17: PresentationML Subject: Presentation

HTML Publish Properties

• Used to configure the application for saving presentations in HTML or MHTML formats.

• Configures the following properties– Content displayed in the browser ( e.g., speaker

notes, etc. )– Title of the resultant M/HTML output– Path to publish resultant M/HTML output

• Also supports macros for specifying default web properties by targeting browser generation.

Page 18: PresentationML Subject: Presentation

HTML Publish Sample <xsd:complexType name="CT_HtmlPublishProperties"> <xsd:sequence> <xsd:group ref="EG_SlideListChoice" minOccurs="1" maxOccurs="1"> </xsd:group> </xsd:sequence> <xsd:attribute name="showSpeakerNotes" type="xsd:boolean"

use="optional" default="true" /> <xsd:attribute name="pubBrowser"

type="ST_HtmlPublishWebBrowserSupport" use="optional" default="v3v4" />

<xsd:attribute name="title" type="xsd:string" use="optional" default=""> </xsd:attribute> <xsd:attribute ref="r:id" use="required"> </xsd:attribute> </xsd:complexType>

Page 19: PresentationML Subject: Presentation

Web Properties

• Used to configure the output of presentations when saved in HTML or MHTML formats.

• Configures the following properties– Colors used in HTML frames, backgrounds, user

interface controls, etc.– Target screen and image sizes– Text Encoding– Degree of interactivity ( e.g., animations, resizing )– On-disk storage ( e.g., image type selection, VML,

folder representation, long files, etc. )

Page 20: PresentationML Subject: Presentation

Print Options Properties

• Used to configure the application for printing presentations.

• Configures the following properties– Printed output ( e.g., slides, handouts, notes,

outlines; inclusion of hidden slides )– Color mode of output ( e.g., color, black and

white, pure black and white )– Framing and scaling properties

Page 21: PresentationML Subject: Presentation

Slide Show Properties

• Used to configure properties for the default slide show

• Configures the following properties– The type of slide show ( e.g., presenting,

browsing, kiosk )– Set of slides to be shown– Pen color– Interactivity settings ( e.g., looping, narration,

animations, timings )

Page 22: PresentationML Subject: Presentation

Slide Show Sample

<xsd:group name="EG_ShowType"> <xsd:choice> <xsd:element name="present" type="CT_Empty"> </xsd:element> <xsd:element name="browse" type="CT_ShowInfoBrowse"> </xsd:element> <xsd:element name="kiosk" type="CT_Empty"> </xsd:element> </xsd:choice> </xsd:group>

Page 23: PresentationML Subject: Presentation

View Properties

pViewProps.xsd

Page 24: PresentationML Subject: Presentation

Views Supported

• Slide View• Slide Master View• Notes View• Handout View• Notes Master View• Outline View• Slide Sorter View

Page 25: PresentationML Subject: Presentation

Common View Data

• Truly Common Data– Scale, Origin, Variable Scaling, Draft Mode

• Common Data for Slide Views– Common data plus guide lists, snap settings,

guide settings

Page 26: PresentationML Subject: Presentation

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.