Packagecom.ms.office.core
Classpublic class OfficeData
InheritanceOfficeData Inheritance Object

office 基础数据



Public Methods
 MethodDefined By
  
构造函数
OfficeData
Constructor Detail
OfficeData()Constructor
public function OfficeData()

构造函数

Method Detail
getByteArray()method
office_internal function getByteArray(fileName:String):ByteArrayObject

返回 ByteArray

Parameters

fileName:String — ByteArray文件路径

Returns
ByteArrayObject — {name:"", byte: ByteArray}
getRelsPath()method 
office_internal function getRelsPath(xmlName:String):String

返回 rels 文件路径

Parameters

xmlName:String — 对应 xml 文件 name

Returns
String
getXML()method 
office_internal function getXML(fileName:String):XMLObject

返回 XML

Parameters

fileName:String — xml文件路径

Returns
XMLObject — {name:"", xml: new XML()}
Constant Detail
P_CONTENT_TYPESConstant
office_internal static const P_CONTENT_TYPES:String = [Content_Types].xml

[Content_Types].xml 路径

T_CORE_PROPERTIESConstant 
office_internal static const T_CORE_PROPERTIES:String = http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties

T_EXTENDED_PROPERTIESConstant 
office_internal static const T_EXTENDED_PROPERTIES:String = http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties

T_OFFICE_DOCUMENTConstant 
office_internal static const T_OFFICE_DOCUMENT:String = http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument

T_STYLESConstant 
office_internal static const T_STYLES:String = http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles

T_THEMEConstant 
office_internal static const T_THEME:String = http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme