java.lang.Object
com.lowagie.text.pdf.PdfObject
com.lowagie.text.pdf.PdfDictionary
com.lowagie.text.pdf.collection.PdfCollectionSort
Deprecated.
-
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionPdfCollectionSort(String key) Deprecated.Constructs a PDF Collection Sort Dictionary.PdfCollectionSort(String[] keys) Deprecated.Constructs a PDF Collection Sort Dictionary. -
Method Summary
Modifier and TypeMethodDescriptionvoidsetSortOrder(boolean ascending) Deprecated.Defines the sort order of the field (ascending or descending).voidsetSortOrder(boolean[] ascending) Deprecated.Defines the sort order of the field (ascending or descending).Methods inherited from class com.lowagie.text.pdf.PdfDictionary
clear, contains, get, getAsArray, getAsBoolean, getAsDict, getAsIndirectObject, getAsName, getAsNumber, getAsStream, getAsString, getDirectObject, getKeys, getKeysAndValues, isCatalog, isFont, isOutlineTree, isPage, isPages, merge, mergeDifferent, put, putAll, putEx, remove, size, toPdf, toStringMethods inherited from class com.lowagie.text.pdf.PdfObject
canBeInObjStm, getBytes, getIndRef, isArray, isBoolean, isDictionary, isIndirect, isName, isNull, isNumber, isStream, isString, length, setContent, setIndRef, type
-
Constructor Details
-
PdfCollectionSort
Deprecated.Constructs a PDF Collection Sort Dictionary.- Parameters:
key- the key of the field that will be used to sort entries
-
PdfCollectionSort
Deprecated.Constructs a PDF Collection Sort Dictionary.- Parameters:
keys- the keys of the fields that will be used to sort entries
-
-
Method Details
-
setSortOrder
public void setSortOrder(boolean ascending) Deprecated.Defines the sort order of the field (ascending or descending).- Parameters:
ascending- true is the default, use false for descending order
-
setSortOrder
public void setSortOrder(boolean[] ascending) Deprecated.Defines the sort order of the field (ascending or descending).- Parameters:
ascending- an array with every element corresponding with a name of a field.
-