ASF Bugzilla – Attachment 23980 Details for
Bug 47520
[PATCH] Implementation of an XLSX to XML Exporter using Custom XML Mapping
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Changes to XSSFRelation
diff.txt (text/plain), 1.84 KB, created by
Roberto Manicardi
on 2009-07-14 08:51:41 UTC
(
hide
)
Description:
Changes to XSSFRelation
Filename:
MIME Type:
Creator:
Roberto Manicardi
Created:
2009-07-14 08:51:41 UTC
Size:
1.84 KB
patch
obsolete
>Index: src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFRelation.java >=================================================================== >--- src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFRelation.java (revision 789791) >+++ src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFRelation.java (working copy) >@@ -25,10 +25,13 @@ > import org.apache.poi.POIXMLDocument; > import org.apache.poi.POIXMLRelation; > import org.apache.poi.POIXMLDocumentPart; >+import org.apache.poi.xssf.model.MapInfo; >+import org.apache.poi.xssf.model.SingleXmlCells; > import org.apache.poi.xssf.model.StylesTable; > import org.apache.poi.xssf.model.SharedStringsTable; > import org.apache.poi.xssf.model.CommentsTable; > import org.apache.poi.xssf.model.CalculationChain; >+import org.apache.poi.xssf.model.Table; > import org.apache.poi.util.POILogFactory; > import org.apache.poi.util.POILogger; > import org.apache.poi.openxml4j.exceptions.InvalidFormatException; >@@ -93,6 +96,28 @@ > "/xl/drawings/vmlDrawing#.vml", > null > ); >+ >+ public static final XSSFRelation CUSTOM_XML_MAPPINGS = new XSSFRelation( >+ "application/xml", >+ "http://schemas.openxmlformats.org/officeDocument/2006/relationships/xmlMaps", >+ "/xl/xmlMaps.xml", >+ MapInfo.class >+ ); >+ >+ public static final XSSFRelation SINGLE_XML_CELLS = new XSSFRelation( >+ "application/vnd.openxmlformats-officedocument.spreadsheetml.tableSingleCells+xml", >+ "http://schemas.openxmlformats.org/officeDocument/2006/relationships/tableSingleCells", >+ "/tables/tableSingleCells#.xml", >+ SingleXmlCells.class >+ ); >+ >+ public static final XSSFRelation TABLE = new XSSFRelation( >+ Table.CONTENT_TYPE, >+ Table.ROOT_NAMESPACE, >+ "/tables/table#.xml", >+ Table.class >+ ); >+ > public static final XSSFRelation IMAGES = new XSSFRelation( > null, > "http://schemas.openxmlformats.org/officeDocument/2006/relationships/image",
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 47520
:
23968
|
23969
|
23979
| 23980