https://github.com/opensagres/xdocreport depends on the full ooxml-schemas
jar as opposed to the poi-ooxml-schemas.jar. I was under the impression that
the latter jar contained the ooxml-schema classes that we expect to suffice
in most cases.
xdocreport won't compile with just poi-ooxml-schemas. Is it possible that we
are missing a few classes in poi-ooxml-schemas.jar that we should add?
I have pasted the errors from my test build below.
A 2nd topic is that this project depends very heavily on the generated CT
classes - presumably because the XWPF code base does not expose the
necessary features directly.
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile)
on project fr.opensagres.poi.xwpf.converter.core: Compilation failure:
Compilation failure:
[ERROR]
/Users/pj.fanning/code/xdocreport/thirdparties-extension/fr.opensagres.poi.xwpf.converter.core/src/main/java/fr/opensagres/poi/xwpf/converter/core/styles/table/cell/AbstractTableCellValueProvider.java:[30,62]
cannot find symbol
[ERROR] symbol: class CTTblStylePr
[ERROR] location: package
org.openxmlformats.schemas.wordprocessingml.x2006.main
[ERROR]
/Users/pj.fanning/code/xdocreport/thirdparties-extension/fr.opensagres.poi.xwpf.converter.core/src/main/java/fr/opensagres/poi/xwpf/converter/core/styles/table/cell/AbstractTableCellValueProvider.java:[56,28]
cannot find symbol
[ERROR] symbol: class CTTblStylePr
[ERROR] location: class
fr.opensagres.poi.xwpf.converter.core.styles.table.cell.AbstractTableCellValueProvider
[ERROR]
/Users/pj.fanning/code/xdocreport/thirdparties-extension/fr.opensagres.poi.xwpf.converter.core/src/main/java/fr/opensagres/poi/xwpf/converter/core/styles/XWPFStylesDocument.java:[54,62]
cannot find symbol
[ERROR] symbol: class CTFont
[ERROR] location: package
org.openxmlformats.schemas.wordprocessingml.x2006.main
[ERROR]
/Users/pj.fanning/code/xdocreport/thirdparties-extension/fr.opensagres.poi.xwpf.converter.core/src/main/java/fr/opensagres/poi/xwpf/converter/core/styles/XWPFStylesDocument.java:[73,62]
cannot find symbol
[ERROR] symbol: class CTTextDirection
[ERROR] location: package
org.openxmlformats.schemas.wordprocessingml.x2006.main
[ERROR]
/Users/pj.fanning/code/xdocreport/thirdparties-extension/fr.opensagres.poi.xwpf.converter.core/src/main/java/fr/opensagres/poi/xwpf/converter/core/styles/XWPFStylesDocument.java:[75,62]
cannot find symbol
[ERROR] symbol: class CTTwipsMeasure
[ERROR] location: package
org.openxmlformats.schemas.wordprocessingml.x2006.main
[ERROR]
/Users/pj.fanning/code/xdocreport/thirdparties-extension/fr.opensagres.poi.xwpf.converter.core/src/main/java/fr/opensagres/poi/xwpf/converter/core/styles/XWPFStylesDocument.java:[76,62]
cannot find symbol
[ERROR] symbol: class FontsDocument
[ERROR] location: package
org.openxmlformats.schemas.wordprocessingml.x2006.main
[ERROR]
/Users/pj.fanning/code/xdocreport/thirdparties-extension/fr.opensagres.poi.xwpf.converter.core/src/main/java/fr/opensagres/poi/xwpf/converter/core/styles/table/cell/AbstractTableCellValueProvider.java:[79,45]
cannot find symbol
[ERROR] symbol: class CTTblStylePr
[ERROR] location: class
fr.opensagres.poi.xwpf.converter.core.styles.table.cell.AbstractTableCellValueProvider
[ERROR]
/Users/pj.fanning/code/xdocreport/thirdparties-extension/fr.opensagres.poi.xwpf.converter.core/src/main/java/fr/opensagres/poi/xwpf/converter/core/styles/AbstractValueProvider.java:[213,123]
package
org.openxmlformats.schemas.wordprocessingml.x2006.main.STTblStyleOverrideType
does not exist
[ERROR]
/Users/pj.fanning/code/xdocreport/thirdparties-extension/fr.opensagres.poi.xwpf.converter.core/src/main/java/fr/opensagres/poi/xwpf/converter/core/styles/AbstractValueProvider.java:[364,107]
package
org.openxmlformats.schemas.wordprocessingml.x2006.main.STTblStyleOverrideType
does not exist
[ERROR]
/Users/pj.fanning/code/xdocreport/thirdparties-extension/fr.opensagres.poi.xwpf.converter.core/src/main/java/fr/opensagres/poi/xwpf/converter/core/styles/AbstractValueProvider.java:[372,120]
package
org.openxmlformats.schemas.wordprocessingml.x2006.main.STTblStyleOverrideType
does not exist
[ERROR]
/Users/pj.fanning/code/xdocreport/thirdparties-extension/fr.opensagres.poi.xwpf.converter.core/src/main/java/fr/opensagres/poi/xwpf/converter/core/styles/AbstractValueProvider.java:[399,54]
cannot find symbol
[ERROR] symbol: class CTTblStylePr
[ERROR] location: class
fr.opensagres.poi.xwpf.converter.core.styles.AbstractValueProvider
[ERROR]
/Users/pj.fanning/code/xdocreport/thirdparties-extension/fr.opensagres.poi.xwpf.converter.core/src/main/java/fr/opensagres/poi/xwpf/converter/core/openxmlformats/IOpenXMLFormatsPartProvider.java:[34,62]
cannot find symbol
[ERROR] symbol: class FontsDocument
[ERROR] location: package
org.openxmlformats.schemas.wordprocessingml.x2006.main
[ERROR]