Package com.aowagie.text.pdf.collection
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 com.aowagie.text.pdf.PdfDictionary
hashMap
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
setSortOrder
(boolean ascending) Defines the sort order of the field (ascending or descending).void
setSortOrder
(boolean[] ascending) Defines the sort order of the field (ascending or descending).Methods inherited from class com.aowagie.text.pdf.PdfDictionary
get, getAsArray, getAsDict, getAsName, getAsNumber, getAsString, getDirectObject, getKeys, isCatalog, isFont, isOutlineTree, isPage, isPages, put, remove, size, toPdf, toString
Methods inherited from class com.aowagie.text.pdf.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.
-