public abstract class OfficeOpenXmlRelationshipPart extends OfficeXMLPart
NL
Constructor and Description |
---|
OfficeOpenXmlRelationshipPart(OfficeOpenXmlDocument inOfficeDoc) |
Modifier and Type | Method and Description |
---|---|
String |
addHyperlink(URL inValue) |
String |
addMedia(MediaPart inValue) |
String |
addRelationship(OfficeOpenXmlRelationship inValue) |
String |
addRelationship(RelationshipType inType,
File inTarget) |
String |
addRelationship(RelationshipType inType,
OfficeXMLPart inPart) |
protected String |
generateId() |
protected String |
getRelativePath(File inFile) |
void |
populateXML() |
void |
toIndentedXML(Writer inWriter,
int inInitialIndentLevel,
int inIndentSize)
Writes an indented form of the XML document to the specified Writer.
|
void |
toXML(Writer inWriter)
Writes the XML document to the specified Writer.
|
clone, getFile, getOrCreateSubtag, getParentDoc, setFile, setParentDoc, toString
setDoctype, setEncoding, setIsStandalone, setName, setSpec
getDoctype, getEncoding, getHeader, getRootNode, getTagReader, getTopLevelComments, isConstructedContent, name, prepareForOutput, replaceCharacterEntities, setRootNode, toIndentedXML, toIndentedXML, toIndentedXML, toXML, toXML, toXML
public OfficeOpenXmlRelationshipPart(OfficeOpenXmlDocument inOfficeDoc)
public String addRelationship(OfficeOpenXmlRelationship inValue)
public String addRelationship(RelationshipType inType, OfficeXMLPart inPart)
public String addRelationship(RelationshipType inType, File inTarget)
public String addHyperlink(URL inValue)
public void toXML(Writer inWriter)
XMLBasedDoc
toXML
in class XMLBasedDoc<XMLNode>
public void toIndentedXML(Writer inWriter, int inInitialIndentLevel, int inIndentSize)
XMLBasedDoc
toIndentedXML
in class XMLBasedDoc<XMLNode>
public void populateXML()
protected String generateId()
protected String getRelativePath(File inFile)
jataylor@hairyfatguy.com