/dports/textproc/fop/fop-2.6/fop-core/src/main/java/org/apache/fop/render/pdf/extensions/ |
H A D | PDFDictionaryElement.java | 44 PDFDictionaryElement(FONode parent, PDFDictionaryType type) { in PDFDictionaryElement() 48 private static PDFDictionaryExtension createExtension(PDFDictionaryType type) { in createExtension() 49 if (type == PDFDictionaryType.Action) { in createExtension() 51 } else if (type == PDFDictionaryType.Catalog) { in createExtension() 53 } else if (type == PDFDictionaryType.Layer) { in createExtension() 55 } else if (type == PDFDictionaryType.Navigator) { in createExtension() 57 } else if (type == PDFDictionaryType.Page) { in createExtension() 59 } else if (type == PDFDictionaryType.Info) { in createExtension() 81 if (extension.getDictionaryType() == PDFDictionaryType.Dictionary) { in processNode() 116 …if (!PDFDictionaryType.hasValueOfElementName(parent.getLocalName()) && !PDFObjectType.Array.elemen… in startOfNode() [all …]
|
H A D | PDFElementMapping.java | 43 foObjs.put(PDFDictionaryType.Action.elementName(), new PDFActionElementMaker()); in initialize() 49 foObjs.put(PDFDictionaryType.Catalog.elementName(), new PDFCatalogElementMaker()); in initialize() 51 foObjs.put(PDFDictionaryType.Dictionary.elementName(), new PDFDictionaryElementMaker()); in initialize() 59 foObjs.put(PDFDictionaryType.Navigator.elementName(), new PDFNavigatorElementMaker()); in initialize() 61 foObjs.put(PDFDictionaryType.Layer.elementName(), new PDFLayerElementMaker()); in initialize() 63 foObjs.put(PDFDictionaryType.Page.elementName(), new PDFPageElementMaker()); in initialize() 69 … foObjs.put(PDFDictionaryType.Info.elementName(), new PDFDocumentInformationElementMaker()); in initialize() 71 foObjs.put(PDFDictionaryType.VT.elementName(), new PDFVTElementMaker()); in initialize() 73 foObjs.put(PDFDictionaryType.PagePiece.elementName(), new PDFPagePieceElementMaker()); in initialize() 103 return new PDFDictionaryElement(parent, PDFDictionaryType.Dictionary); in make()
|
H A D | PDFDictionaryType.java | 27 public enum PDFDictionaryType { enum 41 PDFDictionaryType(String elementName, boolean usesIDAttribute) { in PDFDictionaryType() method in PDFDictionaryType 45 PDFDictionaryType(String elementName) { in PDFDictionaryType() method in PDFDictionaryType 54 static PDFDictionaryType valueOfElementName(String elementName) { in valueOfElementName() 55 for (PDFDictionaryType type : values()) { in valueOfElementName()
|
H A D | PDFExtensionHandler.java | 59 } else if (PDFDictionaryType.Action.elementName().equals(localName)) { in startElement() 77 } else if (PDFDictionaryType.Catalog.elementName().equals(localName)) { in startElement() 80 } else if (PDFDictionaryType.Dictionary.elementName().equals(localName)) { in startElement() 87 } else if (PDFDictionaryType.Layer.elementName().equals(localName)) { in startElement() 94 } else if (PDFDictionaryType.Navigator.elementName().equals(localName)) { in startElement() 101 } else if (PDFDictionaryType.Page.elementName().equals(localName)) { in startElement() 108 } else if (PDFDictionaryType.Info.elementName().equals(localName)) { in startElement() 111 } else if (PDFDictionaryType.VT.elementName().equals(localName)) { in startElement() 114 } else if (PDFDictionaryType.PagePiece.elementName().equals(localName)) { in startElement() 168 } else if (PDFDictionaryType.hasValueOfElementName(localName)) { in endElement() [all …]
|
H A D | PDFDictionaryExtension.java | 34 private PDFDictionaryType dictionaryType; 39 this(PDFDictionaryType.Dictionary); in PDFDictionaryExtension() 42 PDFDictionaryExtension(PDFDictionaryType dictionaryType) { in PDFDictionaryExtension() 59 public PDFDictionaryType getDictionaryType() { in getDictionaryType()
|
H A D | PDFDictionaryAttachment.java | 111 PDFDictionaryType type = dictionary.getDictionaryType(); in extractIFAttributes() 119 if (type == PDFDictionaryType.Action) { in extractIFAttributes() 125 } else if (type == PDFDictionaryType.Page) { in extractIFAttributes() 131 } else if (type == PDFDictionaryType.Dictionary) { in extractIFAttributes()
|
H A D | PDFCatalogExtension.java | 27 super(PDFDictionaryType.Catalog); in PDFCatalogExtension()
|
H A D | PDFLayerExtension.java | 27 super(PDFDictionaryType.Layer); in PDFLayerExtension()
|
H A D | PDFNavigatorExtension.java | 27 super(PDFDictionaryType.Navigator); in PDFNavigatorExtension()
|
H A D | PDFPagePieceExtension.java | 23 super(PDFDictionaryType.PagePiece); in PDFPagePieceExtension()
|
H A D | PDFDocumentInformationExtension.java | 25 super(PDFDictionaryType.Info); in PDFDocumentInformationExtension()
|
H A D | PDFVTExtension.java | 23 super(PDFDictionaryType.VT); in PDFVTExtension()
|
H A D | PDFActionExtension.java | 29 super(PDFDictionaryType.Action); in PDFActionExtension()
|
H A D | PDFPagePieceElement.java | 26 super(parent, PDFDictionaryType.PagePiece); in PDFPagePieceElement()
|
H A D | PDFVTElement.java | 26 super(parent, PDFDictionaryType.VT); in PDFVTElement()
|
H A D | PDFNavigatorElement.java | 34 super(parent, PDFDictionaryType.Navigator); in PDFNavigatorElement()
|
H A D | PDFCatalogElement.java | 34 super(parent, PDFDictionaryType.Catalog); in PDFCatalogElement()
|
H A D | PDFLayerElement.java | 34 super(parent, PDFDictionaryType.Layer); in PDFLayerElement()
|
H A D | PDFPageExtension.java | 29 super(PDFDictionaryType.Page); in PDFPageExtension()
|
H A D | PDFActionElement.java | 44 super(parent, PDFDictionaryType.Action); in PDFActionElement()
|
H A D | PDFPageElement.java | 44 super(parent, PDFDictionaryType.Page); in PDFPageElement()
|
H A D | PDFDocumentInformationElement.java | 35 super(parent, PDFDictionaryType.Info); in PDFDocumentInformationElement()
|
H A D | PDFCollectionEntryElement.java | 81 if (!PDFDictionaryType.hasValueOfElementName(parent.getLocalName())) { in startOfNode()
|
/dports/textproc/fop/fop-2.6/fop-core/src/main/java/org/apache/fop/render/pdf/ |
H A D | PDFRenderingUtil.java | 85 import org.apache.fop.render.pdf.extensions.PDFDictionaryType; 284 PDFDictionaryType type = extension.getDictionaryType(); in renderDictionaryExtension() 285 if (type == PDFDictionaryType.Action) { in renderDictionaryExtension() 287 } else if (type == PDFDictionaryType.Layer) { in renderDictionaryExtension() 289 } else if (type == PDFDictionaryType.Navigator) { in renderDictionaryExtension() 463 PDFDictionaryType type = extension.getDictionaryType(); in renderDictionaryExtension() 464 if (type == PDFDictionaryType.Catalog) { in renderDictionaryExtension() 466 } else if (type == PDFDictionaryType.Page) { in renderDictionaryExtension() 471 } else if (type == PDFDictionaryType.Info) { in renderDictionaryExtension() 476 } else if (type == PDFDictionaryType.VT) { in renderDictionaryExtension() [all …]
|
/dports/textproc/fop/fop-2.6/fop-core/src/test/java/org/apache/fop/pdf/ |
H A D | PDFPagePieceTestCase.java | 42 import org.apache.fop.render.pdf.extensions.PDFDictionaryType; 58 when(dictionaryExtension.getDictionaryType()).thenReturn(PDFDictionaryType.PagePiece); in testPDF()
|