PPTX questions

D

David Thielen

Hi all;

1. For a given slide, how do you know which Slide layout it is
referencing to get formatting information, I know that you can use the
placeholder tag p:ph to get formatting information from a layout, but
neither the type or the idx attributes are unique across the entire
package, so for a set of matching p:ph tags how does it know which one
to choose to take the formatting from?

2. For this question a shape within a slide.xml file I will call
sldShape, and a shape within a layout file I will call layoutShape.

Assume that my layoutShape is a placeholder for my sldShape. In the
example code below you can see that the textbody in my sldShape has no
formatting attributes or modifiers, which means its pulling this
information from a layout. But when I look at the matching layout file
with the matching layoutShape, there is a lot of formatting
information in the a:lstStyle, but it contains formatting for all 9
levels, how do I know which level the sldShape is pulling formatting
from? OR am I wrong in my assumption that the formatting is being
pulled from the layout, and it is actually being pulled from another
file because since nothing was specified it is defaulting to
formatting in the slideMaster , presentation or theme file?


So in the code below the two shapes in the slide file are “ctrTitle”
and “subtitle,idx=1” in the matching layout file (im pretty sure this
is the layout file powerpoint is using to render this slide) there
isn’t any meaningful information for “ctrTitle” as far as formatting
and style goes except for the xfrm positioning info, and in the
subtitle shape within the layout file there is a lot of formatting
info, and nothing to distinguish which set should be used.


<?xml version="1.0" encoding="UTF-8" standalone="yes"?>

<p:sld xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main"


xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships"


xmlns:p="http://schemas.openxmlformats.org/presentationml/2006/main">

<p:cSld>

<p:spTree>

<p:nvGrpSpPr>

<p:cNvPr id="1" name=""/>

<p:cNvGrpSpPr/>

<p:nvPr/>

</p:nvGrpSpPr>

<p:grpSpPr>

<a:xfrm>

<a:eek:ff x="0" y="0"/>

<a:ext cx="0" cy="0"/>

<a:chOff x="0" y="0"/>

<a:chExt cx="0" cy="0"/>

</a:xfrm>

</p:grpSpPr>

<p:sp>

<p:nvSpPr>

<p:cNvPr id="2" name="Title 1"/>

<p:cNvSpPr>

<a:spLocks noGrp="1"/>

</p:cNvSpPr>

<p:nvPr>

<p:ph type="ctrTitle"/>

</p:nvPr>

</p:nvSpPr>

<p:spPr/>

<p:txBody>

<a:bodyPr/>

<a:lstStyle/>

<a:p>

<a:r>

<a:rPr lang="en-US" dirty="0"
smtClean="0"/>

<a:t>Title</a:t>

</a:r>

<a:endParaRPr lang="en-US" dirty="0"/>

</a:p>

</p:txBody>

</p:sp>

<p:sp>

<p:nvSpPr>

<p:cNvPr id="3" name="Subtitle 2"/>

<p:cNvSpPr>

<a:spLocks noGrp="1"/>

</p:cNvSpPr>

<p:nvPr>

<p:ph type="subTitle" idx="1"/>

</p:nvPr>

</p:nvSpPr>

<p:spPr/>

<p:txBody>

<a:bodyPr/>

<a:lstStyle/>

<a:p>

<a:r>

<a:rPr lang="en-US" smtClean="0"/>

<a:t>Subtitle</a:t>

</a:r>

<a:endParaRPr lang="en-US"/>

</a:p>

</p:txBody>

</p:sp>

</p:spTree>

</p:cSld>

<p:clrMapOvr>

<a:masterClrMapping/>

</p:clrMapOvr>

</p:sld>




slideLayout1.xml

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>

<p:sldLayout
xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main"


xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships"


xmlns:p="http://schemas.openxmlformats.org/presentationml/2006/main"
type="title" preserve="1">

<p:cSld name="Title Slide">

<p:spTree>

<p:nvGrpSpPr>

<p:cNvPr id="1" name=""/>

<p:cNvGrpSpPr/>

<p:nvPr/>

</p:nvGrpSpPr>

<p:grpSpPr>

<a:xfrm>

<a:eek:ff x="0" y="0"/>

<a:ext cx="0" cy="0"/>

<a:chOff x="0" y="0"/>

<a:chExt cx="0" cy="0"/>

</a:xfrm>

</p:grpSpPr>

<p:sp>

<p:nvSpPr>

<p:cNvPr id="2" name="Title 1"/>

<p:cNvSpPr>

<a:spLocks noGrp="1"/>

</p:cNvSpPr>

<p:nvPr>

<p:ph type="ctrTitle"/>

</p:nvPr>

</p:nvSpPr>

<p:spPr>

<a:xfrm>

<a:eek:ff x="685800" y="2130425"/>

<a:ext cx="7772400" cy="1470025"/>

</a:xfrm>

</p:spPr>

<p:txBody>

<a:bodyPr/>

<a:lstStyle/>

<a:p>

<a:r>

<a:rPr lang="en-US" smtClean="0"/>

<a:t>Click to edit Master title
style</a:t>

</a:r>

<a:endParaRPr lang="en-US"/>

</a:p>

</p:txBody>

</p:sp>

<p:sp>

<p:nvSpPr>

<p:cNvPr id="3" name="Subtitle 2"/>

<p:cNvSpPr>

<a:spLocks noGrp="1"/>

</p:cNvSpPr>

<p:nvPr>

<p:ph type="subTitle" idx="1"/>

</p:nvPr>

</p:nvSpPr>

<p:spPr>

<a:xfrm>

<a:eek:ff x="1371600" y="3886200"/>

<a:ext cx="6400800" cy="1752600"/>

</a:xfrm>

</p:spPr>

<p:txBody>

<a:bodyPr/>

<a:lstStyle>

<a:lvl1pPr marL="0" indent="0" algn="ctr">

<a:buNone/>

<a:defRPr>

<a:solidFill>

<a:schemeClr val="tx1">

<a:tint val="75000"/>

</a:schemeClr>

</a:solidFill>

</a:defRPr>

</a:lvl1pPr>

<a:lvl2pPr marL="457200" indent="0"
algn="ctr">

<a:buNone/>

<a:defRPr>

<a:solidFill>

<a:schemeClr val="tx1">

<a:tint val="75000"/>

</a:schemeClr>

</a:solidFill>

</a:defRPr>

</a:lvl2pPr>

<a:lvl3pPr marL="914400" indent="0"
algn="ctr">

<a:buNone/>

<a:defRPr>

<a:solidFill>

<a:schemeClr val="tx1">

<a:tint val="75000"/>

</a:schemeClr>

</a:solidFill>

</a:defRPr>

</a:lvl3pPr>

<a:lvl4pPr marL="1371600" indent="0"
algn="ctr">

<a:buNone/>

<a:defRPr>

<a:solidFill>

<a:schemeClr val="tx1">

<a:tint val="75000"/>

</a:schemeClr>

</a:solidFill>

</a:defRPr>

</a:lvl4pPr>

<a:lvl5pPr marL="1828800" indent="0"
algn="ctr">

<a:buNone/>

<a:defRPr>

<a:solidFill>

<a:schemeClr val="tx1">

<a:tint val="75000"/>

</a:schemeClr>

</a:solidFill>

</a:defRPr>

</a:lvl5pPr>

<a:lvl6pPr marL="2286000" indent="0"
algn="ctr">

<a:buNone/>

<a:defRPr>

<a:solidFill>

<a:schemeClr val="tx1">

<a:tint val="75000"/>

</a:schemeClr>

</a:solidFill>

</a:defRPr>

</a:lvl6pPr>

<a:lvl7pPr marL="2743200" indent="0"
algn="ctr">

<a:buNone/>

<a:defRPr>

<a:solidFill>

<a:schemeClr val="tx1">

<a:tint val="75000"/>

</a:schemeClr>

</a:solidFill>

</a:defRPr>

</a:lvl7pPr>

<a:lvl8pPr marL="3200400" indent="0"
algn="ctr">

<a:buNone/>

<a:defRPr>

<a:solidFill>

<a:schemeClr val="tx1">

<a:tint val="75000"/>

</a:schemeClr>

</a:solidFill>

</a:defRPr>

</a:lvl8pPr>

<a:lvl9pPr marL="3657600" indent="0"
algn="ctr">

<a:buNone/>

<a:defRPr>

<a:solidFill>

<a:schemeClr val="tx1">

<a:tint val="75000"/>

</a:schemeClr>

</a:solidFill>

</a:defRPr>

</a:lvl9pPr>

</a:lstStyle>

<a:p>

<a:r>

<a:rPr lang="en-US" smtClean="0"/>

<a:t>Click to edit Master subtitle
style</a:t>

</a:r>

<a:endParaRPr lang="en-US"/>

</a:p>

</p:txBody>

</p:sp>

<p:sp>

<p:nvSpPr>

<p:cNvPr id="4" name="Date Placeholder 3"/>

<p:cNvSpPr>

<a:spLocks noGrp="1"/>

</p:cNvSpPr>

<p:nvPr>

<p:ph type="dt" sz="half" idx="10"/>

</p:nvPr>

</p:nvSpPr>

<p:spPr/>

<p:txBody>

<a:bodyPr/>

<a:lstStyle/>

<a:p>

<a:fld
id="{520D00AB-20BA-4991-ACE0-DBA3E20F63D0}" type="datetimeFigureOut">

<a:rPr lang="en-US" smtClean="0"/>

<a:t>6/12/2008</a:t>

</a:fld>

<a:endParaRPr lang="en-US"/>

</a:p>

</p:txBody>

</p:sp>

<p:sp>

<p:nvSpPr>

<p:cNvPr id="5" name="Footer Placeholder 4"/>

<p:cNvSpPr>

<a:spLocks noGrp="1"/>

</p:cNvSpPr>

<p:nvPr>

<p:ph type="ftr" sz="quarter" idx="11"/>

</p:nvPr>

</p:nvSpPr>

<p:spPr/>

<p:txBody>

<a:bodyPr/>

<a:lstStyle/>

<a:p>

<a:endParaRPr lang="en-US"/>

</a:p>

</p:txBody>

</p:sp>

<p:sp>

<p:nvSpPr>

<p:cNvPr id="6" name="Slide Number Placeholder
5"/>

<p:cNvSpPr>

<a:spLocks noGrp="1"/>

</p:cNvSpPr>

<p:nvPr>

<p:ph type="sldNum" sz="quarter" idx="12"/>

</p:nvPr>

</p:nvSpPr>

<p:spPr/>

<p:txBody>

<a:bodyPr/>

<a:lstStyle/>

<a:p>

<a:fld
id="{C6B2EECF-23C3-4AE6-8F60-3D48DBDBCAC4}" type="slidenum">

<a:rPr lang="en-US" smtClean="0"/>

<a:t>‹#›</a:t>

</a:fld>

<a:endParaRPr lang="en-US"/>

</a:p>

</p:txBody>

</p:sp>

</p:spTree>

</p:cSld>

<p:clrMapOvr>

<a:masterClrMapping/>

</p:clrMapOvr>

</p:sldLayout>


The simple example that I am referring to was created in powerpoint
2007, and all I did was open a new file, change the title field to say
‘title’ and the subtitle field to say ‘subtitle’ and then I saved as
..pptx. So more complete versions of this code could be generated very
easily with powerpoint 2007 if more code is needed. Also Ive placed
the file at http://www.windwardreports.com/temp/sample_pptx.zip

thanks - dave


david@[email protected]
Windward Reports -- http://www.WindwardReports.com
me -- http://dave.thielen.com

Cubicle Wars - http://www.windwardreports.com/film.htm
 
J

Jialiang Ge [MSFT]

Hello Dave,

This a quick note to let you know that I am performing research on this
issue and will get back to you as soon as possible. I appreciate your
patience.

Regards,
Jialiang Ge ([email protected], remove 'online.')
Microsoft Online Community Support

=================================================
Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
(e-mail address removed).

This posting is provided "AS IS" with no warranties, and confers no rights.
=================================================
 
J

Jialiang Ge [MSFT]

Hello Dave,

Sorry for my delayed response.

For the first question "which Slide layout it is referencing to get
formatting information"
PowerPoint 2007 looks in ppt/slides/_rels/slide1.xml.rels for the slide
layout xml.

For the second question, the "Title Slide" layout used in the example does
not have a placeholder with bullet level text (p:txBody) defined for it.
It has a:lstStyle defined. You can see the difference in the definitions
of slideLayout1.xml ("Title Slide") and slideLayout2.xml ("Title and
Content").

1. slideLayout1.xml
<p:sp>
<p:nvSpPr>
<p:cNvPr id="3" name="Subtitle 2"/>
<p:cNvSpPr>
<a:spLocks noGrp="1"/>
</p:cNvSpPr>
<p:nvPr>
<p:ph type="subTitle" idx="1"/>
</p:nvPr>
</p:nvSpPr>
<p:spPr>
<a:xfrm>
<a:eek:ff x="1371600" y="3886200"/>
<a:ext cx="6400800" cy="1752600"/>
</a:xfrm>
</p:spPr>
<p:txBody>
<a:bodyPr/>
<a:lstStyle>
<a:lvl1pPr marL="0" indent="0" algn="ctr">
<a:buNone/>
<a:defRPr>
<a:solidFill>
<a:schemeClr val="tx1">
<a:tint val="75000"/>
</a:schemeClr>
</a:solidFill>
</a:defRPr>
</a:lvl1pPr>
<a:lvl2pPr marL="457200" indent="0" algn="ctr">
<a:buNone/>
<a:defRPr>
<a:solidFill>
<a:schemeClr val="tx1">
<a:tint val="75000"/>
</a:schemeClr>
</a:solidFill>
</a:defRPr>
</a:lvl2pPr>
<snip - continues through a:lvl9pPr>
</a:lstStyle>
<a:p>
<a:r>
<a:rPr lang="en-US" smtClean="0"/>
<a:t>Click to edit Master subtitle style</a:t>
</a:r>
<a:endParaRPr lang="en-US"/>
</a:p>
</p:txBody>
</p:sp>

2. slideLayout2.xml
<p:sp>
<p:nvSpPr>
<p:cNvPr id="3" name="Content Placeholder 2"/>
<p:cNvSpPr>
<a:spLocks noGrp="1"/>
</p:cNvSpPr>
<p:nvPr>
<p:ph idx="1"/>
</p:nvPr>
</p:nvSpPr>
<p:spPr/>
<p:txBody>
<a:bodyPr/>
<a:lstStyle/>
<a:p>
<a:pPr lvl="0"/>
<a:r>
<a:rPr lang="en-US" smtClean="0"/>
<a:t>Click to edit Master text styles</a:t>
</a:r>
</a:p>
<a:p>
<a:pPr lvl="1"/>
<a:r>
<a:rPr lang="en-US" smtClean="0"/>
<a:t>Second level</a:t>
</a:r>
</a:p>
<a:p>
<a:pPr lvl="2"/>
<a:r>
<a:rPr lang="en-US" smtClean="0"/>
<a:t>Third level</a:t>
</a:r>
</a:p>
<snip - continues through a:pPr lvl="5">
</p:txBody>
</p:sp>

If you have anything else unclear, please don't hesitate to tell me.


Regards,
Jialiang Ge ([email protected], remove 'online.')
Microsoft Online Community Support

Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
(e-mail address removed).

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
 
D

David Thielen

Note: This is from one of our developers here. The sample file is at
http://www.windwardreports.com/temp/Title - Copy.zip

thanks - dave


Dear Jialiang Ge,

Thanks for your response on my questions. Your answer to my
first question was exactly what I was looking for, but im still a
little unclear on the second one. Im still trying to figure out where
the formatting is being pulled from for a given shape, when there is
no lvl property specified, and no direct formatting. So for example in
the code below in the slide file there is no direct formatting or any
levels being specified, and then in the layout file, you have some
text placeholders specified with level’s specified, but how can you
tell which place holder the text from the slide is using ?



From slide2.xml


<p:sp>

<p:nvSpPr>

<p:cNvPr id="3" name="Content Placeholder 2"/>

<p:cNvSpPr>

<a:spLocks noGrp="1"/>

</p:cNvSpPr>

<p:nvPr>

<p:ph idx="1"/>

</p:nvPr>

</p:nvSpPr>

<p:spPr/>

<p:txBody>

<a:bodyPr/>

<a:lstStyle/>

<a:p>

<a:r>

<a:rPr lang="en-US" dirty="0"
smtClean="0"/>

<a:t>Bullet 1</a:t>

</a:r>

</a:p>

<a:p>

<a:r>

<a:rPr lang="en-US" dirty="0"
smtClean="0"/>

<a:t>Bullet 2</a:t>

</a:r>

</a:p>

<a:p>

<a:r>

<a:rPr lang="en-US" dirty="0"
smtClean="0"/>

<a:t>Bullet </a:t>

</a:r>

<a:r>

<a:rPr lang="en-US" dirty="0" err="1"
smtClean="0"/>

<a:t>tre</a:t>

</a:r>

<a:endParaRPr lang="en-US" dirty="0"
smtClean="0"/>

</a:p>

</p:txBody>

</p:sp>



From slidelayout2.xml
<p:sp>

<p:nvSpPr>

<p:cNvPr id="3" name="Content Placeholder 2"/>

<p:cNvSpPr>

<a:spLocks noGrp="1"/>

</p:cNvSpPr>

<p:nvPr>

<p:ph idx="1"/>

</p:nvPr>

</p:nvSpPr>

<p:spPr/>

<p:txBody>

<a:bodyPr/>

<a:lstStyle/>

<a:p>

<a:pPr lvl="0"/>

<a:r>

<a:rPr lang="en-US" smtClean="0"/>

<a:t>Click to edit Master text
styles</a:t>

</a:r>

</a:p>

<a:p>

<a:pPr lvl="1"/>

<a:r>

<a:rPr lang="en-US" smtClean="0"/>

<a:t>Second level</a:t>

</a:r>

</a:p>

<a:p>

<a:pPr lvl="2"/>

<a:r>

<a:rPr lang="en-US" smtClean="0"/>

<a:t>Third level</a:t>

</a:r>

</a:p>

<a:p>

<a:pPr lvl="3"/>

<a:r>

<a:rPr lang="en-US" smtClean="0"/>

<a:t>Fourth level</a:t>

</a:r>

</a:p>

<a:p>

<a:pPr lvl="4"/>

<a:r>

<a:rPr lang="en-US" smtClean="0"/>

<a:t>Fifth level</a:t>

</a:r>

<a:endParaRPr lang="en-US"/>

</a:p>

</p:txBody>

</p:sp>



slideMaster1.xml



<p:sp>

<p:nvSpPr>

<p:cNvPr id="3" name="Text Placeholder 2"/>

<p:cNvSpPr>

<a:spLocks noGrp="1"/>

</p:cNvSpPr>

<p:nvPr>

<p:ph type="body" idx="1"/>

</p:nvPr>

</p:nvSpPr>

<p:spPr>

<a:xfrm>

<a:eek:ff x="457200" y="1600200"/>

<a:ext cx="8229600" cy="4525963"/>

</a:xfrm>

<a:prstGeom prst="rect">

<a:avLst/>

</a:prstGeom>

</p:spPr>

<p:txBody>

<a:bodyPr vert="horz" lIns="91440" tIns="45720"
rIns="91440" bIns="45720"

rtlCol="0">

<a:normAutofit/>

</a:bodyPr>

<a:lstStyle/>

<a:p>

<a:pPr lvl="0"/>

<a:r>

<a:rPr lang="en-US" smtClean="0"/>

<a:t>Click to edit Master text
styles</a:t>

</a:r>

</a:p>

<a:p>

<a:pPr lvl="1"/>

<a:r>

<a:rPr lang="en-US" smtClean="0"/>

<a:t>Second level</a:t>



Etc…. the rest looks the same as from the
slideLayout



</p:txBody>

</p:sp>



Ok, heres another example: below is the xml for a shape starting from
the slide file and going all the way up to the slidemaster, and
between the 3 shapes defined in each file there is no specific
formatting, or any type of attribute indicating where to look for the
formatting. By the way this is from slide2.xml ->slideLayout2.xml ->
slideMaster1.xml. In the master there are some bodyProperties set, but
they only deal with the internal margins of a textbox, but for my
application I need to know where to look for the font and the size.



And I know that in the slideMaster there are defRPr’s (default run
properties) but these are defined within level’s so to get these
default values you would still need to reference one of the level’s
somewhere.



Slide1.xml

<p:sp>

<p:nvSpPr>

<p:cNvPr id="2" name="Title 1"/>

<p:cNvSpPr>

<a:spLocks noGrp="1"/>

</p:cNvSpPr>

<p:nvPr>

<p:ph type="title"/>

</p:nvPr>

</p:nvSpPr>

<p:spPr/>

<p:txBody>

<a:bodyPr>

<a:normAutofit/>

</a:bodyPr>

<a:lstStyle/>

<a:p>

<a:r>

<a:rPr lang="en-US" dirty="0"
smtClean="0"/>

<a:t>Slide 1 Title</a:t>

</a:r>

<a:endParaRPr lang="en-US" dirty="0"/>

</a:p>

</p:txBody>

</p:sp>



slideLayout2.xml


<p:sp>

<p:nvSpPr>

<p:cNvPr id="2" name="Title 1"/>

<p:cNvSpPr>

<a:spLocks noGrp="1"/>

</p:cNvSpPr>

<p:nvPr>

<p:ph type="title"/>

</p:nvPr>

</p:nvSpPr>

<p:spPr/>

<p:txBody>

<a:bodyPr/>

<a:lstStyle/>

<a:p>

<a:r>

<a:rPr lang="en-US" smtClean="0"/>

<a:t>Click to edit Master title
style</a:t>

</a:r>

<a:endParaRPr lang="en-US"/>

</a:p>

</p:txBody>

</p:sp>



slideMaster1.xml



<p:sp>

<p:nvSpPr>

<p:cNvPr id="2" name="Title Placeholder 1"/>

<p:cNvSpPr>

<a:spLocks noGrp="1"/>

</p:cNvSpPr>

<p:nvPr>

<p:ph type="title"/>

</p:nvPr>

</p:nvSpPr>

<p:spPr>

<a:xfrm>

<a:eek:ff x="457200" y="274638"/>

<a:ext cx="8229600" cy="1143000"/>

</a:xfrm>

<a:prstGeom prst="rect">

<a:avLst/>

</a:prstGeom>

</p:spPr>

<p:txBody>

<a:bodyPr vert="horz" lIns="91440" tIns="45720"
rIns="91440" bIns="45720"

rtlCol="0" anchor="ctr">

<a:normAutofit/>

</a:bodyPr>

<a:lstStyle/>

<a:p>

<a:r>

<a:rPr lang="en-US" smtClean="0"/>

<a:t>Click to edit Master title
style</a:t>

</a:r>

<a:endParaRPr lang="en-US"/>

</a:p>

</p:txBody>

</p:sp>


Ok this is my last example but it illustrates the same point. Again
there is no formatting information or anything that points to where I
should look to get the formatting info. There was no matching
placeholder in slideMaster1.xml



Slide1.xml



<p:sp>

<p:nvSpPr>

<p:cNvPr id="2" name="Title 1"/>

<p:cNvSpPr>

<a:spLocks noGrp="1"/>

</p:cNvSpPr>

<p:nvPr>

<p:ph type="ctrTitle"/>

</p:nvPr>

</p:nvSpPr>

<p:spPr>

<a:xfrm rot="19790816">

<a:eek:ff x="-4249" y="2233626"/>

<a:ext cx="7772400" cy="1470025"/>

</a:xfrm>

<a:ln>

<a:solidFill>

<a:schemeClr val="accent1"/>

</a:solidFill>

</a:ln>

</p:spPr>

<p:txBody>

<a:bodyPr/>

<a:lstStyle/>

<a:p>

<a:r>

<a:rPr lang="en-US" dirty="0"
smtClean="0"/>

<a:t>Title</a:t>

</a:r>

<a:endParaRPr lang="en-US" dirty="0"/>

</a:p>

</p:txBody>

</p:sp>



slideLayout1.xml



<p:sp>

<p:nvSpPr>

<p:cNvPr id="2" name="Title 1"/>

<p:cNvSpPr>

<a:spLocks noGrp="1"/>

</p:cNvSpPr>

<p:nvPr>

<p:ph type="ctrTitle"/>

</p:nvPr>

</p:nvSpPr>

<p:spPr>

<a:xfrm>

<a:eek:ff x="685800" y="2130425"/>

<a:ext cx="7772400" cy="1470025"/>

</a:xfrm>

</p:spPr>

<p:txBody>

<a:bodyPr/>

<a:lstStyle/>

<a:p>

<a:r>

<a:rPr lang="en-US" smtClean="0"/>

<a:t>Click to edit Master title
style</a:t>

</a:r>

<a:endParaRPr lang="en-US"/>

</a:p>

</p:txBody>

</p:sp>



There is no ctrTitle placeholder in slideMaster1.xml



Ive attached the source files for the pptx as a .zip file.



Thanks for your help

-Adam M.



Windward Studios Development Team


david@[email protected]
Windward Reports -- http://www.WindwardReports.com
me -- http://dave.thielen.com

Cubicle Wars - http://www.windwardreports.com/film.htm
 
J

Jialiang Ge [MSFT]

Hello Dave and Adam,

If there is no formatting specified, the shape should follow the definitions
in the theme applied to its slide (/master/layout). See
/ppt/theme/theme1.xml. This works for all your examples at the bottom of the
message.

Regards,
Jialiang Ge ([email protected], remove 'online.')
Microsoft Online Community Support

=================================================
Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
(e-mail address removed).

This posting is provided "AS IS" with no warranties, and confers no rights.
=================================================
 
D

David Thielen

Dear Jialiang Ge,
I looked in the theme.xml file and I don’t see where
this formatting is. For example in one of the code samples I sent to
you, the text should be rendered as a bulleted list, where is this
information, and where is the info about what type of bullet it uses.
Also I need to know the size of the text for a given shape. Can you
show me where in the theme file I find this information.



Hello Dave and Adam,

If there is no formatting specified, the shape should follow the definitions
in the theme applied to its slide (/master/layout). See
/ppt/theme/theme1.xml. This works for all your examples at the bottom of the
message.

Regards,
Jialiang Ge ([email protected], remove 'online.')
Microsoft Online Community Support

=================================================
Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
(e-mail address removed).

This posting is provided "AS IS" with no warranties, and confers no rights.
=================================================


david@[email protected]
Windward Reports -- http://www.WindwardReports.com
me -- http://dave.thielen.com

Cubicle Wars - http://www.windwardreports.com/film.htm
 
J

Jialiang Ge [MSFT]

Hello Dave and Adam,

Sorry for letting you wait. I have discussed it with the powerpoint team.
They told me the bullet style/type is defined in slideMaster1.xml:

<a:lvl1pPr marL="342900" indent="-342900" algn="l" defTabSz="914400"
rtl="0" eaLnBrk="1" latinLnBrk="0" hangingPunct="1">
- <a:spcBef>
<a:spcPct val="20000" />
</a:spcBef>
<a:buFont typeface="Arial" pitchFamily="34" charset="0" />
<a:buChar char="o" />
- <a:defRPr sz="3200" kern="1200">
- <a:solidFill>
<a:schemeClr val="tx1" />
</a:solidFill>
<a:latin typeface="+mn-lt" />
<a:ea typeface="+mn-ea" />
<a:cs typeface="+mn-cs" />
</a:defRPr>
</a:lvl1pPr>

And to disable the bullet in the slide, we add this in slide2.xml
- <a:pPr>
<a:buNone />
</a:pPr>

For example:
<a:p>
- <a:pPr>
<a:buNone />
</a:pPr>
- <a:r>
<a:rPr lang="en-US" dirty="0" smtClean="0" />
<a:t>Bullet 1</a:t>
</a:r>
</a:p>

Of course, the bullet style can also be overridden in the slide2.xml, for
example:

<a:p>
- <a:pPr>
<a:buFont typeface="Courier New" pitchFamily="49" charset="0" />
<a:buChar char="o" />
</a:pPr>
- <a:r>
<a:rPr lang="en-US" dirty="0" smtClean="0" />
<a:t>Bullet 1</a:t>
</a:r>
</a:p>
- <a:p>

Regarding the size of the text for a given shape, it is also defined in
slideMaster1.xml when nowhere else overrides it. For example, in the
slide1.xml, the title's font size is 44. It's defined in slideMaster1.xml:
a:defRPr sz="4400"

<p:titleStyle>
- <a:lvl1pPr algn="ctr" defTabSz="914400" rtl="0" eaLnBrk="1"
latinLnBrk="0" hangingPunct="1">
- <a:spcBef>
<a:spcPct val="0" />
</a:spcBef>
<a:buNone />
- <a:defRPr sz="4400" kern="1200">
- <a:solidFill>
<a:schemeClr val="tx1" />
</a:solidFill>
<a:latin typeface="+mj-lt" />
<a:ea typeface="+mj-ea" />
<a:cs typeface="+mj-cs" />
</a:defRPr>
</a:lvl1pPr>
</p:titleStyle>

The font name uses the major font in theme1.xml.

Please let me know if you have any other concerns, or need anything else.

Regards,
Jialiang Ge ([email protected], remove 'online.')
Microsoft Online Community Support

Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
(e-mail address removed).

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
 
D

David Thielen

This appears to answer it - thank you very much.


Hello Dave and Adam,

Sorry for letting you wait. I have discussed it with the powerpoint team.
They told me the bullet style/type is defined in slideMaster1.xml:

<a:lvl1pPr marL="342900" indent="-342900" algn="l" defTabSz="914400"
rtl="0" eaLnBrk="1" latinLnBrk="0" hangingPunct="1">
- <a:spcBef>
<a:spcPct val="20000" />
</a:spcBef>
<a:buFont typeface="Arial" pitchFamily="34" charset="0" />
<a:buChar char="o" />
- <a:defRPr sz="3200" kern="1200">
- <a:solidFill>
<a:schemeClr val="tx1" />
</a:solidFill>
<a:latin typeface="+mn-lt" />
<a:ea typeface="+mn-ea" />
<a:cs typeface="+mn-cs" />
</a:defRPr>
</a:lvl1pPr>

And to disable the bullet in the slide, we add this in slide2.xml
- <a:pPr>
<a:buNone />
</a:pPr>

For example:
<a:p>
- <a:pPr>
<a:buNone />
</a:pPr>
- <a:r>
<a:rPr lang="en-US" dirty="0" smtClean="0" />
<a:t>Bullet 1</a:t>
</a:r>
</a:p>

Of course, the bullet style can also be overridden in the slide2.xml, for
example:

<a:p>
- <a:pPr>
<a:buFont typeface="Courier New" pitchFamily="49" charset="0" />
<a:buChar char="o" />
</a:pPr>
- <a:r>
<a:rPr lang="en-US" dirty="0" smtClean="0" />
<a:t>Bullet 1</a:t>
</a:r>
</a:p>
- <a:p>

Regarding the size of the text for a given shape, it is also defined in
slideMaster1.xml when nowhere else overrides it. For example, in the
slide1.xml, the title's font size is 44. It's defined in slideMaster1.xml:
a:defRPr sz="4400"

<p:titleStyle>
- <a:lvl1pPr algn="ctr" defTabSz="914400" rtl="0" eaLnBrk="1"
latinLnBrk="0" hangingPunct="1">
- <a:spcBef>
<a:spcPct val="0" />
</a:spcBef>
<a:buNone />
- <a:defRPr sz="4400" kern="1200">
- <a:solidFill>
<a:schemeClr val="tx1" />
</a:solidFill>
<a:latin typeface="+mj-lt" />
<a:ea typeface="+mj-ea" />
<a:cs typeface="+mj-cs" />
</a:defRPr>
</a:lvl1pPr>
</p:titleStyle>

The font name uses the major font in theme1.xml.

Please let me know if you have any other concerns, or need anything else.

Regards,
Jialiang Ge ([email protected], remove 'online.')
Microsoft Online Community Support

Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
(e-mail address removed).

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.


david@[email protected]
Windward Reports -- http://www.WindwardReports.com
me -- http://dave.thielen.com

Cubicle Wars - http://www.windwardreports.com/film.htm
 
Top