コード例 #1
0
 /**
 * Creates a new instance of PdfStructureElement.
 * @param parent the parent of this node
 * @param structureType the type of structure. It may be a standard type or a user type mapped by the role map
 */
 public PdfStructureElement(PdfStructureElement parent, PdfName structureType)
 {
     top = parent.top;
     Init(parent, structureType);
     this.parent = parent;
     Put(PdfName.P, parent.reference);
 }
コード例 #2
0
 /**
  * Creates a new instance of PdfStructureElement.
  * @param parent the parent of this node
  * @param structureType the type of structure. It may be a standard type or a user type mapped by the role map
  */
 public PdfStructureElement(PdfStructureTreeRoot parent, PdfName structureType)
 {
     top = parent;
     Init(parent, structureType);
     Put(PdfName.P, parent.Reference);
 }
コード例 #3
0
 /**
 * Creates a new instance of PdfStructureElement.
 * @param parent the parent of this node
 * @param structureType the type of structure. It may be a standard type or a user type mapped by the role map
 */
 public PdfStructureElement(PdfStructureTreeRoot parent, PdfName structureType)
 {
     top = parent;
     Init(parent, structureType);
     Put(PdfName.P, parent.Reference);
 }