Home
last modified time | relevance | path

Searched refs:PDFDictionaryType (Results 1 – 25 of 27) sorted by relevance

12

/dports/textproc/fop/fop-2.6/fop-core/src/main/java/org/apache/fop/render/pdf/extensions/
H A DPDFDictionaryElement.java44 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 DPDFElementMapping.java43 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 DPDFDictionaryType.java27 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 DPDFExtensionHandler.java59 } 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 DPDFDictionaryExtension.java34 private PDFDictionaryType dictionaryType;
39 this(PDFDictionaryType.Dictionary); in PDFDictionaryExtension()
42 PDFDictionaryExtension(PDFDictionaryType dictionaryType) { in PDFDictionaryExtension()
59 public PDFDictionaryType getDictionaryType() { in getDictionaryType()
H A DPDFDictionaryAttachment.java111 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 DPDFCatalogExtension.java27 super(PDFDictionaryType.Catalog); in PDFCatalogExtension()
H A DPDFLayerExtension.java27 super(PDFDictionaryType.Layer); in PDFLayerExtension()
H A DPDFNavigatorExtension.java27 super(PDFDictionaryType.Navigator); in PDFNavigatorExtension()
H A DPDFPagePieceExtension.java23 super(PDFDictionaryType.PagePiece); in PDFPagePieceExtension()
H A DPDFDocumentInformationExtension.java25 super(PDFDictionaryType.Info); in PDFDocumentInformationExtension()
H A DPDFVTExtension.java23 super(PDFDictionaryType.VT); in PDFVTExtension()
H A DPDFActionExtension.java29 super(PDFDictionaryType.Action); in PDFActionExtension()
H A DPDFPagePieceElement.java26 super(parent, PDFDictionaryType.PagePiece); in PDFPagePieceElement()
H A DPDFVTElement.java26 super(parent, PDFDictionaryType.VT); in PDFVTElement()
H A DPDFNavigatorElement.java34 super(parent, PDFDictionaryType.Navigator); in PDFNavigatorElement()
H A DPDFCatalogElement.java34 super(parent, PDFDictionaryType.Catalog); in PDFCatalogElement()
H A DPDFLayerElement.java34 super(parent, PDFDictionaryType.Layer); in PDFLayerElement()
H A DPDFPageExtension.java29 super(PDFDictionaryType.Page); in PDFPageExtension()
H A DPDFActionElement.java44 super(parent, PDFDictionaryType.Action); in PDFActionElement()
H A DPDFPageElement.java44 super(parent, PDFDictionaryType.Page); in PDFPageElement()
H A DPDFDocumentInformationElement.java35 super(parent, PDFDictionaryType.Info); in PDFDocumentInformationElement()
H A DPDFCollectionEntryElement.java81 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 DPDFRenderingUtil.java85 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 DPDFPagePieceTestCase.java42 import org.apache.fop.render.pdf.extensions.PDFDictionaryType;
58 when(dictionaryExtension.getDictionaryType()).thenReturn(PDFDictionaryType.PagePiece); in testPDF()

12