com.lowagie.text.pdf.collection
public class PdfCollectionSort extends PdfDictionary
Constructor Summary | |
---|---|
PdfCollectionSort(String key)
Constructs a PDF Collection Sort Dictionary. | |
PdfCollectionSort(String[] keys)
Constructs a PDF Collection Sort Dictionary. |
Method Summary | |
---|---|
void | 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). |
Parameters: key the key of the field that will be used to sort entries
Parameters: keys the keys of the fields that will be used to sort entries
Parameters: ascending true is the default, use false for descending order
Parameters: ascending an array with every element corresponding with a name of a field.