Class PdfCollectionSort
java.lang.Object
com.aowagie.text.pdf.PdfObject
com.aowagie.text.pdf.PdfDictionary
com.aowagie.text.pdf.collection.PdfCollectionSort
-
Field Summary
Fields inherited from class PdfDictionary
hashMap -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetSortOrder(boolean ascending) Defines the sort order of the field (ascending or descending).voidsetSortOrder(boolean[] ascending) Defines the sort order of the field (ascending or descending).Methods inherited from class PdfDictionary
get, getAsArray, getAsDict, getAsName, getAsNumber, getAsString, getDirectObject, getKeys, isCatalog, isFont, isOutlineTree, isPage, isPages, put, remove, size, toPdf, toStringMethods inherited from class PdfObject
getBytes, getIndRef, isArray, isBoolean, isDictionary, isIndirect, isName, isNull, isNumber, isStream, isString, setContent, setIndRef, type
-
Constructor Details
-
PdfCollectionSort
PdfCollectionSort()
-
-
Method Details
-
setSortOrder
public void setSortOrder(boolean ascending) 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) Defines the sort order of the field (ascending or descending).- Parameters:
ascending- an array with every element corresponding with a name of a field.
-