How to get all text in presentation without Title?


  • Hello!

    I have an issue. I want to receive text from a slide without Title. In an example "How to: Get all the text in all slides in a presentation" we recieve whole text by tag <t> in XML, title + text. What can you advice in this situation?

    jeudi 5 juillet 2018 10:01


  • Hi Artemisonfire,

    Thanks for posting on MSDN forum

    There is no difference between title and common text on the Open XML view. Both of them are Shape->TextBody->Paragraph->Run->Text. 

    The only difference may be the format. Or the first shape may be the title shape. Or you can also determine whether the shape contains title by the  p:nvSpPr(NonVisualShapeProperties) element, it should contain a name property with value like "Title..." like figure below:

    However all these is not guaranteed. You may consider retrieve all the text from the presentation and remove all the title text if it is possible.

    And the Open XML SDK 2.5 productivity Tool is very helpful for developing with Open XML. I recommend you that parse the presentation and reflect the code to get quickly get started for your scenario.

    Hope it is helpful.

    Regards & Fei

    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact

    • Marqué comme réponse Artemisonfire lundi 9 juillet 2018 08:49
    vendredi 6 juillet 2018 09:16