Uses of Class
com.itextpdf.kernel.pdf.PdfString
Packages that use PdfString
Package
Description
-
Uses of PdfString in com.itextpdf.forms
Methods in com.itextpdf.forms that return PdfStringModifier and TypeMethodDescriptionPdfAcroForm.getDefaultAppearance()
Gets theDA
String property on the AcroForm. -
Uses of PdfString in com.itextpdf.forms.fields
Methods in com.itextpdf.forms.fields that return PdfStringModifier and TypeMethodDescriptionprivate static PdfString
PdfFormField.generateDefaultAppearance
(PdfName font, float fontSize, Color textColor) PdfFormField.getAlternativeName()
Gets the current alternate name.abstract PdfString
AbstractPdfFormField.getDefaultAppearance()
Gets default appearance string containing a sequence of valid page-content graphics or text state operators that define such properties as the field's text size and color.PdfFormAnnotation.getDefaultAppearance()
Gets default appearance string containing a sequence of valid page-content graphics or text state operators that define such properties as the field's text size and color.PdfFormField.getDefaultAppearance()
Gets default appearance string containing a sequence of valid page-content graphics or text state operators that define such properties as the field's text size and color.PdfFormField.getDefaultStyle()
Gets a default style string, as described in "Rich Text Strings" section of Pdf spec.AbstractPdfFormField.getFieldName()
Gets the current field name.PdfFormField.getMappingName()
Gets the current mapping name.PdfFormField.getPartialFieldName()
Gets the current field partial name.Methods in com.itextpdf.forms.fields with parameters of type PdfStringModifier and TypeMethodDescriptionPdfFormField.setDefaultStyle
(PdfString defaultStyleString) Sets a default style string, as described in "Rich Text Strings" section of Pdf spec. -
Uses of PdfString in com.itextpdf.forms.xfdf
Fields in com.itextpdf.forms.xfdf declared as PdfStringModifier and TypeFieldDescriptionprivate PdfString
AnnotObject.contents
Represents contents tag in Xfdf document structure.private PdfString
AnnotObject.contentsRichText
Represents contents-richtext tag in Xfdf document structure.private PdfString
ActionObject.uri
Represents Name, required attribute of URI element.Methods in com.itextpdf.forms.xfdf that return PdfStringModifier and TypeMethodDescription(package private) static PdfString
XfdfObjectUtils.convertDashesFromArray
(PdfArray dashesArray) Converts a PdfArray, representing a pattern of dashes and gaps to be used in drawing a dashed border, into a string containing float values.AnnotObject.getContents()
Gets the string value of contents tag in Xfdf document structure.AnnotObject.getContentsRichText()
Gets the string value of contents-richtext tag in Xfdf document structure.ActionObject.getUri()
Gets the string value of URI elements.Methods in com.itextpdf.forms.xfdf with parameters of type PdfStringModifier and TypeMethodDescriptionAnnotObject.setContents
(PdfString contents) Sets the string value of contents tag in Xfdf document structure.AnnotObject.setContentsRichText
(PdfString contentsRichRext) Sets the string value of contents-richtext tag in xfdf document structure.Sets the string value of URI element. -
Uses of PdfString in com.itextpdf.kernel.crypto.securityhandler
Methods in com.itextpdf.kernel.crypto.securityhandler with parameters of type PdfStringModifier and TypeMethodDescriptionprotected byte[]
StandardSecurityHandler.getIsoBytes
(PdfString string) Gets bytes of String-value without considering encoding. -
Uses of PdfString in com.itextpdf.kernel.font
Methods in com.itextpdf.kernel.font with parameters of type PdfStringModifier and TypeMethodDescriptionboolean
PdfFont.appendDecodedCodesToGlyphsList
(List<Glyph> list, PdfString characterCodes) Decodes sequence of character codes (e.g.boolean
PdfSimpleFont.appendDecodedCodesToGlyphsList
(List<Glyph> list, PdfString characterCodes) Decodes sequence of character codes (e.g.boolean
PdfType0Font.appendDecodedCodesToGlyphsList
(List<Glyph> list, PdfString characterCodes) Decodes sequence of character codes (e.g.abstract String
abstract GlyphLine
PdfFont.decodeIntoGlyphLine
(PdfString characterCodes) Decodes sequence of character codes (e.g.PdfSimpleFont.decodeIntoGlyphLine
(PdfString content) Decodes sequence of character codes (e.g.PdfType0Font.decodeIntoGlyphLine
(PdfString characterCodes) Decodes sequence of character codes (e.g.abstract float
PdfFont.getContentWidth
(PdfString content) float
PdfSimpleFont.getContentWidth
(PdfString content) float
PdfType0Font.getContentWidth
(PdfString content) -
Uses of PdfString in com.itextpdf.kernel.pdf
Fields in com.itextpdf.kernel.pdf declared as PdfStringModifier and TypeFieldDescriptionprotected PdfString
WriterProperties.initialDocumentId
The ID entry that represents the initial identifier.private PdfString
PdfDocument.modifiedDocumentId
The original modified (second) id when the document is read initially.protected PdfString
WriterProperties.modifiedDocumentId
The ID entry that represents a change in a document.private PdfString
PdfDocument.originalDocumentId
The original (first) id when the document is read initially.Fields in com.itextpdf.kernel.pdf with type parameters of type PdfStringModifier and TypeFieldDescriptionprivate LinkedHashMap
<PdfString, PdfObject> GenericNameTree.items
Methods in com.itextpdf.kernel.pdf that return PdfStringModifier and TypeMethodDescriptionPdfArray.getAsString
(int index) Returns the element at the specified index as a PdfString.PdfDictionary.getAsString
(PdfName key) Returns the value associated to this key as a PdfString.PdfOutputIntent.getInfo()
PdfCatalog.getLang()
Get natural language.PdfDocument.getModifiedDocumentId()
Gets modified document idPdfDocument.getOriginalDocumentId()
Gets original document idPdfOutputIntent.getOutputCondition()
PdfOutputIntent.getOutputConditionIdentifier()
PdfOutputIntent.getRegistryName()
private static PdfString
GenericNameTree.iterateItems
(PdfDictionary dictionary, Map<PdfString, PdfObject> items, PdfString leftOver) private static PdfString
PdfString.setHexWriting
(boolean hexWriting) Methods in com.itextpdf.kernel.pdf that return types with arguments of type PdfStringModifier and TypeMethodDescriptionprotected final LinkedHashMap
<PdfString, PdfObject> GenericNameTree.getItems()
GenericNameTree.getKeys()
IPdfNameTreeAccess.getKeys()
Retrieve the set of keys in the name tree.PdfNameTree.getNames()
Retrieves the names stored in the name treeprivate LinkedHashMap
<PdfString, PdfObject> PdfNameTree.readFromCatalog()
protected static LinkedHashMap
<PdfString, PdfObject> GenericNameTree.readTree
(PdfDictionary dictionary) Read the entries in a name tree structure from a dictionary object into a linked hash map with fixed order.Methods in com.itextpdf.kernel.pdf with parameters of type PdfStringModifier and TypeMethodDescriptionvoid
Add an entry to the name tree.protected void
GenericNameTree.addEntry
(PdfString key, PdfObject value, Consumer<PdfDocument> onErrorAction) Add an entry to the name tree.(package private) void
PdfCatalog.addNamedDestination
(PdfString key, PdfObject value) This methods adds new name to the Dests NameTree.void
PdfDocument.addNamedDestination
(PdfString key, PdfObject value) This methods adds new name in the Dests NameTree.(package private) void
PdfCatalog.addNameToNameTree
(PdfString key, PdfObject value, PdfName treeType) This methods adds a new name to the specified NameTree.int
private PdfDictionary[]
GenericNameTree.constructLeafArr
(PdfString[] names) private PdfDictionary
GenericNameTree.formatNodeWithLimits
(PdfString[] names, int lower, int upper) Retrieve an entry from the name tree.Retrieve an entry from the name tree.private boolean
PdfCatalog.isEqualSameNameDestExist
(Map<PdfPage, PdfPage> page2page, PdfDocument toDocument, PdfString srcDestName, PdfArray srcDestArray, PdfPage oldPage) private static PdfString
GenericNameTree.iterateItems
(PdfDictionary dictionary, Map<PdfString, PdfObject> items, PdfString leftOver) private static PdfString
private PdfDictionary
GenericNameTree.reduceTree
(PdfString[] names, PdfDictionary[] topLayer, int topLayerLen, int curNodeSpan) void
GenericNameTree.removeEntry
(PdfString key) Remove an entry from the name tree.WriterProperties.setInitialDocumentId
(PdfString initialDocumentId) The /ID entry of a document contains an array with two entries.void
An entry specifying the natural language, and optionally locale.WriterProperties.setModifiedDocumentId
(PdfString modifiedDocumentId) The /ID entry of a document contains an array with two entries.private void
Method parameters in com.itextpdf.kernel.pdf with type arguments of type PdfStringModifier and TypeMethodDescriptionprivate void
PdfNameTree.insertDestsEntriesFromCatalog
(Map<PdfString, PdfObject> items) private static PdfString
GenericNameTree.iterateItems
(PdfDictionary dictionary, Map<PdfString, PdfObject> items, PdfString leftOver) private static PdfString
private static void
PdfNameTree.normalizeDestinations
(Map<PdfString, PdfObject> items) protected final void
GenericNameTree.setItems
(LinkedHashMap<PdfString, PdfObject> items) -
Uses of PdfString in com.itextpdf.kernel.pdf.action
Fields in com.itextpdf.kernel.pdf.action declared as PdfStringConstructors in com.itextpdf.kernel.pdf.action with parameters of type PdfString -
Uses of PdfString in com.itextpdf.kernel.pdf.annot
Fields in com.itextpdf.kernel.pdf.annot declared as PdfStringModifier and TypeFieldDescriptionstatic final PdfString
PdfAnnotation.Accepted
Annotation state.static final PdfString
PdfAnnotation.Canceled
Annotation state.static final PdfString
PdfAnnotation.Completed
Annotation state.static final PdfString
PdfAnnotation.Marked
Annotation state.static final PdfString
PdfAnnotation.MarkedModel
Annotation state model.static final PdfString
PdfAnnotation.None
Annotation state.static final PdfString
PdfAnnotation.Rejected
Annotation state.static final PdfString
PdfAnnotation.ReviewModel
Annotation state model.static final PdfString
PdfAnnotation.Unmarked
Annotation state.Methods in com.itextpdf.kernel.pdf.annot that return PdfStringModifier and TypeMethodDescriptionPdfAnnotation.getContents()
Gets the text that shall be displayed for the annotation or, if this type of annotation does not display text, an alternate description of the annotation’s contents in human-readable form.PdfMarkupAnnotation.getCreationDate()
The date and time when the annotation was created.PdfAnnotation.getDate()
The date and time when the annotation was most recently modified.PdfFreeTextAnnotation.getDefaultAppearance()
The default appearance string that shall be used in formatting the text.PdfRedactAnnotation.getDefaultAppearance()
The default appearance string that shall be used in formatting the text.PdfFreeTextAnnotation.getDefaultStyleString()
PdfTrapNetworkAnnotation.getLastModified()
The date and time when the trap network was most recently modified.PdfAnnotation.getName()
Gets the annotation name, a text string uniquely identifying it among all the annotations on its page.PdfRedactAnnotation.getOverlayText()
PdfTextAnnotation.getState()
PdfTextAnnotation.getStateModel()
PdfMarkupAnnotation.getSubject()
Text representing a short description of the subject being addressed by the annotation.PdfCaretAnnotation.getSymbol()
PdfMarkupAnnotation.getText()
The text label that will be displayed in the title bar of the annotation's pop-up window when open and active.PdfAnnotation.getTitle()
Annotation title.Methods in com.itextpdf.kernel.pdf.annot with parameters of type PdfStringModifier and TypeMethodDescriptionPdfAnnotation.setContents
(PdfString contents) Sets the text that shall be displayed for the annotation or, if this type of annotation does not display text, an alternate description of the annotation’s contents in human-readable form.PdfMarkupAnnotation.setCreationDate
(PdfString creationDate) Sets the date and time when the annotation was created.The date and time when the annotation was most recently modified.PdfFreeTextAnnotation.setDefaultAppearance
(PdfString appearanceString) The default appearance string that shall be used in formatting the text.PdfRedactAnnotation.setDefaultAppearance
(PdfString appearanceString) The default appearance string that shall be used in formatting the text.PdfFreeTextAnnotation.setDefaultStyleString
(PdfString defaultStyleString) Sets the annotation name, a text string uniquely identifying it among all the annotations on its page.PdfRedactAnnotation.setOverlayText
(PdfString text) PdfTextAnnotation.setStateModel
(PdfString stateModel) PdfMarkupAnnotation.setSubject
(PdfString subject) Sets the text representing a short description of the subject being addressed by the annotation.Sets the text label that will be displayed in the title bar of the annotation's pop-up window when open and active.Sets annotation title.Constructors in com.itextpdf.kernel.pdf.annot with parameters of type PdfStringModifierConstructorDescriptionPdfFreeTextAnnotation
(Rectangle rect, PdfString contents) Creates new instance -
Uses of PdfString in com.itextpdf.kernel.pdf.annot.da
Methods in com.itextpdf.kernel.pdf.annot.da that return PdfStringModifier and TypeMethodDescriptionAnnotationDefaultAppearance.toPdfString()
Gets theAnnotationDefaultAppearance
's representation asPdfString
. -
Uses of PdfString in com.itextpdf.kernel.pdf.canvas.parser
Methods in com.itextpdf.kernel.pdf.canvas.parser with parameters of type PdfStringModifier and TypeMethodDescriptionprivate void
PdfCanvasProcessor.displayPdfString
(PdfString string) Displays text. -
Uses of PdfString in com.itextpdf.kernel.pdf.canvas.parser.data
Fields in com.itextpdf.kernel.pdf.canvas.parser.data declared as PdfStringMethods in com.itextpdf.kernel.pdf.canvas.parser.data that return PdfStringModifier and TypeMethodDescriptionTextRenderInfo.getPdfString()
private PdfString[]
TextRenderInfo.splitString
(PdfString string) Split PDF string into array of single character PDF strings.Methods in com.itextpdf.kernel.pdf.canvas.parser.data with parameters of type PdfStringModifier and TypeMethodDescriptionprivate float
TextRenderInfo.getPdfStringWidth
(PdfString string, boolean singleCharString) Gets the width of a PDF string in text space unitsprivate float[]
TextRenderInfo.getWidthAndWordSpacing
(PdfString string) Calculates width and word spacing of a single character PDF string.private PdfString[]
TextRenderInfo.splitString
(PdfString string) Split PDF string into array of single character PDF strings.Constructors in com.itextpdf.kernel.pdf.canvas.parser.data with parameters of type PdfStringModifierConstructorDescriptionprivate
TextRenderInfo
(TextRenderInfo parent, PdfString str, float horizontalOffset) Used for creating sub-TextRenderInfos for each individual character.TextRenderInfo
(PdfString str, CanvasGraphicsState gs, Matrix textMatrix, Stack<CanvasTag> canvasTagHierarchy) Creates a new TextRenderInfo object -
Uses of PdfString in com.itextpdf.kernel.pdf.collection
Methods in com.itextpdf.kernel.pdf.collection that return PdfStringModifier and TypeMethodDescriptionPdfCollection.getInitialDocument()
Retrieves the document that will be initially presented in the user interface. -
Uses of PdfString in com.itextpdf.kernel.pdf.colorspace
Methods in com.itextpdf.kernel.pdf.colorspace with parameters of type PdfStringModifier and TypeMethodDescriptionprivate static PdfArray
PdfSpecialCs.Indexed.getIndexedCsArray
(PdfObject base, int hival, PdfString lookup) Constructors in com.itextpdf.kernel.pdf.colorspace with parameters of type PdfString -
Uses of PdfString in com.itextpdf.kernel.pdf.filespec
Constructors in com.itextpdf.kernel.pdf.filespec with parameters of type PdfString -
Uses of PdfString in com.itextpdf.kernel.pdf.tagging
Methods in com.itextpdf.kernel.pdf.tagging that return PdfStringModifier and TypeMethodDescriptionPdfStructElem.getActualText()
PdfStructElem.getAlt()
PdfStructElem.getE()
PdfStructElem.getLang()
PdfStructElem.getPhoneme()
Attribute for a structure element that may be used as pronunciation hint.PdfStructElem.getStructureElementId()
Gets the structure element's ID string, if it has one.Methods in com.itextpdf.kernel.pdf.tagging with parameters of type PdfStringModifier and TypeMethodDescriptionvoid
PdfStructIdTree.getStructElemById
(PdfString id) Retrieve a structure element by ID, if it has one.void
PdfStructElem.setActualText
(PdfString actualText) void
void
void
PdfNamespace.setNamespaceName
(PdfString namespaceName) Sets the string defining the namespace name.void
PdfStructElem.setPhoneme
(PdfString elementPhoneme) Attribute for a structure element that may be used as pronunciation hint.void
PdfStructElem.setStructureElementId
(PdfString id) Sets the structure element's ID string.Constructors in com.itextpdf.kernel.pdf.tagging with parameters of type PdfStringModifierConstructorDescriptionPdfNamespace
(PdfString namespaceName) Constructs a namespace defined by the given namespace name. -
Uses of PdfString in com.itextpdf.kernel.pdf.tagutils
Methods in com.itextpdf.kernel.pdf.tagutils with parameters of type PdfStringModifier and TypeMethodDescriptionprivate String
BackedAccessibilityProperties.toUnicodeString
(PdfString pdfString) -
Uses of PdfString in com.itextpdf.kernel.pdf.xobject
Methods in com.itextpdf.kernel.pdf.xobject that return PdfStringModifier and TypeMethodDescriptionPdfFormXObject.getMarkStyle()
Gets a text string representing the printer’s mark in human-readable form.PdfFormXObject.getTrapStyles()
Gets a human-readable text string that described this trap network to the user.Methods in com.itextpdf.kernel.pdf.xobject with parameters of type PdfStringModifier and TypeMethodDescriptionPdfFormXObject.setMarkStyle
(PdfString markStyle) Sets a text string representing the printer’s mark in human-readable form.PdfFormXObject.setTrapStyles
(PdfString trapStyles) Sets a human-readable text string that described this trap network to the user. -
Uses of PdfString in com.itextpdf.kernel.utils
Methods in com.itextpdf.kernel.utils with parameters of type PdfStringModifier and TypeMethodDescriptionboolean
CompareTool.compareStrings
(PdfString outString, PdfString cmpString) Simple method that compares two given PdfStrings.private boolean
CompareTool.compareStringsExtended
(PdfString outString, PdfString cmpString, ObjectPath currentPath, CompareTool.CompareResult compareResult) private byte[]
CompareTool.convertPdfStringToBytes
(PdfString pdfString) -
Uses of PdfString in com.itextpdf.kernel.validation.context
Fields in com.itextpdf.kernel.validation.context declared as PdfStringMethods in com.itextpdf.kernel.validation.context that return PdfStringModifier and TypeMethodDescriptionDuplicateIdEntryValidationContext.getId()
Gets the ID of the entry.Constructors in com.itextpdf.kernel.validation.context with parameters of type PdfStringModifierConstructorDescriptionInstantiates a newDuplicateIdEntryValidationContext
based on ID string. -
Uses of PdfString in com.itextpdf.pdfa.checker
Methods in com.itextpdf.pdfa.checker with parameters of type PdfStringModifier and TypeMethodDescriptionprotected void
PdfA1Checker.checkPdfString
(PdfString string) protected abstract void
PdfAChecker.checkPdfString
(PdfString string) Verify the conformity of the PDF string. -
Uses of PdfString in com.itextpdf.pdfua.checkers.utils
Methods in com.itextpdf.pdfua.checkers.utils with parameters of type PdfStringModifier and TypeMethodDescriptionprivate static boolean
FormulaCheckUtil.hasInvalidValues
(PdfString altText, PdfString actualText) -
Uses of PdfString in com.itextpdf.signatures
Methods in com.itextpdf.signatures that return PdfString