Lines 25-34
Link Here
|
25 |
import org.apache.poi.POIXMLDocument; |
25 |
import org.apache.poi.POIXMLDocument; |
26 |
import org.apache.poi.POIXMLRelation; |
26 |
import org.apache.poi.POIXMLRelation; |
27 |
import org.apache.poi.POIXMLDocumentPart; |
27 |
import org.apache.poi.POIXMLDocumentPart; |
|
|
28 |
import org.apache.poi.xssf.model.MapInfo; |
29 |
import org.apache.poi.xssf.model.SingleXmlCells; |
28 |
import org.apache.poi.xssf.model.StylesTable; |
30 |
import org.apache.poi.xssf.model.StylesTable; |
29 |
import org.apache.poi.xssf.model.SharedStringsTable; |
31 |
import org.apache.poi.xssf.model.SharedStringsTable; |
30 |
import org.apache.poi.xssf.model.CommentsTable; |
32 |
import org.apache.poi.xssf.model.CommentsTable; |
31 |
import org.apache.poi.xssf.model.CalculationChain; |
33 |
import org.apache.poi.xssf.model.CalculationChain; |
|
|
34 |
import org.apache.poi.xssf.model.Table; |
32 |
import org.apache.poi.util.POILogFactory; |
35 |
import org.apache.poi.util.POILogFactory; |
33 |
import org.apache.poi.util.POILogger; |
36 |
import org.apache.poi.util.POILogger; |
34 |
import org.apache.poi.openxml4j.exceptions.InvalidFormatException; |
37 |
import org.apache.poi.openxml4j.exceptions.InvalidFormatException; |
Lines 93-98
Link Here
|
93 |
"/xl/drawings/vmlDrawing#.vml", |
96 |
"/xl/drawings/vmlDrawing#.vml", |
94 |
null |
97 |
null |
95 |
); |
98 |
); |
|
|
99 |
|
100 |
public static final XSSFRelation CUSTOM_XML_MAPPINGS = new XSSFRelation( |
101 |
"application/xml", |
102 |
"http://schemas.openxmlformats.org/officeDocument/2006/relationships/xmlMaps", |
103 |
"/xl/xmlMaps.xml", |
104 |
MapInfo.class |
105 |
); |
106 |
|
107 |
public static final XSSFRelation SINGLE_XML_CELLS = new XSSFRelation( |
108 |
"application/vnd.openxmlformats-officedocument.spreadsheetml.tableSingleCells+xml", |
109 |
"http://schemas.openxmlformats.org/officeDocument/2006/relationships/tableSingleCells", |
110 |
"/tables/tableSingleCells#.xml", |
111 |
SingleXmlCells.class |
112 |
); |
113 |
|
114 |
public static final XSSFRelation TABLE = new XSSFRelation( |
115 |
Table.CONTENT_TYPE, |
116 |
Table.ROOT_NAMESPACE, |
117 |
"/tables/table#.xml", |
118 |
Table.class |
119 |
); |
120 |
|
96 |
public static final XSSFRelation IMAGES = new XSSFRelation( |
121 |
public static final XSSFRelation IMAGES = new XSSFRelation( |
97 |
null, |
122 |
null, |
98 |
"http://schemas.openxmlformats.org/officeDocument/2006/relationships/image", |
123 |
"http://schemas.openxmlformats.org/officeDocument/2006/relationships/image", |