Expand description
Basic PDF annotations support according to ISO 32000-1 Chapter 12.5
This module provides basic annotation types including text annotations, link annotations, and markup annotations.
Structs§
- Annotation
- Base annotation structure
- Annotation
Flags - Annotation flags according to ISO 32000-1 Section 12.5.3
- Annotation
Manager - Annotation manager
- Border
Style - Border style for annotations
- Circle
Annotation - Circle annotation
- File
Attachment Annotation - File attachment annotation
- Free
Text Annotation - Free text annotation
- Highlight
Annotation - Highlight annotation
- InkAnnotation
- Ink annotation (freehand drawing)
- Line
Annotation - Line annotation
- Link
Annotation - Link annotation
- Markup
Annotation - Markup annotation
- Polygon
Annotation - Polygon annotation - displays a closed polygon on the page
- Polyline
Annotation - Polyline annotation - displays an open polyline on the page
- Popup
Annotation - Popup annotation - displays text in a pop-up window
- Popup
Flags - Flags for popup annotation behavior
- Quad
Points - Quad points defining the region to be marked up
- Square
Annotation - Square annotation
- Stamp
Annotation - Stamp annotation
- Text
Annotation - Text annotation (sticky note)
Enums§
- Annotation
Type - Annotation types according to ISO 32000-1 Table 169
- Border
Style Type - Border style type
- File
Attachment Icon - File attachment icon types
- Highlight
Mode - Highlight mode for links
- Icon
- Icon types for text annotations
- Line
Ending Style - Line ending styles
- Link
Action - Link action types
- Link
Destination - Link destination types (deprecated - use structure::Destination instead)
- Markup
Type - Markup annotation types
- Stamp
Name - Standard stamp names
Functions§
- create_
markup_ popup - Create a popup for a markup annotation
- create_
open_ popup - Create an initially open popup
- create_
rectangle_ polygon - Helper function to create a rectangle annotation from four points
- create_
regular_ polygon - Helper function to create a regular polygon
- create_
text_ popup - Create a popup for a text annotation
- create_
triangle - Helper function to create a triangle annotation