Uses of Class
com.itextpdf.kernel.pdf.PdfString
-
-
Uses of PdfString in com.itextpdf.forms
Methods in com.itextpdf.forms that return PdfString Modifier and Type Method Description PdfString
PdfAcroForm. getDefaultAppearance()
Gets theDA
String property on the AcroForm. -
Uses of PdfString in com.itextpdf.forms.fields
Methods in com.itextpdf.forms.fields that return PdfString Modifier and Type Method Description private static PdfString
PdfFormField. generateDefaultAppearance(PdfName font, float fontSize, Color textColor)
PdfString
PdfFormAnnotation. getAlternativeDescription()
Gets the current alternative description.PdfString
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.PdfString
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.PdfString
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.PdfString
PdfFormField. getDefaultStyle()
Gets a default style string, as described in "Rich Text Strings" section of Pdf spec.PdfString
AbstractPdfFormField. getFieldName()
Gets the current field name.(package private) PdfString
AbstractPdfFormField. getFieldName(java.util.Set<PdfFormField> visited)
Gets the current field name.PdfString
PdfFormField. getMappingName()
Gets the current mapping name.PdfString
PdfFormField. getPartialFieldName()
Gets the current field partial name.Methods in com.itextpdf.forms.fields with parameters of type PdfString Modifier and Type Method Description PdfFormField
PdfFormField. 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 PdfString Modifier and Type Field Description private 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 PdfString Modifier and Type Method Description (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.PdfString
AnnotObject. getContents()
Gets the string value of contents tag in Xfdf document structure.PdfString
AnnotObject. getContentsRichText()
Gets the string value of contents-richtext tag in Xfdf document structure.PdfString
ActionObject. getUri()
Gets the string value of URI elements.Methods in com.itextpdf.forms.xfdf with parameters of type PdfString Modifier and Type Method Description AnnotObject
AnnotObject. setContents(PdfString contents)
Sets the string value of contents tag in Xfdf document structure.AnnotObject
AnnotObject. setContentsRichText(PdfString contentsRichRext)
Sets the string value of contents-richtext tag in xfdf document structure.ActionObject
ActionObject. setUri(PdfString uri)
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 PdfString Modifier and Type Method Description protected 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 PdfString Modifier and Type Method Description boolean
PdfFont. appendDecodedCodesToGlyphsList(java.util.List<Glyph> list, PdfString characterCodes)
Decodes sequence of character codes (e.g.boolean
PdfSimpleFont. appendDecodedCodesToGlyphsList(java.util.List<Glyph> list, PdfString characterCodes)
Decodes sequence of character codes (e.g.boolean
PdfType0Font. appendDecodedCodesToGlyphsList(java.util.List<Glyph> list, PdfString characterCodes)
Decodes sequence of character codes (e.g.abstract java.lang.String
PdfFont. decode(PdfString content)
java.lang.String
PdfSimpleFont. decode(PdfString content)
java.lang.String
PdfType0Font. decode(PdfString content)
abstract GlyphLine
PdfFont. decodeIntoGlyphLine(PdfString characterCodes)
Decodes sequence of character codes (e.g.GlyphLine
PdfSimpleFont. decodeIntoGlyphLine(PdfString content)
Decodes sequence of character codes (e.g.GlyphLine
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 PdfString Modifier and Type Field Description protected 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 PdfString Modifier and Type Field Description private java.util.LinkedHashMap<PdfString,PdfObject>
GenericNameTree. items
Methods in com.itextpdf.kernel.pdf that return PdfString Modifier and Type Method Description PdfString
PdfArray. getAsString(int index)
Returns the element at the specified index as a PdfString.PdfString
PdfDictionary. getAsString(PdfName key)
Returns the value associated to this key as a PdfString.PdfString
PdfOutputIntent. getInfo()
PdfString
PdfCatalog. getLang()
Get natural language.PdfString
PdfDocument. getModifiedDocumentId()
Gets modified document idPdfString
PdfDocument. getOriginalDocumentId()
Gets original document idPdfString
PdfOutputIntent. getOutputCondition()
PdfString
PdfOutputIntent. getOutputConditionIdentifier()
PdfString
PdfOutputIntent. getRegistryName()
private static PdfString
GenericNameTree. iterateItems(PdfDictionary dictionary, java.util.Map<PdfString,PdfObject> items, PdfString leftOver)
private static PdfString
GenericNameTree. iterateLeafNode(PdfArray names, java.util.Map<PdfString,PdfObject> items, PdfString leftOver)
PdfString
PdfString. setHexWriting(boolean hexWriting)
Methods in com.itextpdf.kernel.pdf that return types with arguments of type PdfString Modifier and Type Method Description protected java.util.LinkedHashMap<PdfString,PdfObject>
GenericNameTree. getItems()
java.util.Set<PdfString>
GenericNameTree. getKeys()
java.util.Set<PdfString>
IPdfNameTreeAccess. getKeys()
Retrieve the set of keys in the name tree.java.util.Map<PdfString,PdfObject>
PdfNameTree. getNames()
Retrieves the names stored in the name treeprivate java.util.LinkedHashMap<PdfString,PdfObject>
PdfNameTree. readFromCatalog()
protected static java.util.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 PdfString Modifier and Type Method Description void
GenericNameTree. addEntry(PdfString key, PdfObject value)
Add an entry to the name tree.protected void
GenericNameTree. addEntry(PdfString key, PdfObject value, java.util.function.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
PdfStringComparator. compare(PdfString o1, PdfString o2)
private PdfDictionary[]
GenericNameTree. constructLeafArr(PdfString[] names)
private PdfDictionary
GenericNameTree. formatNodeWithLimits(PdfString[] names, int lower, int upper)
PdfObject
GenericNameTree. getEntry(PdfString key)
Retrieve an entry from the name tree.PdfObject
IPdfNameTreeAccess. getEntry(PdfString key)
Retrieve an entry from the name tree.private boolean
PdfCatalog. isEqualSameNameDestExist(java.util.Map<PdfPage,PdfPage> page2page, PdfDocument toDocument, PdfString srcDestName, PdfArray srcDestArray, PdfPage oldPage)
private static PdfString
GenericNameTree. iterateItems(PdfDictionary dictionary, java.util.Map<PdfString,PdfObject> items, PdfString leftOver)
private static PdfString
GenericNameTree. iterateLeafNode(PdfArray names, java.util.Map<PdfString,PdfObject> items, PdfString leftOver)
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
WriterProperties. setInitialDocumentId(PdfString initialDocumentId)
The /ID entry of a document contains an array with two entries.void
PdfCatalog. setLang(PdfString lang)
An entry specifying the natural language, and optionally locale.WriterProperties
WriterProperties. setModifiedDocumentId(PdfString modifiedDocumentId)
The /ID entry of a document contains an array with two entries.private void
PdfOutputStream. write(PdfString pdfString)
Method parameters in com.itextpdf.kernel.pdf with type arguments of type PdfString Modifier and Type Method Description private void
PdfNameTree. insertDestsEntriesFromCatalog(java.util.Map<PdfString,PdfObject> items)
private static PdfString
GenericNameTree. iterateItems(PdfDictionary dictionary, java.util.Map<PdfString,PdfObject> items, PdfString leftOver)
private static PdfString
GenericNameTree. iterateLeafNode(PdfArray names, java.util.Map<PdfString,PdfObject> items, PdfString leftOver)
private static void
PdfNameTree. normalizeDestinations(java.util.Map<PdfString,PdfObject> items)
protected void
GenericNameTree. setItems(java.util.LinkedHashMap<PdfString,PdfObject> items)
-
Uses of PdfString in com.itextpdf.kernel.pdf.action
Fields in com.itextpdf.kernel.pdf.action declared as PdfString Modifier and Type Field Description private static PdfString
PdfMediaClipData. TEMPACCESS
Constructors in com.itextpdf.kernel.pdf.action with parameters of type PdfString Constructor Description PdfWin(PdfString f)
Creates a new wrapper around a newly created Windows launch parameter dictionary.PdfWin(PdfString f, PdfString d, PdfString o, PdfString p)
Creates a new wrapper around a newly created Windows launch parameter dictionary. -
Uses of PdfString in com.itextpdf.kernel.pdf.annot
Fields in com.itextpdf.kernel.pdf.annot declared as PdfString Modifier and Type Field Description static PdfString
PdfAnnotation. Accepted
Annotation state.static PdfString
PdfAnnotation. Canceled
Annotation state.static PdfString
PdfAnnotation. Completed
Annotation state.static PdfString
PdfAnnotation. Marked
Annotation state.static PdfString
PdfAnnotation. MarkedModel
Annotation state model.static PdfString
PdfAnnotation. None
Annotation state.static PdfString
PdfAnnotation. Rejected
Annotation state.static PdfString
PdfAnnotation. ReviewModel
Annotation state model.static PdfString
PdfAnnotation. Unmarked
Annotation state.Methods in com.itextpdf.kernel.pdf.annot that return PdfString Modifier and Type Method Description PdfString
PdfAnnotation. 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.PdfString
PdfMarkupAnnotation. getCreationDate()
The date and time when the annotation was created.PdfString
PdfAnnotation. getDate()
The date and time when the annotation was most recently modified.PdfString
PdfFreeTextAnnotation. getDefaultAppearance()
The default appearance string that shall be used in formatting the text.PdfString
PdfRedactAnnotation. getDefaultAppearance()
The default appearance string that shall be used in formatting the text.PdfString
PdfFreeTextAnnotation. getDefaultStyleString()
PdfString
PdfTrapNetworkAnnotation. getLastModified()
The date and time when the trap network was most recently modified.PdfString
PdfAnnotation. getName()
Gets the annotation name, a text string uniquely identifying it among all the annotations on its page.PdfString
PdfRedactAnnotation. getOverlayText()
PdfString
PdfTextAnnotation. getState()
PdfString
PdfTextAnnotation. getStateModel()
PdfString
PdfMarkupAnnotation. getSubject()
Text representing a short description of the subject being addressed by the annotation.PdfString
PdfCaretAnnotation. getSymbol()
PdfString
PdfMarkupAnnotation. getText()
The text label that will be displayed in the title bar of the annotation's pop-up window when open and active.PdfString
PdfAnnotation. getTitle()
Annotation title.Methods in com.itextpdf.kernel.pdf.annot with parameters of type PdfString Modifier and Type Method Description PdfAnnotation
PdfAnnotation. 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
PdfMarkupAnnotation. setCreationDate(PdfString creationDate)
Sets the date and time when the annotation was created.PdfAnnotation
PdfAnnotation. setDate(PdfString date)
The date and time when the annotation was most recently modified.PdfFreeTextAnnotation
PdfFreeTextAnnotation. setDefaultAppearance(PdfString appearanceString)
The default appearance string that shall be used in formatting the text.PdfRedactAnnotation
PdfRedactAnnotation. setDefaultAppearance(PdfString appearanceString)
The default appearance string that shall be used in formatting the text.PdfFreeTextAnnotation
PdfFreeTextAnnotation. setDefaultStyleString(PdfString defaultStyleString)
PdfAnnotation
PdfAnnotation. setName(PdfString name)
Sets the annotation name, a text string uniquely identifying it among all the annotations on its page.PdfRedactAnnotation
PdfRedactAnnotation. setOverlayText(PdfString text)
PdfTextAnnotation
PdfTextAnnotation. setState(PdfString state)
PdfTextAnnotation
PdfTextAnnotation. setStateModel(PdfString stateModel)
PdfMarkupAnnotation
PdfMarkupAnnotation. setSubject(PdfString subject)
Sets the text representing a short description of the subject being addressed by the annotation.PdfCaretAnnotation
PdfCaretAnnotation. setSymbol(PdfString symbol)
PdfMarkupAnnotation
PdfMarkupAnnotation. setText(PdfString text)
Sets the text label that will be displayed in the title bar of the annotation's pop-up window when open and active.PdfAnnotation
PdfAnnotation. setTitle(PdfString title)
Sets annotation title.Constructors in com.itextpdf.kernel.pdf.annot with parameters of type PdfString Constructor Description PdfFreeTextAnnotation(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 PdfString Modifier and Type Method Description PdfString
AnnotationDefaultAppearance. 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 PdfString Modifier and Type Method Description private 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 PdfString Modifier and Type Field Description private PdfString
TextRenderInfo. string
Methods in com.itextpdf.kernel.pdf.canvas.parser.data that return PdfString Modifier and Type Method Description PdfString
TextRenderInfo. 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 PdfString Modifier and Type Method Description private 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 PdfString Constructor Description TextRenderInfo(TextRenderInfo parent, PdfString str, float horizontalOffset)
Used for creating sub-TextRenderInfos for each individual character.TextRenderInfo(PdfString str, CanvasGraphicsState gs, Matrix textMatrix, java.util.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 PdfString Modifier and Type Method Description PdfString
PdfCollection. 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 PdfString Modifier and Type Method Description private static PdfArray
PdfSpecialCs.Indexed. getIndexedCsArray(PdfObject base, int hival, PdfString lookup)
Constructors in com.itextpdf.kernel.pdf.colorspace with parameters of type PdfString Constructor Description Indexed(PdfObject base, int hival, PdfString lookup)
-
Uses of PdfString in com.itextpdf.kernel.pdf.filespec
Constructors in com.itextpdf.kernel.pdf.filespec with parameters of type PdfString Constructor Description PdfStringFS(PdfString pdfObject)
-
Uses of PdfString in com.itextpdf.kernel.pdf.navigation
Constructors in com.itextpdf.kernel.pdf.navigation with parameters of type PdfString Constructor Description PdfStringDestination(PdfString pdfObject)
-
Uses of PdfString in com.itextpdf.kernel.pdf.tagging
Methods in com.itextpdf.kernel.pdf.tagging that return PdfString Modifier and Type Method Description PdfString
PdfStructElem. getActualText()
PdfString
PdfStructElem. getAlt()
PdfString
PdfStructElem. getE()
PdfString
PdfStructElem. getLang()
PdfString
PdfStructElem. getPhoneme()
Attribute for a structure element that may be used as pronunciation hint.PdfString
PdfStructElem. getStructureElementId()
Gets the structure element's ID string, if it has one.Methods in com.itextpdf.kernel.pdf.tagging with parameters of type PdfString Modifier and Type Method Description void
PdfStructIdTree. addEntry(PdfString key, PdfObject value)
PdfStructElem
PdfStructIdTree. getStructElemById(PdfString id)
Retrieve a structure element by ID, if it has one.void
PdfStructElem. setActualText(PdfString actualText)
void
PdfStructElem. setAlt(PdfString alt)
void
PdfStructElem. setE(PdfString e)
void
PdfStructElem. setLang(PdfString lang)
PdfNamespace
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 PdfString Constructor Description PdfNamespace(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 PdfString Modifier and Type Method Description private java.lang.String
BackedAccessibilityProperties. toUnicodeString(PdfString pdfString)
-
Uses of PdfString in com.itextpdf.kernel.pdf.xobject
Methods in com.itextpdf.kernel.pdf.xobject that return PdfString Modifier and Type Method Description PdfString
PdfFormXObject. getMarkStyle()
Gets a text string representing the printer’s mark in human-readable form.PdfString
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 PdfString Modifier and Type Method Description PdfFormXObject
PdfFormXObject. setMarkStyle(PdfString markStyle)
Sets a text string representing the printer’s mark in human-readable form.PdfFormXObject
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 PdfString Modifier and Type Method Description boolean
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 PdfString Modifier and Type Field Description private PdfString
DuplicateIdEntryValidationContext. id
Methods in com.itextpdf.kernel.validation.context that return PdfString Modifier and Type Method Description PdfString
DuplicateIdEntryValidationContext. getId()
Gets the ID of the entry.Constructors in com.itextpdf.kernel.validation.context with parameters of type PdfString Constructor Description DuplicateIdEntryValidationContext(PdfString id)
Instantiates a newDuplicateIdEntryValidationContext
based on ID string. -
Uses of PdfString in com.itextpdf.pdfa.checker
Methods in com.itextpdf.pdfa.checker with parameters of type PdfString Modifier and Type Method Description protected 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 PdfString Modifier and Type Method Description private static boolean
FormulaCheckUtil. hasInvalidValues(PdfString altText, PdfString actualText)
Deprecated. -
Uses of PdfString in com.itextpdf.pdfua.checkers.utils.ua1
Methods in com.itextpdf.pdfua.checkers.utils.ua1 with parameters of type PdfString Modifier and Type Method Description private static boolean
PdfUA1FormulaChecker. hasInvalidValues(PdfString altText, PdfString actualText)
-
Uses of PdfString in com.itextpdf.pdfua.checkers.utils.ua2
Methods in com.itextpdf.pdfua.checkers.utils.ua2 with parameters of type PdfString Modifier and Type Method Description static void
PdfUA2StringChecker. checkPdfString(PdfString string)
Checks PdfString object to be UA-2 compatible. -
Uses of PdfString in com.itextpdf.signatures
Methods in com.itextpdf.signatures that return PdfString Modifier and Type Method Description PdfString
PdfSignature. getCert()
Gets the /Cert entry value of this signature.PdfString
PdfSignature. getContents()
Gets the /Contents entry value.PdfString
PdfSignature. getDate()
Gets the /M value.
-