public class JDFContentObject extends JDFAutoContentObject implements IPlacedObject
JDFAutoContentObject.EnumAnchor, JDFAutoContentObject.EnumTypeJDFElement.EnumBoolean, JDFElement.EnumNamedColor, JDFElement.EnumNodeStatus, JDFElement.EnumOrientation, JDFElement.EnumPoolType, JDFElement.EnumSeparation, JDFElement.EnumSettingsPolicy, JDFElement.EnumValidationLevel, JDFElement.EnumVersion, JDFElement.EnumXYRelationKElement.SimpleElementNameComparator, KElement.SimpleNodeComparator, KElement.SingleAttributeComparator, KElement.SingleXPathComparatorfirstChild, fNodeListCache, ownerDocumentDOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_IS_CONTAINED, DOCUMENT_POSITION_PRECEDING, ELEMENT_DEFINITION_NODE, FIRSTCHILD, flags, HASSTRING, ID, IGNORABLEWS, NORMALIZED, OWNED, ownerNode, READONLY, SPECIFIED, SYNCCHILDREN, SYNCDATA, TREE_POSITION_ANCESTOR, TREE_POSITION_DESCENDANT, TREE_POSITION_DISCONNECTED, TREE_POSITION_EQUIVALENT, TREE_POSITION_FOLLOWING, TREE_POSITION_PRECEDING, TREE_POSITION_SAME_NODEATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_POSITION_CONTAINED_BY, DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_PRECEDING, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE| Constructor and Description |
|---|
JDFContentObject(org.apache.xerces.dom.CoreDocumentImpl myOwnerDocument,
java.lang.String qualifiedName)
Constructor for JDFContentObject
|
JDFContentObject(org.apache.xerces.dom.CoreDocumentImpl myOwnerDocument,
java.lang.String myNamespaceURI,
java.lang.String qualifiedName)
Constructor for JDFContentObject
|
JDFContentObject(org.apache.xerces.dom.CoreDocumentImpl myOwnerDocument,
java.lang.String myNamespaceURI,
java.lang.String qualifiedName,
java.lang.String myLocalName)
Constructor for JDFContentObject
|
| Modifier and Type | Method and Description |
|---|---|
static int |
calcOrd(int ord,
int nPages,
int loop,
int maxOrdFront,
int maxOrdBack,
int frontOffset)
calculates a "real" ord value in an automated layout
|
JDFXYPair |
getCenter() |
JDFRectangle |
getRect()
get the bounding box in absolute coordinates
|
JDFMatrix |
getTrimCTM()
(20) get JDFMatrix attribute TrimCTM
|
JDFXYPair |
getTrimSize()
(20) get JDFXYPair attribute TrimSize
|
void |
setClipPath(java.lang.String value,
int precision)
(36) set attribute ClipPath
|
void |
setCTM(JDFMatrix value,
int precision)
(36) set attribute CTM
|
void |
setTrimCTM(JDFMatrix value,
int precision)
(36) set attribute TrimCTM
|
void |
setTrimSize(double x,
double y)
convenience method to set TrimSize
|
void |
setTrimSize(double x,
double y,
int precision) |
void |
setTrimSize(JDFXYPair jdfxyPair,
int precision) |
java.lang.String |
toString()
toString
|
getAnchor, getAssemblyIDs, getClipBox, getClipBoxFormat, getClipBoxTemplate, getClipPath, getCompensationCTMFormat, getCompensationCTMTemplate, getCTM, getDocOrd, getHalfTonePhaseOrigin, getID, getLayerID, getLogicalStackOrd, getOrd, getOrdExpression, getOrdID, getSetOrd, getSourceClipPath, getTheAttributeInfo, getTrimClipPath, getType, setAnchor, setAssemblyIDs, setClipBox, setClipBoxFormat, setClipBoxTemplate, setClipPath, setCompensationCTMFormat, setCompensationCTMTemplate, setCTM, setDocOrd, setHalfTonePhaseOrigin, setID, setLayerID, setLogicalStackOrd, setOrd, setOrdExpression, setOrdID, setSetOrd, setSourceClipPath, setTrimClipPath, setTrimCTM, setTrimSize, setTypeappendAnchor, appendBestEffortExceptions, appendComment, appendElement, appendGeneralID, appendGeneralID, appendGeneralID, appendHRef, appendHRef, appendMustHonorExceptions, appendOperatorInterventionExceptions, appendPreview, appendrRefs, attributeType, clearTargets, cloneNewDoc, copyChildren, copyInto, createRoot, createRoot, deprecatedAttributes, eraseDefaultAttributes, exclusiveOneOfAttribute, exclusiveOneOfElement, fixVersion, getAllRefs, getAtrType, getAttributeInfo, getBestEffortExceptions, getChildElement, getChildElements, getChildElementVector_JDFElement, getChildElementVector, getChildIds, getChildrenByTagName, getChildrenByTagName, getChildWithAttribute, getChildWithMatchingAttribute, getComment, getComment, getCommentText, getCommentURL, getCreateComment, getCreateComment, getCreateElement_JDFElement, getCreatePreview, getCreateRefElement, getDeepElementByID, getDefaultAttributeMap, getDefaultJDFVersion, getDeprecatedAttributes, getDeprecatedElements, getDescriptiveName, getElement_JDFElement, getElement, getElementIDPrefix, getElementInfo, getElementNameVector, getEnumAttribute, getEnumerationsAttribute, getEnumerationsAttribute, getEnumforAttribute, getEnumNodeName, getEnumString, getFirstVersion, getGeneralID, getGeneralID, getGeneralID, getGeneralIDListMap, getGeneralIDMap, getGeneralIDVectorMap, getHRef, getHRefs, getHRefs, getInsertElements, getInsertElementVector, getInvalidAttributes, getInvalidElements_JDFElement, getInvalidElements, getJDFRoot, getJMFRoot, getLastVersion, getLinkFromUserData, getLinkRoot, getMaxVersion, getMissingAttributes, getMissingAttributeVector, getMissingElements, getMissingElementVector, getMustHonorExceptions, getNamesVector, getOperatorInterventionExceptions, getOwnerDocument_JDFElement, getParentJDF, getParentJDF, getPartMap, getPartMapArray, getPartMapVector, getPrereleaseAttributes, getPrereleaseElements, getPreview, getRefElement, getRefElements, getRefString, getrRefs, getSchemaURL, getSchemaURL, getSchemaURL, getSettingsPolicy, getStatus, getTarget_JDFElement, getTarget, getTarget, getTheAttributeInfo_JDFElement, getTheElementInfo_JDFElement, getTheElementInfo, getTypeForAttribute, getUnknownAttributes, getUnknownAttributeVector, getUnknownElements, getUnknownElementVector, getUnknownPoolElements, getURLDoc, getURLInputStream, getValueForNewAttribute, getVersion, getVersion, getvHRefRes, getvHRefRes, getXMLDocUserData, hasMissingAttributes, hasMissingElements, hasPartMap, hasSettingsPolicy, hasUnknownAttributes, hasUnknownElements, idString, includesMatchingAttribute, init, inlineRefElements, insertBefore, isComment, isCommentStatic, isDeprecated, isDirty, isInAnyJDFNameSpaceStatic, isInAnyJDFNameSpaceStatic, isInJDFNameSpace, isInJDFNameSpaceStatic, isInJDFNameSpaceStatic, isInXJDFNameSpaceStatic, isInXJDFNameSpaceStatic, isJDFNode, isRefElement, isRefElementStatic, isResource, isResourceLink, isResourceLinkStatic, isResourceStatic, isResourceUpdate, isValid_JDFElement, isValid, isXJDF, jdfVersion, knownAttributes, knownElements, matchesPath, newID, numChildElements_JDFElement, numChildElements, optionalAttributes, optionalElements, prereleaseAttributes, prereleaseElements, refElement, removeBestEffortExceptions, removeChild, removeChild, removeChildren, removeExtensions, removeFromBestEffortExceptions, removeFromMustHonorExceptions, removeFromOperatorInterventionExceptions, removeFromrRefs, removeGeneralID, removePartMap, removeRefElement, removeSettingsPolicy, replaceChild, requiredAttributes, requiredElements, requiredLevel, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttributeNameTimeStamp, setAttributes, setBestEffortExceptions, setCommentText, setCommentText, setCommentURL, setDefaultJDFVersion, setDescriptiveName, setDirty, setEnumerationsAttribute, setGeneralID, setLongID, setMustHonorExceptions, setOperatorInterventionExceptions, setPartMap, setPartMapVector, setSettingsPolicy, setStatus, setVersion, setvStringAttribute, stringToVersion, uniqueElements, upDaterRefs, validAttribute, validAttribute, validEnumAttribute, validEnumerationsAttribute, validResourcePosition, version, write2DiraddAttribute, addAttribute, addNameSpace, ancestorDistance, appendAttribute, appendAttribute, appendAttributes, appendCData, appendCData, appendChild, appendElement, appendElementN, appendElementRaw, appendEntityReference, appendText, appendTextElement, appendXMLComment, appendXMLComment, buildRelativeXPath, buildXPath, buildXPath, buildXPath, cleanup, clearNSMap, clone, copyAttribute, copyAttribute, copyAttribute, copyAttribute, copyElement, copyElements, copyXPathValue, createRoot, deleteNode, ensureCase, eraseEmptyAttributes, eraseEmptyNodes, fillHashSet, fitsName_KElement, fitsName, flush, generateDotID, getAttribute_KElement, getAttribute_KElement, getAttribute, getAttribute, getAttributeArray_KElement, getAttributeIgnoreCase, getAttributeMap_KElement, getAttributeMap, getAttributeRaw, getAttributeVector_KElement, getAttributeVector, getBoolAttribute, getCData, getChildArray_KElement, getChildArray, getChildArrayByClass_KElement, getChildArrayByClass, getChildAttributeList, getChildByTagName, getChildElementArray, getChildElementVector_KElement, getChildElementVector, getChildElementVector, getChildFromList, getChildFromList, getChildList, getChildList, getChildNode, getChildNodes_KElement, getChildNodeVector, getChildrenByClass, getChildrenByTagName_KElement, getChildrenByTagName, getChildrenFromList, getChildrenIgnoreList, getChildrenWithAttribute, getChildWithAttribute, getChildWithAttribute, getCreateChildWithAttribute, getCreateElement_KElement, getCreateElement, getCreateElement, getCreateXPathElement, getDeepElement, getDeepParent, getDeepParent, getDeepParentChild, getDeepParentNotName, getDocRoot, getDOMAttr, getElement_KElement, getElement, getElementByClass, getElementHashMap, getElementsByTagName_KElement, getFirstChildElement, getFirstChildElement, getFirstChildElement, getFirstElementNode, getIDPrefix, getIgnoreCase_KElement, getIgnoreCase, getInheritedAttribute, getInheritedElement, getInheritedXPathAttribute, getIntAttribute, getLocalNameStatic, getLongAttribute, getMultipleIDs, getNamespaceURI, getNamespaceURIFromPrefix, getNextElementNode, getNextSiblingElement, getNextSiblingElement, getNextSiblingElement, getNonEmpty_KElement, getNonEmpty, getNumCDatas, getNumChildNodes, getNumChildText, getNumXMLComments, getOwnerDocument_KElement, getParentNode_KElement, getPreviousSiblingElement, getPreviousSiblingElement, getRealAttribute, getTarget_KElement, getText, getText, getTree, getTree, getTreeByClass, getTreeElement, getXMLComment, getXMLNSNameSpace, getXMLNSPrefix, getXPathAttribute, getXPathAttributeMap, getXPathElement, getXPathElementVector, getXPathValueMap, getXPathValueMap, getXSIType, hasAttribute_KElement, hasAttribute, hasAttribute, hasAttributes, hasChildElement, hasChildElements, hasChildNodes, hasChildText, hasNonEmpty_KElement, hasNonEmpty, hasXPathNode, includesAttribute, includesAttributes, insertAt, insertBefore, isAncestor, isEqual, isEqual, isWildCard, matchesPath, matchesPathName, mergeElement, moveArray, moveAttribute, moveAttribute, moveElement, moveElements, moveMe, normalize, numChildElements_KElement, numChildNodes, numChildNodes, numChildrenByClass, numSiblingElements, parseFile, parseStream, parseString, pushUp, removeAllText, removeAttribute_KElement, removeAttribute, removeAttribute, removeAttributeNode, removeAttributeNS, removeAttributes, removeCData, removeChildNode, removeChildren, removeChildrenByClass, removeChildText, removeExtensions, removeFromAttribute, removeIgnoreCase_KElement, removeIgnoreCase, removeXMLComment, removeXPathAttribute, removeXPathElement, renameAttribute, renameAttribute, renameElement, replaceElement, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setAttributeNSRaw, setAttributeRaw, setAttributes, setAttributes, setAttributes, setAttributesRaw, setBoolAttribute, setDirty, setIntAttribute, setNamespaceURI, setNodeValue, setNonEmpty, setPrefix, setRealAttribute, setText, setvStringAttribute, setXMLComment, setXMLComment, setXPathAttribute, setXPathValue, setXPathValues, setXSIType, sortChild, sortChild, sortChildren, sortChildren, sortChildren, sortChildren, toDisplayXML, toValueString, toXML, toXML, uniqueID, uniqueID, write2File, write2File, write2Stream, writeStream, xmlNameSpace, xmlnsLocalName, xmlnsPrefixgetLocalName, getPrefix, getTypeName, getTypeNamespace, getXMLBaseAttribute, isDerivedFrom, setTypecloneNode, getAttributeNode, getAttributeNodeNS, getAttributeNS, getAttributes, getBaseURI, getChildElementCount, getDefaultAttributes, getElementsByTagName, getElementsByTagNameNS, getFirstElementChild, getLastElementChild, getNextElementSibling, getNodeName, getNodeType, getPreviousElementSibling, getSchemaTypeInfo, getTagName, getXercesAttribute, hasAttributeNS, isEqualNode, reconcileDefaultAttributes, setIdAttribute, setIdAttributeNode, setIdAttributeNS, setOwnerDocument, setReadOnly, setupDefaultAttributes, setXercesAttributeNode, synchronizeDatagetChildNodes, getChildNodesUnoptimized, getFirstChild, getLastChild, getLength, getOwnerDocument, getTextContent, hasChildNodes, item, setTextContent, synchronizeChildrengetNextSibling, getParentNode, getPreviousSiblingaddEventListener, changed, changes, compareDocumentPosition, compareTreePosition, dispatchEvent, getContainer, getFeature, getNodeNumber, getNodeValue, getReadOnly, getUserData, getUserData, getUserDataRecord, isDefaultNamespace, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, needsSyncChildren, removeEventListener, setUserData, setUserDataequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetClipBox, getClipPath, getCTM, getHalfTonePhaseOrigin, getLayerID, getOrd, getOrdID, getSourceClipPath, setClipBox, setClipPath, setCTM, setHalfTonePhaseOrigin, setLayerID, setOrd, setOrdID, setSourceClipPath, setTrimCTM, setTrimSizegetAttributeNode, getAttributeNodeNS, getAttributeNS, getElementsByTagName, getElementsByTagNameNS, getSchemaTypeInfo, getTagName, hasAttributeNS, setIdAttribute, setIdAttributeNode, setIdAttributeNScloneNode, compareDocumentPosition, getAttributes, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getLocalName, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getTextContent, getUserData, hasChildNodes, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, setTextContent, setUserDatapublic JDFContentObject(org.apache.xerces.dom.CoreDocumentImpl myOwnerDocument,
java.lang.String qualifiedName)
myOwnerDocument - qualifiedName - public JDFContentObject(org.apache.xerces.dom.CoreDocumentImpl myOwnerDocument,
java.lang.String myNamespaceURI,
java.lang.String qualifiedName)
myOwnerDocument - myNamespaceURI - qualifiedName - public JDFContentObject(org.apache.xerces.dom.CoreDocumentImpl myOwnerDocument,
java.lang.String myNamespaceURI,
java.lang.String qualifiedName,
java.lang.String myLocalName)
myOwnerDocument - myNamespaceURI - qualifiedName - myLocalName - public JDFMatrix getTrimCTM()
JDFAutoContentObjectgetTrimCTM in interface IPlacedObjectgetTrimCTM in class JDFAutoContentObjectJDFAutoMarkObject.getTrimCTM()public java.lang.String toString()
public void setTrimSize(double x,
double y,
int precision)
setTrimSize in interface IPlacedObjectx - y - precision - number of digits in decimalpublic void setTrimSize(JDFXYPair jdfxyPair, int precision)
setTrimSize in interface IPlacedObjectjdfxyPair - precision - number of digits in decimalpublic void setCTM(JDFMatrix value, int precision)
IPlacedObjectsetCTM in interface IPlacedObjectvalue - : the value to set the attribute toIPlacedObject.setCTM(org.cip4.jdflib.datatypes.JDFMatrix, int)public void setTrimCTM(JDFMatrix value, int precision)
IPlacedObjectsetTrimCTM in interface IPlacedObjectvalue - : the value to set the attribute toIPlacedObject.setTrimCTM(org.cip4.jdflib.datatypes.JDFMatrix, int)public JDFRectangle getRect()
IPlacedObjectgetRect in interface IPlacedObjectIPlacedObject.getRect()public JDFXYPair getCenter()
public JDFXYPair getTrimSize()
getTrimSize in class JDFAutoContentObjectpublic void setTrimSize(double x,
double y)
IPlacedObjectsetTrimSize in interface IPlacedObjectx - y - public void setClipPath(java.lang.String value,
int precision)
IPlacedObjectsetClipPath in interface IPlacedObjectvalue - : the value to set the attribute toIPlacedObject.setClipPath(java.lang.String, int)public static int calcOrd(int ord,
int nPages,
int loop,
int maxOrdFront,
int maxOrdBack,
int frontOffset)
ord - the Value of Ord in the layoutnPages - the total number of pages that are consumed by the Layout, if frontOffset!=0 the pages before frontOffset are NOT countedloop - which sheet loop are we on?maxOrdFront - number of pages consumed from the front of the listmaxOrdBack - positive number of pages consumed from the back of the listfrontOffset - page number of the first page to be placed on ord 0 in loop 0