Does anyone know how character styles are inherited in a pptx file? I know that it goes at least like this:
- Local Run props (
a:rPr
) - Local Paragraph props (
a:pPr/a:defRPr
) - Shape Paragraph props (
a:lstStyle/a:lvlXpPr/a:defRPr
) - Paragraph props from Layout?
- Master Slide Paragraph props (
p:txStyles/(p:titleStyle|p:bodyStyle|p:otherStyle)/a:lvlXpPr/a:defRPr
) - Slide Theme (
a:objectDefaults/(a:spDef|a:lnDef|a:txDef)/a:lstStyle/a:lvlXpPr/a:defRPr
) - Presentation Defaults (
p:defaultTextStyle/a:lvlXpPr/a:defRPr
)
But, when I compare it to the results of other applications, it doesn't match. Due to technical reasons, I can't use a library that already does this for me, I am reading the xml myself. The apache POI source has some TODO:
markings in the relevant areas, and I am having trouble understanding the LibreOffice code.
Edit: To explain further, I want to find the absolute run properties, not the relative run properties. On could think of it like this: you have several transparencies for an overhead projector. I want to see the image created from all of the pages, not just the local one.