1 31 package org.pdfbox.pdmodel.documentinterchange.logicalstructure; 32 33 import org.pdfbox.cos.COSBase; 34 import org.pdfbox.cos.COSDictionary; 35 import org.pdfbox.cos.COSName; 36 import org.pdfbox.pdmodel.common.COSObjectable; 37 38 44 public class PDStructureElement implements COSObjectable 45 { 46 private COSDictionary dictionary; 47 48 52 public PDStructureElement() 53 { 54 dictionary = new COSDictionary(); 55 dictionary.setName( COSName.TYPE, "StructElem" ); 56 } 57 58 63 public PDStructureElement( COSDictionary dic ) 64 { 65 dictionary = dic; 66 } 67 68 73 public COSBase getCOSObject() 74 { 75 return dictionary; 76 } 77 78 83 public COSDictionary getCOSDictionary() 84 { 85 return dictionary; 86 } 87 } 88 | Popular Tags |