- changed title to OpeXML Filter: introduce flexible configuration options
OpeXML Filter: introduce flexible configuration options
This is a follow-up to the started discussion in pull request #665:
Denis Konovalyenko
One additional thought on the possibility of the future use. As the OpenXML filter supports 3 types of documents (DOCX, PPTX, XLSX), there can appear cases when the translation or reordering may require different behaviour - saying, we want to translate (and/or reorder) comments for DOCX documents only. I am wondering whether such flexibility would be demanded.
Jim Hargrave Work
…
Good point about different options for docx etc.. As the OpenXml filter evolves I think we will need to specify specific options for each format. Other filters define a different default config per file type (.xliff, .sdlxliff, .iwsxliff etc..). Maybe we can do the same for docx, pptx and xlsx?
Denis Konovalyenko
…
As for the options separation per document type, I assume we can introduce some sort of namespaces:
generalConfiguration.translateSomething.b=true
wordConfiguration.translateSomething.b=true
powerpointConfiguration.translateSomething.b=true
excelConfiguration.translateSomething.b=true
and think about the best way of overriding.
…
Comments (3)
-
reporter -
reporter - edited description
-
I think the namespace addition is clear. I think ultimately it would be nice to have separate fprm files for each format as this would be cleaner and easier to read. But this will do for now.
- Log in to comment