/** * Gets the Collection schema dictionary. * @return schema an overview of the collection fields */ public PdfCollectionSchema getSchema() { return (PdfCollectionSchema)get(PdfName.SCHEMA); }
/** * Sets the Collection sort dictionary. * @param sort a collection sort dictionary */ public void setSort(PdfCollectionSort sort) { put(PdfName.SORT, sort); } }
/** * This is the most simple way to change a PDF into a * portable collection. Choose one of the following names: * <ul> * <li>PdfName.D (detailed view) * <li>PdfName.T (tiled view) * <li>PdfName.H (hidden) * </ul> * Pass this name as a parameter and your PDF will be * a portable collection with all the embedded and * attached files as entries. * @param initialView can be PdfName.D, PdfName.T or PdfName.H */ public void makePackage( PdfName initialView ) { PdfCollection collection = new PdfCollection(0); collection.put(PdfName.VIEW, initialView); stamper.makePackage( collection ); }
/** * This is the most simple way to change a PDF into a * portable collection. Choose one of the following names: * <ul> * <li>PdfName.D (detailed view) * <li>PdfName.T (tiled view) * <li>PdfName.H (hidden) * </ul> * Pass this name as a parameter and your PDF will be * a portable collection with all the embedded and * attached files as entries. * @param initialView can be PdfName.D, PdfName.T or PdfName.H */ public void makePackage( PdfName initialView ) { PdfCollection collection = new PdfCollection(0); collection.put(PdfName.VIEW, initialView); stamper.makePackage( collection ); }
/** * Sets the Collection sort dictionary. * @param sort a collection sort dictionary */ public void setSort(PdfCollectionSort sort) { put(PdfName.SORT, sort); } }
/** * This is the most simple way to change a PDF into a * portable collection. Choose one of the following names: * <ul> * <li>PdfName.D (detailed view) * <li>PdfName.T (tiled view) * <li>PdfName.H (hidden) * </ul> * Pass this name as a parameter and your PDF will be * a portable collection with all the embedded and * attached files as entries. * @param initialView can be PdfName.D, PdfName.T or PdfName.H */ public void makePackage( final PdfName initialView ) { final PdfCollection collection = new PdfCollection(0); collection.put(PdfName.VIEW, initialView); this.stamper.makePackage( collection ); }
/** * Gets the Collection schema dictionary. * @return schema an overview of the collection fields */ public PdfCollectionSchema getSchema() { return (PdfCollectionSchema)get(PdfName.SCHEMA); }
/** * Sets the Collection schema dictionary. * @param schema an overview of the collection fields */ public void setSchema(PdfCollectionSchema schema) { put(PdfName.SCHEMA, schema); }
/** * Gets the Collection schema dictionary. * @return schema an overview of the collection fields */ public PdfCollectionSchema getSchema() { return (PdfCollectionSchema)get(PdfName.SCHEMA); }
/** * Sets the Collection sort dictionary. * @param sort a collection sort dictionary */ public void setSort(PdfCollectionSort sort) { put(PdfName.SORT, sort); } }
/** * Sets the Collection schema dictionary. * @param schema an overview of the collection fields */ public void setSchema(PdfCollectionSchema schema) { put(PdfName.SCHEMA, schema); }
/** * Sets the Collection schema dictionary. * @param schema an overview of the collection fields */ public void setSchema(PdfCollectionSchema schema) { put(PdfName.SCHEMA, schema); }
/** * Identifies the document that will be initially presented * in the user interface. * @param description the description that was used when attaching the file to the document */ public void setInitialDocument(String description) { put(PdfName.D, new PdfString(description, null)); }
/** * Identifies the document that will be initially presented * in the user interface. * @param description the description that was used when attaching the file to the document */ public void setInitialDocument(String description) { put(PdfName.D, new PdfString(description, null)); }
/** * Identifies the document that will be initially presented * in the user interface. * @param description the description that was used when attaching the file to the document */ public void setInitialDocument(String description) { put(PdfName.D, new PdfString(description, null)); }