Welcome to OpenXML Developer Sign in | Join | Help

how to select text style property?

Last post 09-22-2008, 4:34 PM by ljopenxml. 0 replies.
Sort Posts: Previous Next
  •  09-22-2008, 4:34 PM 3726

    how to select text style property?

    Normal 0 false false false MicrosoftInternetExplorer4 st1\:*{behavior:url(#ieooui) } /* Style Definitions */ table.MsoNormalTable {mso-style-name:"Table Normal"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-parent:""; mso-padding-alt:0in 5.4pt 0in 5.4pt; mso-para-margin:0in; mso-para-margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:10.0pt; font-family:"Times New Roman"; mso-fareast-font-family:"Times New Roman"; mso-ansi-language:#0400; mso-fareast-language:#0400; mso-bidi-language:#0400;} Hi All,

    Usually in slideMaster.xml, there is predefined text style like this:

        <p:txStyles>
            <p:titleStyle>
            ....
            </p:titleStyle>
            <p:bodyStyle>
            .....
            </p:bodyStyle>
            <p:otherStyle>
            ....
            </p:otherStyle>
        </p:txStyles>


    May I know for text box, which text style I will chose?  title/body or other.
    One of the "text box" shape property like this:

        <p:nvSpPr>
            <p:cNvPr id="361478" name="Text Box 6" />
            <p:cNvSpPr txBox="1">
                <a:spLocks noChangeArrowheads="1" />
            </p:cNvSpPr>
            <p:nvPr />
        </p:nvSpPr>


    I tried to use other text style in slideMaster.xml, but got wrong text size and color.  If I use default text style in presentation.xml, then it is correct.  But for some other pptx document, "other text style" definition in slideMaster.xml works fine.

    This make me confused.  Please help me to figure out what is the criteria to select text style in slideMaster.xml and presentation.xml.

    Thanks!




View as RSS news feed in XML