OpenXml > pptx > All content of master slide extracted, even if not edited

Issue #510 resolved
Sonja Karrer created an issue

When I extract a pptx file selecting the option "Translate Masters", all content of the master slides will be extracted, including the template texts such as "Click to edit" or "First level/layer", ... . Those texts, though, should not be translated.

I attached an example document and a screenshot, where I marked content that should not be translated.

Comments (9)

  1. Sebastian Ebert

    There are two other things as well concerning the OpenXML filters: 1) Sometimes Excel spreadsheets are embedded within Word or Powerpoint files. They are editable, but are not extracted for translation. 2) If one usesed a glossary within an Word document, those entries are not extraced as well. One needs to translate them manually directly in the Word document. It would probably make sense to turn those two into feature requests. I only put them here since this issue seems to be related to a general OpenXML filter refactoring.

  2. Chase Tingley

    Hi @eraser17, can you file those two as separate issues?

    @Sonja_24t, we will take a look. Thanks!

  3. Chase Tingley

    There's nothing obviously different in the structure of the document between the layout/master text that should and shouldn't be displayed. There must be something hidden in the properties metadata, but I have not had the time to research it deeply enough to figure out. If anybody wants to work out what property or set of properties we should be using to decide, that would be great.

  4. Christopher Cudennec Account Deactivated

    We finally managed to do some research here. We'll probably give the non visual shape property "userDrawn" a try:

    <p:nvPr userDrawn="1"/>
    

    That property is set for shapes that were manually added to a master layout,

    Actually we're only interested in those texts that are visible on the slides. The default texts of the master shapes are not really visible on the presentation slides.

  5. Log in to comment