os-xtoo
os-xtoo copied to clipboard
[poi] Fix build issues with dev-java/poi-ooxml
The following build issues are due to issues in dev-java/poi-ooxml-schemas, may have to switch to maven sources if we cannot generate them as ant does.
java/org/apache/poi/xwpf/usermodel/XWPFRun.java:1161: error: cannot find symbol
for (CTFFCheckBox checkBox : ctfldChar.getFfData().getCheckBoxList()) {
^
symbol: method getCheckBoxList()
location: interface CTFFData
java/org/apache/poi/xssf/usermodel/XSSFSheet.java:4426: error: cannot find symbol
for (CTIgnoredError err : worksheet.getIgnoredErrors().getIgnoredErrorList()) {
^
symbol: method getIgnoredErrorList()
location: interface CTIgnoredErrors
java/org/apache/poi/xssf/usermodel/helpers/ColumnHelper.java:77: error: cannot find symbol
trackedCols.addAll(cols.getColList());
^
symbol: method getColList()
location: variable cols of type CTCols
java/org/apache/poi/xssf/usermodel/XSSFComment.java:260: error: cannot find symbol
vmlShape.getClientDataList().toString();
^
symbol: method getClientDataList()
location: variable vmlShape of type CTShape
java/org/apache/poi/xssf/usermodel/XSSFFontFormatting.java:123: error: cannot find symbol
_font.getColorList().clear();
^
symbol: method getColorList()
location: variable _font of type CTFont
java/org/apache/poi/xssf/usermodel/XSSFTableStyle.java:87: error: cannot find symbol
for (CTTableStyleElement element : tableStyle.getTableStyleElementList()) {
^
symbol: method getTableStyleElementList()
location: variable tableStyle of type CTTableStyle
java/org/apache/poi/xssf/usermodel/CustomIndexedColorMap.java:58: error: cannot find symbol
List<CTRgbColor> rgbColorList = colors.getIndexedColors().getRgbColorList();
^
symbol: method getRgbColorList()
location: interface CTIndexedColors
java/org/apache/poi/xssf/extractor/XSSFExportToXml.java:176: error: cannot find symbol
List<CTTableColumn> tableColumns = table.getCTTable().getTableColumns().getTableColumnList();
^
symbol: method getTableColumnList()
location: interface CTTableColumns
java/org/apache/poi/xslf/usermodel/XSLFSheet.java:324: error: cannot find symbol
spTree.getSpList().remove(obj);
^
symbol: method getSpList()
location: variable spTree of type CTGroupShape
java/org/apache/poi/xslf/usermodel/XSLFSheet.java:326: error: cannot find symbol
spTree.getGrpSpList().remove(obj);
^
symbol: method getGrpSpList()
location: variable spTree of type CTGroupShape
java/org/apache/poi/xslf/usermodel/XSLFSheet.java:328: error: cannot find symbol
spTree.getCxnSpList().remove(obj);
^
symbol: method getCxnSpList()
location: variable spTree of type CTGroupShape
java/org/apache/poi/xslf/usermodel/XSLFSheet.java:330: error: cannot find symbol
spTree.getGraphicFrameList().remove(obj);
^
symbol: method getGraphicFrameList()
location: variable spTree of type CTGroupShape
java/org/apache/poi/xslf/usermodel/XSLFSheet.java:334: error: cannot find symbol
spTree.getPicList().remove(obj);
^
symbol: method getPicList()
location: variable spTree of type CTGroupShape
java/org/apache/poi/xslf/usermodel/XMLSlideShow.java:147: error: cannot find symbol
for (CTSlideMasterIdListEntry masterId : _presentation.getSldMasterIdLst().getSldMasterIdList()) {
^
symbol: method getSldMasterIdList()
location: interface CTSlideMasterIdList
java/org/apache/poi/xslf/usermodel/XMLSlideShow.java:154: error: cannot find symbol
for (CTSlideIdListEntry slId : _presentation.getSldIdLst().getSldIdList()) {
^
symbol: method getSldIdList()
location: interface CTSlideIdList
java/org/apache/poi/xslf/usermodel/XSLFGroupShape.java:176: error: cannot find symbol
grpSp.getSpList().remove(obj);
^
symbol: method getSpList()
location: variable grpSp of type CTGroupShape
java/org/apache/poi/xslf/usermodel/XSLFGroupShape.java:178: error: cannot find symbol
grpSp.getGrpSpList().remove(obj);
^
symbol: method getGrpSpList()
location: variable grpSp of type CTGroupShape
java/org/apache/poi/xslf/usermodel/XSLFGroupShape.java:180: error: cannot find symbol
grpSp.getCxnSpList().remove(obj);
^
symbol: method getCxnSpList()
location: variable grpSp of type CTGroupShape
java/org/apache/poi/xslf/usermodel/XSLFGroupShape.java:182: error: cannot find symbol
grpSp.getGraphicFrameList().remove(obj);
^
symbol: method getGraphicFrameList()
location: variable grpSp of type CTGroupShape
java/org/apache/poi/xslf/usermodel/XSLFGroupShape.java:189: error: cannot find symbol
grpSp.getPicList().remove(obj);
^
symbol: method getPicList()
location: variable grpSp of type CTGroupShape
java/org/apache/poi/poifs/crypt/dsig/facets/XAdESSignatureFacet.java:184: error: cannot find symbol
.getDataObjectFormatList();
^
symbol: method getDataObjectFormatList()
location: variable signedDataObjectProperties of type SignedDataObjectPropertiesType
java/org/apache/poi/poifs/crypt/agile/AgileEncryptionVerifier.java:59: error: cannot find symbol
Iterator<CTKeyEncryptor> encList = ed.getEncryption().getKeyEncryptors().getKeyEncryptorList().iterator();
^
symbol: method getKeyEncryptorList()
location: interface CTKeyEncryptors
java/org/apache/poi/poifs/crypt/agile/AgileEncryptionVerifier.java:62: error: cannot find symbol
keyData = encList.next().getEncryptedPasswordKey();
^
symbol: method getEncryptedPasswordKey()
location: interface CTKeyEncryptor
java/org/apache/poi/poifs/crypt/agile/AgileEncryptionVerifier.java:118: error: cannot find symbol
CTCertificateKeyEncryptor certKey = encList.next().getEncryptedCertificateKey();
^
symbol: method getEncryptedCertificateKey()
location: interface CTKeyEncryptor
java/org/apache/poi/poifs/crypt/agile/AgileEncryptor.java:272: error: cannot find symbol
CTKeyEncryptor.Uri.HTTP_SCHEMAS_MICROSOFT_COM_OFFICE_2006_KEY_ENCRYPTOR_PASSWORD;
^
symbol: variable HTTP_SCHEMAS_MICROSOFT_COM_OFFICE_2006_KEY_ENCRYPTOR_PASSWORD
location: interface Uri
java/org/apache/poi/poifs/crypt/agile/AgileEncryptor.java:274: error: cannot find symbol
CTKeyEncryptor.Uri.HTTP_SCHEMAS_MICROSOFT_COM_OFFICE_2006_KEY_ENCRYPTOR_CERTIFICATE;
^
symbol: variable HTTP_SCHEMAS_MICROSOFT_COM_OFFICE_2006_KEY_ENCRYPTOR_CERTIFICATE
location: interface Uri
java/org/apache/poi/poifs/crypt/agile/AgileEncryptor.java:287: error: cannot find symbol
CTPasswordKeyEncryptor keyPass = keyEnc.addNewEncryptedPasswordKey();
^
symbol: method addNewEncryptedPasswordKey()
location: variable keyEnc of type CTKeyEncryptor
java/org/apache/poi/poifs/crypt/agile/AgileEncryptor.java:343: error: cannot find symbol
CTCertificateKeyEncryptor certData = keyEnc.addNewEncryptedCertificateKey();
^
symbol: method addNewEncryptedCertificateKey()
location: variable keyEnc of type CTKeyEncryptor
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
28 errors
It may be possible to use ant to generate the Java files from xml. Providing, anything that ant needs to download is already in the env to respect the sandbox.