|
Graphics.PDF.Document | Portability | portable | Stability | experimental | Maintainer | misc@NOSPAMalpheccar.org |
|
|
|
|
|
Description |
Management of the PDF structure
|
|
Synopsis |
|
|
|
|
Document actions
|
|
Special document objects
|
|
data PDFXForm |
Instances | |
|
|
Page management
|
|
addPage |
|
|
addPageWithTransition |
|
|
drawWithPage |
|
|
createPDFXForm |
|
|
Page transitions
|
|
data PDFTransition |
A PDF Transition
| Constructors | | Instances | |
|
|
data PDFTransStyle |
Transition style
| Constructors | | Instances | |
|
|
data PDFTransDirection |
Direction of a transition
| Constructors | | Instances | |
|
|
data PDFTransDimension |
Dimension of a transition
| Constructors | | Instances | |
|
|
data PDFTransDirection2 |
Direction of a transition
| Constructors | LeftToRight | | BottomToTop | Wipe only
| RightToLeft | Wipe only
| TopToBottom | | TopLeftToBottomRight | Glitter only
|
| Instances | |
|
|
Document information
|
|
data PDFDocumentInfo |
Document metadata
| Constructors | |
|
|
data PDFDocumentPageMode |
Document page mode
| Constructors | UseNone | | UseOutlines | | UseThumbs | | FullScreen | |
| Instances | |
|
|
data PDFDocumentPageLayout |
Document page layout
| Constructors | SinglePage | | OneColumn | | TwoColumnLeft | | TwoColumnRight | | TwoPageLeft | | TwoPageRight | |
| Instances | |
|
|
data PDFViewerPreferences |
Viewer preferences
| Constructors | PDFViewerPreferences | | hideToolbar :: Bool | To hide the toolbar
| hideMenuBar :: Bool | To hide the menubar
| hideWindowUI :: Bool | To hide the window
| fitWindow :: Bool | Fit window to screen
| centerWindow :: Bool | Center window on screen
| displayDoctitle :: Bool | Display the docu,ent title
| nonFullScreenPageMode :: PDFDocumentPageMode | Display mode when exiting the full screen mode
|
|
| Instances | |
|
|
standardDocInfo :: PDFDocumentInfo |
No information for the document
|
|
standardViewerPrefs :: PDFViewerPreferences |
|
Draw monad and drawing functions
|
|
Types
|
|
data Draw a |
The drawing monad
| Instances | |
|
|
class PDFXObject a where |
A PDF Xobject which can be drawn
| | Methods | | | Instances | |
|
|
General drawing functions
|
|
withNewContext :: Draw a -> Draw a |
Draw in a new drawing context without perturbing the previous context
that is restored after the draw
|
|
emptyDrawing :: Draw () |
An empty drawing
|
|
Produced by Haddock version 0.8 |