@TopNS(prefix={"vt",""}, uri={"http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes","http://schemas.openxmlformats.org/officeDocument/2006/extended-properties"}, value="Properties") public class App extends Object
company属性外其余属性均由Workbook生成,
外部不要随意修改否则将导致不可预期的异常。| 限定符和类型 | 类和说明 |
|---|---|
class |
App.TitlesOfParts |
| 构造器和说明 |
|---|
App() |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getApplication() |
String |
getAppVersion() |
String |
getCompany() |
protected boolean |
noNamespace(NS ns) |
void |
setApplication(String application) |
void |
setAppVersion(String appVersion)
Setting the app version, it must not be null
|
void |
setCompany(String company) |
void |
setDocSecurity(int docSecurity) |
void |
setHyperlinksChanged(boolean hyperlinksChanged) |
void |
setLinksUpToDate(boolean linksUpToDate) |
void |
setScaleCrop(boolean scaleCrop) |
void |
setSharedDoc(boolean sharedDoc) |
void |
setTitlePards(List<String> list) |
void |
toXML(org.dom4j.Element doc,
Object o) |
protected void |
writeArrayWithBaseType(org.dom4j.Element element,
Collection<?> collection,
org.dom4j.Namespace namespace,
String baseType) |
protected void |
writeAttr(Field field,
org.dom4j.Element element) |
void |
writeTo(Path path)
写入指定路径,传入的参数可以是一个文件也可以是文件夹,需要在实现类具体处理
|
public void setApplication(String application)
public void setDocSecurity(int docSecurity)
public void setScaleCrop(boolean scaleCrop)
public void setCompany(String company)
public void setLinksUpToDate(boolean linksUpToDate)
public void setSharedDoc(boolean sharedDoc)
public void setHyperlinksChanged(boolean hyperlinksChanged)
public void setAppVersion(String appVersion)
appVersion - the app versionpublic String getApplication()
public String getCompany()
public String getAppVersion()
public void writeTo(Path path) throws IOException
StorablewriteTo 在接口中 Storablepath - 父级文件夹或文件绝对路径IOException - 写失败异常public void toXML(org.dom4j.Element doc,
Object o)
throws IllegalAccessException,
NoSuchMethodException,
InvocationTargetException
protected void writeAttr(Field field, org.dom4j.Element element)
protected boolean noNamespace(NS ns)
protected void writeArrayWithBaseType(org.dom4j.Element element,
Collection<?> collection,
org.dom4j.Namespace namespace,
String baseType)
Copyright © 2023. All rights reserved.