wordpress hit counter
Welcome to OpenXML Developer Sign in | Join | Help

Where are textbox default settings?

Last post 07-28-2009, 4:32 PM by fwdev. 4 replies.
Sort Posts: Previous Next
  •  06-30-2009, 10:19 AM 7092

    Where are textbox default settings?

    Dear OpenXml developers,

    Open PowerPoint and insert a text box, I see in Font toolbar a font name, Calibri (Body), and a size, 18. Where come these default settings? After the pptx file is saved, does these settings go to any xml part of the the package, or these are settings from application not save to anywhere in the package?

    Thank in advance,
    Ed.
  •  07-22-2009, 12:55 PM 7203 in reply to 7092

    Re: Where are textbox default settings?

    I believe these are application defaults. If they are saved (sometimes they are), they will be in 'ppt/presentation.xml' in 'lvl1pPr' of 'defaultTextStyle'.

    Hope this helps!
    fwdev
  •  07-26-2009, 9:56 AM 7216 in reply to 7203

    Re: Where are textbox default settings?

    Yes. Follow your direction, I change size into '2800':
    ('sz' attribute value at 'p:presentation/p:defaultTextStyle/a:lvl1pPr/a:defRPr')
    and font into 'Impact':
    ('typeface' attribute value at 'p:presentation/p:defaultTextStyle/a:lvl1pPr/a:defRPr/a:latin').
    Next time when I open the file in PowerPoint, both get applied. You are right that here is the place for default text box settings.

    Thank you very much.
    Ed.

  •  07-26-2009, 10:07 AM 7217 in reply to 7216

    Re: Where are textbox default settings?

    Hi fwde,

    Your reply is very helpful. Now, I know that 'lvl1pPr' in 'defaultTextStyle' is responsible for text box default setting. Thanks. BTW, could you please tell me, in parallel, what 'lvl2pPr', 'lvl3pPr'... 'lvl9pPr' are possibly used for? I am curious after I know what the first one is used for.

    Thanks again,
    Ed.
  •  07-28-2009, 4:32 PM 7235 in reply to 7217

    Re: Where are textbox default settings?

    Those are paragraph levels. They are used to apply different styles to paragraphs, based on what level the paragraph is at. You will mainly see them used to distinguish what bullet characters/autonumbering types/indenting are applied to paragraphs.

    - fwdev
View as RSS news feed in XML