- edited description
OpenXML Filter: PPTX: selective parts translation and reordering
There was some related work done for notes and comments reordering in the scope of issue . And this is for other known parts left. In particular, the following translation and ordering options are going to be covered (placed in the extraction order):#835
General document section
1. core-properties
type, e.g. docProps/core.xml
bPreferenceTranslateDocProperties.b=true
(available)
bPreferenceReorderDocProperties.b=false
- if it is set to true
, the properties will be placed in this order
bPreferenceTranslatePowerpointMasters.b=true
(available)
2. slideMaster
type, e.g. ppt/slideMasters/slideMaster1.xml
- slide masters will be placed in this order unconditionally if the bPreferenceTranslatePowerpointMasters
is set to true
Related parts:
diagramData
type. e.g.ppt/diagrams/data1.xml
bPreferenceTranslateDiagramData.b=true
- if it is set to true
, all diagram data parts will be eligible for translation
bPreferenceReorderDiagramData.b=false
- if it is set to true
, all diagram data parts will be eligible for reordering
chart
type, e.g.ppt/charts/chart1.xml
bPreferenceTranslateCharts.b=true
- if it is set to true
, all chart parts will be eligible for translation
bPreferenceReorderCharts.b=false
- if it is set to true
, all chart parts will be eligible for reordering
-
slideLayout
type, e.g.ppt/slideLayouts/slideLayout1.xml
Related parts:diagramData
type. e.g.ppt/diagrams/data2.xml
chart
type, e.g.ppt/charts/chart2.xml
...
3. notesMaster
type, e.g. ppt/notesMasters/notesMaster1.xml
- notes masters will be placed in this order unconditionally if the bPreferenceTranslatePowerpointMasters
is set to true
...
4. handoutMaster
type, e.g. ppt/handoutMasters/handoutMaster1.xml
- out of scope (issue #1175), it should be made available for translation under the bPreferenceTranslatePowerpointMasters
option and placed in this order
...
Slides section
slide
type, e.g.ppt/slides/slide1.xml
Related parts:
ppt/slides/_rels/slide1.xml.rels
- can contain external hyperlinks (parameterbExtractExternalHyperlinks
has to be set totrue
),bReorderRelationships.b=false
- if it is set totrue
, all relationship parts will be eligible for reorderingdiagramData
type. e.g.ppt/diagrams/data1.xml
chart
type, e.g.ppt/charts/chart1.xml
notesSlide
type, e.g.ppt/notesSlides/notesSlide1.xml
bPreferenceTranslatePowerpointNotes.b=true
- (available)
bReorderPowerpointNotesAndComments.b=false
- (available)
bPreferenceReorderPowerpointNotes.b=false
- substitutes thebReorderPowerpointNotesAndComments
parameter, if it is set totrue
, all notes will be eligible for reorderingcomments
type, e.g.ppt/comments/comment1.xml
bPreferenceTranslateComments.b=true
- (available)
bPreferenceReorderPowerpointComments.b=false
- substitutes thebReorderPowerpointNotesAndComments
parameter, if it is set totrue
, all comments will be eligible for reordering
...
Other parts section
...
The bPreferenceTranslateExcelDiagramData.b=false
parameter should be substituted by the bPreferenceTranslateDiagramData.b=false
one.
Also, the parameters, which are going to be substituted, will be marked as deprecated.
A sample document is attached.
Comments (13)
-
reporter -
reporter - edited description
-
reporter - edited description
-
reporter - edited description
-
reporter - edited description
-
reporter - edited description
-
reporter - edited description
-
reporter - edited description
-
reporter - edited description
-
reporter - edited description
-
reporter - edited description
-
reporter
A related pull request #665 was opened.
-
reporter - changed status to resolved
Pull request #665 was merged.
- Log in to comment