| java.lang.Object com.lowagie.text.pdf.PdfObject com.lowagie.text.pdf.PdfDictionary com.lowagie.text.pdf.PdfOutline
PdfOutline | public class PdfOutline extends PdfDictionary (Code) | | PdfOutline is an object that represents a PDF outline entry.
An outline allows a user to access views of a document by name.
This object is described in the 'Portable Document Format Reference Manual version 1.3'
section 6.7 (page 104-106)
See Also: PdfDictionary |
Constructor Summary | |
| PdfOutline(PdfWriter writer) Constructs a PdfOutline . | public | PdfOutline(PdfOutline parent, PdfAction action, String title) Constructs a PdfOutline .
This is the constructor for an outline entry . | public | PdfOutline(PdfOutline parent, PdfAction action, String title, boolean open) Constructs a PdfOutline . | public | PdfOutline(PdfOutline parent, PdfDestination destination, String title) Constructs a PdfOutline .
This is the constructor for an outline entry . | public | PdfOutline(PdfOutline parent, PdfDestination destination, String title, boolean open) Constructs a PdfOutline . | public | PdfOutline(PdfOutline parent, PdfAction action, PdfString title) Constructs a PdfOutline .
This is the constructor for an outline entry . | public | PdfOutline(PdfOutline parent, PdfAction action, PdfString title, boolean open) Constructs a PdfOutline . | public | PdfOutline(PdfOutline parent, PdfDestination destination, PdfString title) Constructs a PdfOutline .
This is the constructor for an outline entry . | public | PdfOutline(PdfOutline parent, PdfDestination destination, PdfString title, boolean open) Constructs a PdfOutline . | public | PdfOutline(PdfOutline parent, PdfAction action, Paragraph title) Constructs a PdfOutline .
This is the constructor for an outline entry . | public | PdfOutline(PdfOutline parent, PdfAction action, Paragraph title, boolean open) Constructs a PdfOutline . | public | PdfOutline(PdfOutline parent, PdfDestination destination, Paragraph title) Constructs a PdfOutline .
This is the constructor for an outline entry . | public | PdfOutline(PdfOutline parent, PdfDestination destination, Paragraph title, boolean open) Constructs a PdfOutline . |
PdfOutline | PdfOutline(PdfWriter writer)(Code) | | Constructs a PdfOutline .
This is the constructor for the outlines object .
Parameters: writer - The PdfWriter you are adding the outline to |
PdfOutline | public PdfOutline(PdfOutline parent, PdfAction action, String title)(Code) | | Constructs a PdfOutline .
This is the constructor for an outline entry . The open mode is
true .
Parameters: parent - the parent of this outline item Parameters: action - the PdfAction for this outline item Parameters: title - the title of this outline item |
PdfOutline | public PdfOutline(PdfOutline parent, PdfAction action, String title, boolean open)(Code) | | Constructs a PdfOutline .
This is the constructor for an outline entry .
Parameters: parent - the parent of this outline item Parameters: action - the PdfAction for this outline item Parameters: title - the title of this outline item Parameters: open - true if the children are visible |
PdfOutline | public PdfOutline(PdfOutline parent, PdfDestination destination, String title)(Code) | | Constructs a PdfOutline .
This is the constructor for an outline entry . The open mode is
true .
Parameters: parent - the parent of this outline item Parameters: destination - the destination for this outline item Parameters: title - the title of this outline item |
PdfOutline | public PdfOutline(PdfOutline parent, PdfDestination destination, String title, boolean open)(Code) | | Constructs a PdfOutline .
This is the constructor for an outline entry .
Parameters: parent - the parent of this outline item Parameters: destination - the destination for this outline item Parameters: title - the title of this outline item Parameters: open - true if the children are visible |
PdfOutline | public PdfOutline(PdfOutline parent, PdfAction action, PdfString title)(Code) | | Constructs a PdfOutline .
This is the constructor for an outline entry . The open mode is
true .
Parameters: parent - the parent of this outline item Parameters: action - the PdfAction for this outline item Parameters: title - the title of this outline item |
PdfOutline | public PdfOutline(PdfOutline parent, PdfAction action, PdfString title, boolean open)(Code) | | Constructs a PdfOutline .
This is the constructor for an outline entry .
Parameters: parent - the parent of this outline item Parameters: action - the PdfAction for this outline item Parameters: title - the title of this outline item Parameters: open - true if the children are visible |
PdfOutline | public PdfOutline(PdfOutline parent, PdfDestination destination, PdfString title)(Code) | | Constructs a PdfOutline .
This is the constructor for an outline entry . The open mode is
true .
Parameters: parent - the parent of this outline item Parameters: destination - the destination for this outline item Parameters: title - the title of this outline item |
PdfOutline | public PdfOutline(PdfOutline parent, PdfDestination destination, PdfString title, boolean open)(Code) | | Constructs a PdfOutline .
This is the constructor for an outline entry .
Parameters: parent - the parent of this outline item Parameters: destination - the destination for this outline item Parameters: title - the title of this outline item Parameters: open - true if the children are visible |
PdfOutline | public PdfOutline(PdfOutline parent, PdfAction action, Paragraph title)(Code) | | Constructs a PdfOutline .
This is the constructor for an outline entry . The open mode is
true .
Parameters: parent - the parent of this outline item Parameters: action - the PdfAction for this outline item Parameters: title - the title of this outline item |
PdfOutline | public PdfOutline(PdfOutline parent, PdfAction action, Paragraph title, boolean open)(Code) | | Constructs a PdfOutline .
This is the constructor for an outline entry .
Parameters: parent - the parent of this outline item Parameters: action - the PdfAction for this outline item Parameters: title - the title of this outline item Parameters: open - true if the children are visible |
PdfOutline | public PdfOutline(PdfOutline parent, PdfDestination destination, Paragraph title)(Code) | | Constructs a PdfOutline .
This is the constructor for an outline entry . The open mode is
true .
Parameters: parent - the parent of this outline item Parameters: destination - the destination for this outline item Parameters: title - the title of this outline item |
PdfOutline | public PdfOutline(PdfOutline parent, PdfDestination destination, Paragraph title, boolean open)(Code) | | Constructs a PdfOutline .
This is the constructor for an outline entry .
Parameters: parent - the parent of this outline item Parameters: destination - the destination for this outline item Parameters: title - the title of this outline item Parameters: open - true if the children are visible |
addKid | public void addKid(PdfOutline outline)(Code) | | Adds a kid to the outline
Parameters: outline - |
getColor | public Color getColor()(Code) | | Getter for property color.
Value of property color. |
getKids | public ArrayList getKids()(Code) | | Returns the kids of this outline
an ArrayList with PdfOutlines |
getPdfDestination | public PdfDestination getPdfDestination()(Code) | | Gets the destination for this outline.
the destination |
getStyle | public int getStyle()(Code) | | Getter for property style.
Value of property style. |
getTag | public String getTag()(Code) | | Getter for property tag.
Value of property tag. |
getTitle | public String getTitle()(Code) | | Gets the title of this outline
the title as a String |
indirectReference | public PdfIndirectReference indirectReference()(Code) | | Gets the indirect reference of this PdfOutline .
the PdfIndirectReference to this outline. |
initOutline | void initOutline(PdfOutline parent, String title, boolean open)(Code) | | Helper for the constructors.
Parameters: parent - the parent outline Parameters: title - the title for this outline Parameters: open - true if the children are visible |
isOpen | public boolean isOpen()(Code) | | Getter for property open.
Value of property open. |
level | public int level()(Code) | | returns the level of this outline.
a level |
parent | public PdfOutline parent()(Code) | | Gets the parent of this PdfOutline .
the PdfOutline that is the parent of this outline. |
setColor | public void setColor(Color color)(Code) | | Setter for property color.
Parameters: color - New value of property color. |
setCount | void setCount(int count)(Code) | | |
setDestinationPage | public boolean setDestinationPage(PdfIndirectReference pageReference)(Code) | | Set the page of the PdfDestination -object.
Parameters: pageReference - indirect reference to the page true if this page was set as the PdfDestination -page. |
setIndirectReference | public void setIndirectReference(PdfIndirectReference reference)(Code) | | Sets the indirect reference of this PdfOutline .
Parameters: reference - the PdfIndirectReference to this outline. |
setKids | public void setKids(ArrayList kids)(Code) | | Sets the kids of this outline
Parameters: kids - |
setOpen | public void setOpen(boolean open)(Code) | | Setter for property open.
Parameters: open - New value of property open. |
setStyle | public void setStyle(int style)(Code) | | Setter for property style.
Parameters: style - New value of property style. |
setTag | public void setTag(String tag)(Code) | | Setter for property tag.
Parameters: tag - New value of property tag. |
setTitle | public void setTitle(String title)(Code) | | Sets the title of this outline
Parameters: title - |
|
|