@Internal public class XSSFBRelation extends POIXMLRelation
XSSFRelation
because of conflicts with regular ooxml relations. If we failed to break this into a separate class, in the cases of SharedStrings and Styles, 2 parts would exist, and "Packages shall not contain equivalent part names..."
Also, we need to avoid the possibility of breaking the marshalling process for xml.
(由于与常规的ooxml关系冲突,需要有XSSFRelation的这个镜像类。如果我们未能将其分解为一个单独的类,在 SharedStrings 和 Styles 的情况下,将存在 2 个部分,并且“包不应包含等效的部分名称......”此外,我们需要避免破坏编组过程的可能性对于 xml。)POIXMLRelation.NoArgConstructor, POIXMLRelation.PackagePartConstructor, POIXMLRelation.ParentPartConstructor
Modifier and Type | Field and Description |
---|---|
static XSSFBRelation |
STYLES_BINARY |
getContents, getContentType, getDefaultFileName, getFileName, getFileNameIndex, getNoArgConstructor, getPackagePartConstructor, getParentPartConstructor, getRelation
public static final XSSFBRelation STYLES_BINARY
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.