Regression analysis: Cloning sheets failed on ctrlProps, i.e. checkboxes

and other GUI elements, add minimal support for these to allow clone to
succeed.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1730275 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Dominik Stadler 2016-02-13 21:30:10 +00:00
parent 115b5fa0c6
commit 50aa8f07c8
2 changed files with 6 additions and 0 deletions

View File

@ -344,6 +344,12 @@ public final class XSSFRelation extends POIXMLRelation {
XSSFPivotCacheRecords.class XSSFPivotCacheRecords.class
); );
public static final XSSFRelation CTRL_PROP_RECORDS = new XSSFRelation(
null,
"http://schemas.openxmlformats.org/officeDocument/2006/relationships/ctrlProp",
"/xl/ctrlProps/ctrlProp#.xml",
null
);
private XSSFRelation(String type, String rel, String defaultName, Class<? extends POIXMLDocumentPart> cls) { private XSSFRelation(String type, String rel, String defaultName, Class<? extends POIXMLDocumentPart> cls) {
super(type, rel, defaultName, cls); super(type, rel, defaultName, cls);