mupdf
Loading...
Searching...
No Matches
annot.h File Reference
Include dependency graph for annot.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  pdf_filespec_params

Typedefs

typedef struct pdf_annot pdf_annot
typedef struct pdf_filespec_params pdf_filespec_params

Enumerations

enum  pdf_annot_type {
  PDF_ANNOT_TEXT , PDF_ANNOT_LINK , PDF_ANNOT_FREE_TEXT , PDF_ANNOT_LINE ,
  PDF_ANNOT_SQUARE , PDF_ANNOT_CIRCLE , PDF_ANNOT_POLYGON , PDF_ANNOT_POLY_LINE ,
  PDF_ANNOT_HIGHLIGHT , PDF_ANNOT_UNDERLINE , PDF_ANNOT_SQUIGGLY , PDF_ANNOT_STRIKE_OUT ,
  PDF_ANNOT_REDACT , PDF_ANNOT_STAMP , PDF_ANNOT_CARET , PDF_ANNOT_INK ,
  PDF_ANNOT_POPUP , PDF_ANNOT_FILE_ATTACHMENT , PDF_ANNOT_SOUND , PDF_ANNOT_MOVIE ,
  PDF_ANNOT_RICH_MEDIA , PDF_ANNOT_WIDGET , PDF_ANNOT_SCREEN , PDF_ANNOT_PRINTER_MARK ,
  PDF_ANNOT_TRAP_NET , PDF_ANNOT_WATERMARK , PDF_ANNOT_3D , PDF_ANNOT_PROJECTION ,
  PDF_ANNOT_UNKNOWN = -1
}
enum  {
  PDF_ANNOT_IS_INVISIBLE = 1 << (1-1) , PDF_ANNOT_IS_HIDDEN = 1 << (2-1) , PDF_ANNOT_IS_PRINT = 1 << (3-1) , PDF_ANNOT_IS_NO_ZOOM = 1 << (4-1) ,
  PDF_ANNOT_IS_NO_ROTATE = 1 << (5-1) , PDF_ANNOT_IS_NO_VIEW = 1 << (6-1) , PDF_ANNOT_IS_READ_ONLY = 1 << (7-1) , PDF_ANNOT_IS_LOCKED = 1 << (8-1) ,
  PDF_ANNOT_IS_TOGGLE_NO_VIEW = 1 << (9-1) , PDF_ANNOT_IS_LOCKED_CONTENTS = 1 << (10-1)
}
enum  pdf_line_ending {
  PDF_ANNOT_LE_NONE = 0 , PDF_ANNOT_LE_SQUARE , PDF_ANNOT_LE_CIRCLE , PDF_ANNOT_LE_DIAMOND ,
  PDF_ANNOT_LE_OPEN_ARROW , PDF_ANNOT_LE_CLOSED_ARROW , PDF_ANNOT_LE_BUTT , PDF_ANNOT_LE_R_OPEN_ARROW ,
  PDF_ANNOT_LE_R_CLOSED_ARROW , PDF_ANNOT_LE_SLASH
}
enum  { PDF_ANNOT_Q_LEFT = 0 , PDF_ANNOT_Q_CENTER = 1 , PDF_ANNOT_Q_RIGHT = 2 }
enum  pdf_intent {
  PDF_ANNOT_IT_DEFAULT = 0 , PDF_ANNOT_IT_FREETEXT_CALLOUT , PDF_ANNOT_IT_FREETEXT_TYPEWRITER , PDF_ANNOT_IT_LINE_ARROW ,
  PDF_ANNOT_IT_LINE_DIMENSION , PDF_ANNOT_IT_POLYLINE_DIMENSION , PDF_ANNOT_IT_POLYGON_CLOUD , PDF_ANNOT_IT_POLYGON_DIMENSION ,
  PDF_ANNOT_IT_STAMP_IMAGE , PDF_ANNOT_IT_STAMP_SNAPSHOT , PDF_ANNOT_IT_UNKNOWN = 255
}
enum  pdf_border_style {
  PDF_BORDER_STYLE_SOLID = 0 , PDF_BORDER_STYLE_DASHED , PDF_BORDER_STYLE_BEVELED , PDF_BORDER_STYLE_INSET ,
  PDF_BORDER_STYLE_UNDERLINE
}
enum  pdf_border_effect { PDF_BORDER_EFFECT_NONE = 0 , PDF_BORDER_EFFECT_CLOUDY }

Functions

const char * pdf_string_from_annot_type (fz_context *ctx, enum pdf_annot_type type)
enum pdf_annot_type pdf_annot_type_from_string (fz_context *ctx, const char *subtype)
const char * pdf_string_from_intent (fz_context *ctx, enum pdf_intent intent)
pdf_objpdf_name_from_intent (fz_context *ctx, enum pdf_intent intent)
enum pdf_intent pdf_intent_from_string (fz_context *ctx, const char *str)
enum pdf_intent pdf_intent_from_name (fz_context *ctx, pdf_obj *obj)
enum pdf_line_ending pdf_line_ending_from_name (fz_context *ctx, pdf_obj *end)
enum pdf_line_ending pdf_line_ending_from_string (fz_context *ctx, const char *end)
pdf_objpdf_name_from_line_ending (fz_context *ctx, enum pdf_line_ending end)
const char * pdf_string_from_line_ending (fz_context *ctx, enum pdf_line_ending end)
pdf_annotpdf_keep_annot (fz_context *ctx, pdf_annot *annot)
void pdf_drop_annot (fz_context *ctx, pdf_annot *annot)
pdf_annotpdf_first_annot (fz_context *ctx, pdf_page *page)
pdf_annotpdf_next_annot (fz_context *ctx, pdf_annot *annot)
pdf_objpdf_annot_obj (fz_context *ctx, pdf_annot *annot)
pdf_pagepdf_annot_page (fz_context *ctx, pdf_annot *annot)
fz_rect pdf_bound_annot (fz_context *ctx, pdf_annot *annot)
enum pdf_annot_type pdf_annot_type (fz_context *ctx, pdf_annot *annot)
void pdf_run_annot (fz_context *ctx, pdf_annot *annot, fz_device *dev, fz_matrix ctm, fz_cookie *cookie)
pdf_objpdf_lookup_name (fz_context *ctx, pdf_document *doc, pdf_obj *which, pdf_obj *needle)
pdf_objpdf_load_name_tree (fz_context *ctx, pdf_document *doc, pdf_obj *which)
pdf_objpdf_lookup_number (fz_context *ctx, pdf_obj *root, int needle)
void pdf_walk_tree (fz_context *ctx, pdf_obj *tree, pdf_obj *kid_name, void(*arrive)(fz_context *, pdf_obj *, void *, pdf_obj **), void(*leave)(fz_context *, pdf_obj *, void *), void *arg, pdf_obj **names, pdf_obj **values)
int pdf_resolve_link (fz_context *ctx, pdf_document *doc, const char *uri, float *xp, float *yp)
fz_link_dest pdf_resolve_link_dest (fz_context *ctx, pdf_document *doc, const char *uri)
pdf_objpdf_new_action_from_link (fz_context *ctx, pdf_document *doc, const char *uri)
pdf_objpdf_new_dest_from_link (fz_context *ctx, pdf_document *doc, const char *uri, int is_remote)
char * pdf_new_uri_from_explicit_dest (fz_context *ctx, fz_link_dest dest)
char * pdf_append_named_dest_to_uri (fz_context *ctx, const char *url, const char *name)
char * pdf_append_explicit_dest_to_uri (fz_context *ctx, const char *url, fz_link_dest dest)
char * pdf_new_uri_from_path_and_named_dest (fz_context *ctx, const char *path, const char *name)
char * pdf_new_uri_from_path_and_explicit_dest (fz_context *ctx, const char *path, fz_link_dest dest)
fz_matrix pdf_annot_transform (fz_context *ctx, pdf_annot *annot)
fz_linkpdf_new_link (fz_context *ctx, pdf_page *page, fz_rect rect, const char *uri, pdf_obj *obj)
pdf_annotpdf_create_annot_raw (fz_context *ctx, pdf_page *page, enum pdf_annot_type type)
fz_linkpdf_create_link (fz_context *ctx, pdf_page *page, fz_rect bbox, const char *uri)
void pdf_delete_link (fz_context *ctx, pdf_page *page, fz_link *link)
pdf_annotpdf_create_annot (fz_context *ctx, pdf_page *page, enum pdf_annot_type type)
void pdf_delete_annot (fz_context *ctx, pdf_page *page, pdf_annot *annot)
void pdf_set_annot_popup (fz_context *ctx, pdf_annot *annot, fz_rect rect)
fz_rect pdf_annot_popup (fz_context *ctx, pdf_annot *annot)
int pdf_annot_has_rect (fz_context *ctx, pdf_annot *annot)
int pdf_annot_has_ink_list (fz_context *ctx, pdf_annot *annot)
int pdf_annot_has_quad_points (fz_context *ctx, pdf_annot *annot)
int pdf_annot_has_vertices (fz_context *ctx, pdf_annot *annot)
int pdf_annot_has_line (fz_context *ctx, pdf_annot *annot)
int pdf_annot_has_interior_color (fz_context *ctx, pdf_annot *annot)
int pdf_annot_has_line_ending_styles (fz_context *ctx, pdf_annot *annot)
int pdf_annot_has_quadding (fz_context *ctx, pdf_annot *annot)
int pdf_annot_has_border (fz_context *ctx, pdf_annot *annot)
int pdf_annot_has_border_effect (fz_context *ctx, pdf_annot *annot)
int pdf_annot_has_icon_name (fz_context *ctx, pdf_annot *annot)
int pdf_annot_has_open (fz_context *ctx, pdf_annot *annot)
int pdf_annot_has_popup (fz_context *ctx, pdf_annot *annot)
int pdf_annot_has_author (fz_context *ctx, pdf_annot *annot)
int pdf_annot_has_subject (fz_context *ctx, pdf_annot *annot)
int pdf_annot_has_in_reply_to (fz_context *ctx, pdf_annot *annot)
int pdf_annot_has_rich_contents (fz_context *ctx, pdf_annot *annot)
int pdf_annot_has_rich_defaults (fz_context *ctx, pdf_annot *annot)
int pdf_annot_flags (fz_context *ctx, pdf_annot *annot)
fz_rect pdf_annot_rect (fz_context *ctx, pdf_annot *annot)
fz_rect pdf_annot_display_rect (fz_context *ctx, pdf_annot *annot)
float pdf_annot_border (fz_context *ctx, pdf_annot *annot)
enum pdf_border_style pdf_annot_border_style (fz_context *ctx, pdf_annot *annot)
float pdf_annot_border_width (fz_context *ctx, pdf_annot *annot)
int pdf_annot_border_dash_count (fz_context *ctx, pdf_annot *annot)
float pdf_annot_border_dash_item (fz_context *ctx, pdf_annot *annot, int i)
enum pdf_border_effect pdf_annot_border_effect (fz_context *ctx, pdf_annot *annot)
float pdf_annot_border_effect_intensity (fz_context *ctx, pdf_annot *annot)
float pdf_annot_opacity (fz_context *ctx, pdf_annot *annot)
void pdf_annot_color (fz_context *ctx, pdf_annot *annot, int *n, float color[4])
void pdf_annot_interior_color (fz_context *ctx, pdf_annot *annot, int *n, float color[4])
int pdf_annot_quadding (fz_context *ctx, pdf_annot *annot)
fz_text_language pdf_annot_language (fz_context *ctx, pdf_annot *annot)
int pdf_annot_quad_point_count (fz_context *ctx, pdf_annot *annot)
fz_quad pdf_annot_quad_point (fz_context *ctx, pdf_annot *annot, int i)
int pdf_annot_ink_list_count (fz_context *ctx, pdf_annot *annot)
int pdf_annot_ink_list_stroke_count (fz_context *ctx, pdf_annot *annot, int i)
fz_point pdf_annot_ink_list_stroke_vertex (fz_context *ctx, pdf_annot *annot, int i, int k)
void pdf_set_annot_flags (fz_context *ctx, pdf_annot *annot, int flags)
pdf_objpdf_annot_stamp_image_obj (fz_context *ctx, pdf_annot *annot)
void pdf_set_annot_stamp_image_obj (fz_context *ctx, pdf_annot *annot, pdf_obj *ref)
void pdf_set_annot_stamp_image (fz_context *ctx, pdf_annot *annot, fz_image *image)
void pdf_set_annot_rect (fz_context *ctx, pdf_annot *annot, fz_rect rect)
void pdf_set_annot_border (fz_context *ctx, pdf_annot *annot, float width)
void pdf_set_annot_border_style (fz_context *ctx, pdf_annot *annot, enum pdf_border_style style)
void pdf_set_annot_border_width (fz_context *ctx, pdf_annot *annot, float width)
void pdf_clear_annot_border_dash (fz_context *ctx, pdf_annot *annot)
void pdf_add_annot_border_dash_item (fz_context *ctx, pdf_annot *annot, float length)
void pdf_set_annot_border_effect (fz_context *ctx, pdf_annot *annot, enum pdf_border_effect effect)
void pdf_set_annot_border_effect_intensity (fz_context *ctx, pdf_annot *annot, float intensity)
void pdf_set_annot_opacity (fz_context *ctx, pdf_annot *annot, float opacity)
void pdf_set_annot_color (fz_context *ctx, pdf_annot *annot, int n, const float *color)
void pdf_set_annot_interior_color (fz_context *ctx, pdf_annot *annot, int n, const float *color)
void pdf_set_annot_quadding (fz_context *ctx, pdf_annot *annot, int q)
void pdf_set_annot_language (fz_context *ctx, pdf_annot *annot, fz_text_language lang)
void pdf_set_annot_quad_points (fz_context *ctx, pdf_annot *annot, int n, const fz_quad *qv)
void pdf_clear_annot_quad_points (fz_context *ctx, pdf_annot *annot)
void pdf_add_annot_quad_point (fz_context *ctx, pdf_annot *annot, fz_quad quad)
void pdf_set_annot_ink_list (fz_context *ctx, pdf_annot *annot, int n, const int *count, const fz_point *v)
void pdf_clear_annot_ink_list (fz_context *ctx, pdf_annot *annot)
void pdf_add_annot_ink_list_stroke (fz_context *ctx, pdf_annot *annot)
void pdf_add_annot_ink_list_stroke_vertex (fz_context *ctx, pdf_annot *annot, fz_point p)
void pdf_add_annot_ink_list (fz_context *ctx, pdf_annot *annot, int n, fz_point stroke[])
void pdf_set_annot_icon_name (fz_context *ctx, pdf_annot *annot, const char *name)
void pdf_set_annot_is_open (fz_context *ctx, pdf_annot *annot, int is_open)
enum pdf_line_ending pdf_annot_line_start_style (fz_context *ctx, pdf_annot *annot)
enum pdf_line_ending pdf_annot_line_end_style (fz_context *ctx, pdf_annot *annot)
void pdf_annot_line_ending_styles (fz_context *ctx, pdf_annot *annot, enum pdf_line_ending *start_style, enum pdf_line_ending *end_style)
void pdf_set_annot_line_start_style (fz_context *ctx, pdf_annot *annot, enum pdf_line_ending s)
void pdf_set_annot_line_end_style (fz_context *ctx, pdf_annot *annot, enum pdf_line_ending e)
void pdf_set_annot_line_ending_styles (fz_context *ctx, pdf_annot *annot, enum pdf_line_ending start_style, enum pdf_line_ending end_style)
const char * pdf_annot_icon_name (fz_context *ctx, pdf_annot *annot)
int pdf_annot_is_open (fz_context *ctx, pdf_annot *annot)
int pdf_annot_is_standard_stamp (fz_context *ctx, pdf_annot *annot)
void pdf_annot_line (fz_context *ctx, pdf_annot *annot, fz_point *a, fz_point *b)
void pdf_set_annot_line (fz_context *ctx, pdf_annot *annot, fz_point a, fz_point b)
float pdf_annot_line_leader (fz_context *ctx, pdf_annot *annot)
float pdf_annot_line_leader_extension (fz_context *ctx, pdf_annot *annot)
float pdf_annot_line_leader_offset (fz_context *ctx, pdf_annot *annot)
void pdf_set_annot_line_leader (fz_context *ctx, pdf_annot *annot, float ll)
void pdf_set_annot_line_leader_extension (fz_context *ctx, pdf_annot *annot, float lle)
void pdf_set_annot_line_leader_offset (fz_context *ctx, pdf_annot *annot, float llo)
int pdf_annot_line_caption (fz_context *ctx, pdf_annot *annot)
void pdf_set_annot_line_caption (fz_context *ctx, pdf_annot *annot, int cap)
fz_point pdf_annot_line_caption_offset (fz_context *ctx, pdf_annot *annot)
void pdf_set_annot_line_caption_offset (fz_context *ctx, pdf_annot *annot, fz_point offset)
int pdf_annot_vertex_count (fz_context *ctx, pdf_annot *annot)
fz_point pdf_annot_vertex (fz_context *ctx, pdf_annot *annot, int i)
void pdf_set_annot_vertices (fz_context *ctx, pdf_annot *annot, int n, const fz_point *v)
void pdf_clear_annot_vertices (fz_context *ctx, pdf_annot *annot)
void pdf_add_annot_vertex (fz_context *ctx, pdf_annot *annot, fz_point p)
void pdf_set_annot_vertex (fz_context *ctx, pdf_annot *annot, int i, fz_point p)
const char * pdf_annot_contents (fz_context *ctx, pdf_annot *annot)
void pdf_set_annot_contents (fz_context *ctx, pdf_annot *annot, const char *text)
const char * pdf_annot_name (fz_context *ctx, pdf_annot *annot)
void pdf_set_annot_name (fz_context *ctx, pdf_annot *annot, const char *name)
const char * pdf_annot_author (fz_context *ctx, pdf_annot *annot)
void pdf_set_annot_author (fz_context *ctx, pdf_annot *annot, const char *author)
const char * pdf_annot_subject (fz_context *ctx, pdf_annot *annot)
void pdf_set_annot_subject (fz_context *ctx, pdf_annot *annot, const char *subject)
int64_t pdf_annot_modification_date (fz_context *ctx, pdf_annot *annot)
void pdf_set_annot_modification_date (fz_context *ctx, pdf_annot *annot, int64_t time)
int64_t pdf_annot_creation_date (fz_context *ctx, pdf_annot *annot)
void pdf_set_annot_creation_date (fz_context *ctx, pdf_annot *annot, int64_t time)
int pdf_annot_has_intent (fz_context *ctx, pdf_annot *annot)
enum pdf_intent pdf_annot_intent (fz_context *ctx, pdf_annot *annot)
void pdf_set_annot_intent (fz_context *ctx, pdf_annot *annot, enum pdf_intent it)
int pdf_annot_has_callout (fz_context *ctx, pdf_annot *annot)
enum pdf_line_ending pdf_annot_callout_style (fz_context *ctx, pdf_annot *annot)
void pdf_set_annot_callout_style (fz_context *ctx, pdf_annot *annot, enum pdf_line_ending style)
void pdf_annot_callout_line (fz_context *ctx, pdf_annot *annot, fz_point callout[3], int *n)
void pdf_set_annot_callout_line (fz_context *ctx, pdf_annot *annot, fz_point callout[3], int n)
fz_point pdf_annot_callout_point (fz_context *ctx, pdf_annot *annot)
void pdf_set_annot_callout_point (fz_context *ctx, pdf_annot *annot, fz_point p)
int pdf_annot_has_default_appearance (fz_context *ctx, pdf_annot *annot)
void pdf_parse_default_appearance_unmapped (fz_context *ctx, const char *da, char *font_name, int font_name_len, float *size, int *n, float color[4])
void pdf_parse_default_appearance (fz_context *ctx, const char *da, const char **font, float *size, int *n, float color[4])
void pdf_print_default_appearance (fz_context *ctx, char *buf, int nbuf, const char *font, float size, int n, const float *color)
void pdf_annot_default_appearance_unmapped (fz_context *ctx, pdf_annot *annot, char *font_name, int font_name_len, float *size, int *n, float color[4])
void pdf_annot_default_appearance (fz_context *ctx, pdf_annot *annot, const char **font, float *size, int *n, float color[4])
void pdf_set_annot_default_appearance (fz_context *ctx, pdf_annot *annot, const char *font, float size, int n, const float *color)
const char * pdf_annot_rich_contents (fz_context *ctx, pdf_annot *annot)
void pdf_set_annot_rich_contents (fz_context *ctx, pdf_annot *annot, const char *plain, const char *rich)
const char * pdf_annot_rich_defaults (fz_context *ctx, pdf_annot *annot)
void pdf_set_annot_rich_defaults (fz_context *ctx, pdf_annot *annot, const char *style)
void pdf_annot_request_synthesis (fz_context *ctx, pdf_annot *annot)
void pdf_annot_request_resynthesis (fz_context *ctx, pdf_annot *annot)
int pdf_annot_needs_resynthesis (fz_context *ctx, pdf_annot *annot)
void pdf_set_annot_resynthesised (fz_context *ctx, pdf_annot *annot)
void pdf_dirty_annot (fz_context *ctx, pdf_annot *annot)
int pdf_annot_field_flags (fz_context *ctx, pdf_annot *annot)
const char * pdf_annot_field_value (fz_context *ctx, pdf_annot *annot)
const char * pdf_annot_field_label (fz_context *ctx, pdf_annot *widget)
int pdf_set_annot_field_value (fz_context *ctx, pdf_document *doc, pdf_annot *widget, const char *text, int ignore_trigger_events)
fz_textpdf_layout_fit_text (fz_context *ctx, fz_font *font, fz_text_language lang, const char *str, fz_rect bounds)
void pdf_annot_push_local_xref (fz_context *ctx, pdf_annot *annot)
void pdf_annot_pop_local_xref (fz_context *ctx, pdf_annot *annot)
void pdf_annot_ensure_local_xref (fz_context *ctx, pdf_annot *annot)
void pdf_annot_pop_and_discard_local_xref (fz_context *ctx, pdf_annot *annot)
int pdf_update_annot (fz_context *ctx, pdf_annot *annot)
int pdf_update_page (fz_context *ctx, pdf_page *page)
int pdf_update_open_pages (fz_context *ctx, pdf_document *doc)
void pdf_set_widget_editing_state (fz_context *ctx, pdf_annot *widget, int editing)
int pdf_get_widget_editing_state (fz_context *ctx, pdf_annot *widget)
int pdf_toggle_widget (fz_context *ctx, pdf_annot *widget)
fz_display_listpdf_new_display_list_from_annot (fz_context *ctx, pdf_annot *annot)
fz_pixmappdf_new_pixmap_from_annot (fz_context *ctx, pdf_annot *annot, fz_matrix ctm, fz_colorspace *cs, fz_separations *seps, int alpha)
fz_stext_pagepdf_new_stext_page_from_annot (fz_context *ctx, pdf_annot *annot, const fz_stext_options *options)
fz_layout_blockpdf_layout_text_widget (fz_context *ctx, pdf_annot *annot)
int pdf_is_filespec (fz_context *ctx, pdf_obj *fs)
int pdf_is_embedded_file (fz_context *ctx, pdf_obj *fs)
pdf_objpdf_add_embedded_file (fz_context *ctx, pdf_document *doc, const char *filename, const char *mimetype, fz_buffer *contents, int64_t created, int64_t modified, int add_checksum)
void pdf_get_filespec_params (fz_context *ctx, pdf_obj *fs, pdf_filespec_params *out)
fz_bufferpdf_load_embedded_file_contents (fz_context *ctx, pdf_obj *fs)
int pdf_verify_embedded_file_checksum (fz_context *ctx, pdf_obj *fs)
pdf_objpdf_lookup_dest (fz_context *ctx, pdf_document *doc, pdf_obj *needle)
fz_linkpdf_load_link_annots (fz_context *ctx, pdf_document *, pdf_page *, pdf_obj *annots, int pagenum, fz_matrix page_ctm)
void pdf_annot_MK_BG (fz_context *ctx, pdf_annot *annot, int *n, float color[4])
void pdf_annot_MK_BC (fz_context *ctx, pdf_annot *annot, int *n, float color[4])
int pdf_annot_MK_BG_rgb (fz_context *ctx, pdf_annot *annot, float rgb[3])
int pdf_annot_MK_BC_rgb (fz_context *ctx, pdf_annot *annot, float rgb[3])
pdf_objpdf_annot_ap (fz_context *ctx, pdf_annot *annot)
int pdf_annot_active (fz_context *ctx, pdf_annot *annot)
void pdf_set_annot_active (fz_context *ctx, pdf_annot *annot, int active)
int pdf_annot_hot (fz_context *ctx, pdf_annot *annot)
void pdf_set_annot_hot (fz_context *ctx, pdf_annot *annot, int hot)
void pdf_set_annot_appearance (fz_context *ctx, pdf_annot *annot, const char *appearance, const char *state, fz_matrix ctm, fz_rect bbox, pdf_obj *res, fz_buffer *contents)
void pdf_set_annot_appearance_from_display_list (fz_context *ctx, pdf_annot *annot, const char *appearance, const char *state, fz_matrix ctm, fz_display_list *list)
int pdf_annot_has_filespec (fz_context *ctx, pdf_annot *annot)
pdf_objpdf_annot_filespec (fz_context *ctx, pdf_annot *annot)
void pdf_set_annot_filespec (fz_context *ctx, pdf_annot *annot, pdf_obj *obj)
int pdf_annot_hidden_for_editing (fz_context *ctx, pdf_annot *annot)
void pdf_set_annot_hidden_for_editing (fz_context *ctx, pdf_annot *annot, int hidden)
int pdf_apply_redaction (fz_context *ctx, pdf_annot *annot, pdf_redact_options *opts)

Typedef Documentation

◆ pdf_annot

typedef struct pdf_annot pdf_annot

◆ pdf_filespec_params

typedef struct pdf_filespec_params pdf_filespec_params

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
PDF_ANNOT_Q_LEFT 
PDF_ANNOT_Q_CENTER 
PDF_ANNOT_Q_RIGHT 

◆ anonymous enum

anonymous enum
Enumerator
PDF_ANNOT_IS_INVISIBLE 
PDF_ANNOT_IS_HIDDEN 
PDF_ANNOT_IS_PRINT 
PDF_ANNOT_IS_NO_ZOOM 
PDF_ANNOT_IS_NO_ROTATE 
PDF_ANNOT_IS_NO_VIEW 
PDF_ANNOT_IS_READ_ONLY 
PDF_ANNOT_IS_LOCKED 
PDF_ANNOT_IS_TOGGLE_NO_VIEW 
PDF_ANNOT_IS_LOCKED_CONTENTS 

◆ pdf_annot_type

Enumerator
PDF_ANNOT_TEXT 
PDF_ANNOT_LINK 
PDF_ANNOT_FREE_TEXT 
PDF_ANNOT_LINE 
PDF_ANNOT_SQUARE 
PDF_ANNOT_CIRCLE 
PDF_ANNOT_POLYGON 
PDF_ANNOT_POLY_LINE 
PDF_ANNOT_HIGHLIGHT 
PDF_ANNOT_UNDERLINE 
PDF_ANNOT_SQUIGGLY 
PDF_ANNOT_STRIKE_OUT 
PDF_ANNOT_REDACT 
PDF_ANNOT_STAMP 
PDF_ANNOT_CARET 
PDF_ANNOT_INK 
PDF_ANNOT_POPUP 
PDF_ANNOT_FILE_ATTACHMENT 
PDF_ANNOT_SOUND 
PDF_ANNOT_MOVIE 
PDF_ANNOT_RICH_MEDIA 
PDF_ANNOT_WIDGET 
PDF_ANNOT_SCREEN 
PDF_ANNOT_PRINTER_MARK 
PDF_ANNOT_TRAP_NET 
PDF_ANNOT_WATERMARK 
PDF_ANNOT_3D 
PDF_ANNOT_PROJECTION 
PDF_ANNOT_UNKNOWN 

◆ pdf_border_effect

Enumerator
PDF_BORDER_EFFECT_NONE 
PDF_BORDER_EFFECT_CLOUDY 

◆ pdf_border_style

Enumerator
PDF_BORDER_STYLE_SOLID 
PDF_BORDER_STYLE_DASHED 
PDF_BORDER_STYLE_BEVELED 
PDF_BORDER_STYLE_INSET 
PDF_BORDER_STYLE_UNDERLINE 

◆ pdf_intent

enum pdf_intent
Enumerator
PDF_ANNOT_IT_DEFAULT 
PDF_ANNOT_IT_FREETEXT_CALLOUT 
PDF_ANNOT_IT_FREETEXT_TYPEWRITER 
PDF_ANNOT_IT_LINE_ARROW 
PDF_ANNOT_IT_LINE_DIMENSION 
PDF_ANNOT_IT_POLYLINE_DIMENSION 
PDF_ANNOT_IT_POLYGON_CLOUD 
PDF_ANNOT_IT_POLYGON_DIMENSION 
PDF_ANNOT_IT_STAMP_IMAGE 
PDF_ANNOT_IT_STAMP_SNAPSHOT 
PDF_ANNOT_IT_UNKNOWN 

◆ pdf_line_ending

Enumerator
PDF_ANNOT_LE_NONE 
PDF_ANNOT_LE_SQUARE 
PDF_ANNOT_LE_CIRCLE 
PDF_ANNOT_LE_DIAMOND 
PDF_ANNOT_LE_OPEN_ARROW 
PDF_ANNOT_LE_CLOSED_ARROW 
PDF_ANNOT_LE_BUTT 
PDF_ANNOT_LE_R_OPEN_ARROW 
PDF_ANNOT_LE_R_CLOSED_ARROW 
PDF_ANNOT_LE_SLASH 

Function Documentation

◆ pdf_add_annot_border_dash_item()

void pdf_add_annot_border_dash_item ( fz_context * ctx,
pdf_annot * annot,
float length )

◆ pdf_add_annot_ink_list()

void pdf_add_annot_ink_list ( fz_context * ctx,
pdf_annot * annot,
int n,
fz_point stroke[] )

◆ pdf_add_annot_ink_list_stroke()

void pdf_add_annot_ink_list_stroke ( fz_context * ctx,
pdf_annot * annot )

◆ pdf_add_annot_ink_list_stroke_vertex()

void pdf_add_annot_ink_list_stroke_vertex ( fz_context * ctx,
pdf_annot * annot,
fz_point p )

◆ pdf_add_annot_quad_point()

void pdf_add_annot_quad_point ( fz_context * ctx,
pdf_annot * annot,
fz_quad quad )

◆ pdf_add_annot_vertex()

void pdf_add_annot_vertex ( fz_context * ctx,
pdf_annot * annot,
fz_point p )

◆ pdf_add_embedded_file()

pdf_obj * pdf_add_embedded_file ( fz_context * ctx,
pdf_document * doc,
const char * filename,
const char * mimetype,
fz_buffer * contents,
int64_t created,
int64_t modified,
int add_checksum )

◆ pdf_annot_active()

int pdf_annot_active ( fz_context * ctx,
pdf_annot * annot )

◆ pdf_annot_ap()

pdf_obj * pdf_annot_ap ( fz_context * ctx,
pdf_annot * annot )

◆ pdf_annot_author()

const char * pdf_annot_author ( fz_context * ctx,
pdf_annot * annot )

◆ pdf_annot_border()

float pdf_annot_border ( fz_context * ctx,
pdf_annot * annot )

◆ pdf_annot_border_dash_count()

int pdf_annot_border_dash_count ( fz_context * ctx,
pdf_annot * annot )

◆ pdf_annot_border_dash_item()

float pdf_annot_border_dash_item ( fz_context * ctx,
pdf_annot * annot,
int i )

◆ pdf_annot_border_effect()

enum pdf_border_effect pdf_annot_border_effect ( fz_context * ctx,
pdf_annot * annot )

◆ pdf_annot_border_effect_intensity()

float pdf_annot_border_effect_intensity ( fz_context * ctx,
pdf_annot * annot )

◆ pdf_annot_border_style()

enum pdf_border_style pdf_annot_border_style ( fz_context * ctx,
pdf_annot * annot )

◆ pdf_annot_border_width()

float pdf_annot_border_width ( fz_context * ctx,
pdf_annot * annot )

◆ pdf_annot_callout_line()

void pdf_annot_callout_line ( fz_context * ctx,
pdf_annot * annot,
fz_point callout[3],
int * n )

◆ pdf_annot_callout_point()

fz_point pdf_annot_callout_point ( fz_context * ctx,
pdf_annot * annot )

◆ pdf_annot_callout_style()

enum pdf_line_ending pdf_annot_callout_style ( fz_context * ctx,
pdf_annot * annot )

◆ pdf_annot_color()

void pdf_annot_color ( fz_context * ctx,
pdf_annot * annot,
int * n,
float color[4] )

◆ pdf_annot_contents()

const char * pdf_annot_contents ( fz_context * ctx,
pdf_annot * annot )

◆ pdf_annot_creation_date()

int64_t pdf_annot_creation_date ( fz_context * ctx,
pdf_annot * annot )

◆ pdf_annot_default_appearance()

void pdf_annot_default_appearance ( fz_context * ctx,
pdf_annot * annot,
const char ** font,
float * size,
int * n,
float color[4] )

◆ pdf_annot_default_appearance_unmapped()

void pdf_annot_default_appearance_unmapped ( fz_context * ctx,
pdf_annot * annot,
char * font_name,
int font_name_len,
float * size,
int * n,
float color[4] )

◆ pdf_annot_display_rect()

fz_rect pdf_annot_display_rect ( fz_context * ctx,
pdf_annot * annot )

◆ pdf_annot_ensure_local_xref()

void pdf_annot_ensure_local_xref ( fz_context * ctx,
pdf_annot * annot )

◆ pdf_annot_field_flags()

int pdf_annot_field_flags ( fz_context * ctx,
pdf_annot * annot )

◆ pdf_annot_field_label()

const char * pdf_annot_field_label ( fz_context * ctx,
pdf_annot * widget )

◆ pdf_annot_field_value()

const char * pdf_annot_field_value ( fz_context * ctx,
pdf_annot * annot )

◆ pdf_annot_filespec()

pdf_obj * pdf_annot_filespec ( fz_context * ctx,
pdf_annot * annot )

◆ pdf_annot_flags()

int pdf_annot_flags ( fz_context * ctx,
pdf_annot * annot )

◆ pdf_annot_has_author()

int pdf_annot_has_author ( fz_context * ctx,
pdf_annot * annot )

◆ pdf_annot_has_border()

int pdf_annot_has_border ( fz_context * ctx,
pdf_annot * annot )

◆ pdf_annot_has_border_effect()

int pdf_annot_has_border_effect ( fz_context * ctx,
pdf_annot * annot )

◆ pdf_annot_has_callout()

int pdf_annot_has_callout ( fz_context * ctx,
pdf_annot * annot )

◆ pdf_annot_has_default_appearance()

int pdf_annot_has_default_appearance ( fz_context * ctx,
pdf_annot * annot )

◆ pdf_annot_has_filespec()

int pdf_annot_has_filespec ( fz_context * ctx,
pdf_annot * annot )

◆ pdf_annot_has_icon_name()

int pdf_annot_has_icon_name ( fz_context * ctx,
pdf_annot * annot )

◆ pdf_annot_has_in_reply_to()

int pdf_annot_has_in_reply_to ( fz_context * ctx,
pdf_annot * annot )

◆ pdf_annot_has_ink_list()

int pdf_annot_has_ink_list ( fz_context * ctx,
pdf_annot * annot )

◆ pdf_annot_has_intent()

int pdf_annot_has_intent ( fz_context * ctx,
pdf_annot * annot )

◆ pdf_annot_has_interior_color()

int pdf_annot_has_interior_color ( fz_context * ctx,
pdf_annot * annot )

◆ pdf_annot_has_line()

int pdf_annot_has_line ( fz_context * ctx,
pdf_annot * annot )

◆ pdf_annot_has_line_ending_styles()

int pdf_annot_has_line_ending_styles ( fz_context * ctx,
pdf_annot * annot )

◆ pdf_annot_has_open()

int pdf_annot_has_open ( fz_context * ctx,
pdf_annot * annot )

◆ pdf_annot_has_popup()

int pdf_annot_has_popup ( fz_context * ctx,
pdf_annot * annot )

◆ pdf_annot_has_quad_points()

int pdf_annot_has_quad_points ( fz_context * ctx,
pdf_annot * annot )

◆ pdf_annot_has_quadding()

int pdf_annot_has_quadding ( fz_context * ctx,
pdf_annot * annot )

◆ pdf_annot_has_rect()

int pdf_annot_has_rect ( fz_context * ctx,
pdf_annot * annot )

◆ pdf_annot_has_rich_contents()

int pdf_annot_has_rich_contents ( fz_context * ctx,
pdf_annot * annot )

◆ pdf_annot_has_rich_defaults()

int pdf_annot_has_rich_defaults ( fz_context * ctx,
pdf_annot * annot )

◆ pdf_annot_has_subject()

int pdf_annot_has_subject ( fz_context * ctx,
pdf_annot * annot )

◆ pdf_annot_has_vertices()

int pdf_annot_has_vertices ( fz_context * ctx,
pdf_annot * annot )

◆ pdf_annot_hidden_for_editing()

int pdf_annot_hidden_for_editing ( fz_context * ctx,
pdf_annot * annot )

◆ pdf_annot_hot()

int pdf_annot_hot ( fz_context * ctx,
pdf_annot * annot )

◆ pdf_annot_icon_name()

const char * pdf_annot_icon_name ( fz_context * ctx,
pdf_annot * annot )

◆ pdf_annot_ink_list_count()

int pdf_annot_ink_list_count ( fz_context * ctx,
pdf_annot * annot )

◆ pdf_annot_ink_list_stroke_count()

int pdf_annot_ink_list_stroke_count ( fz_context * ctx,
pdf_annot * annot,
int i )

◆ pdf_annot_ink_list_stroke_vertex()

fz_point pdf_annot_ink_list_stroke_vertex ( fz_context * ctx,
pdf_annot * annot,
int i,
int k )

◆ pdf_annot_intent()

enum pdf_intent pdf_annot_intent ( fz_context * ctx,
pdf_annot * annot )

◆ pdf_annot_interior_color()

void pdf_annot_interior_color ( fz_context * ctx,
pdf_annot * annot,
int * n,
float color[4] )

◆ pdf_annot_is_open()

int pdf_annot_is_open ( fz_context * ctx,
pdf_annot * annot )

◆ pdf_annot_is_standard_stamp()

int pdf_annot_is_standard_stamp ( fz_context * ctx,
pdf_annot * annot )

◆ pdf_annot_language()

fz_text_language pdf_annot_language ( fz_context * ctx,
pdf_annot * annot )

◆ pdf_annot_line()

void pdf_annot_line ( fz_context * ctx,
pdf_annot * annot,
fz_point * a,
fz_point * b )

◆ pdf_annot_line_caption()

int pdf_annot_line_caption ( fz_context * ctx,
pdf_annot * annot )

◆ pdf_annot_line_caption_offset()

fz_point pdf_annot_line_caption_offset ( fz_context * ctx,
pdf_annot * annot )

◆ pdf_annot_line_end_style()

enum pdf_line_ending pdf_annot_line_end_style ( fz_context * ctx,
pdf_annot * annot )

◆ pdf_annot_line_ending_styles()

void pdf_annot_line_ending_styles ( fz_context * ctx,
pdf_annot * annot,
enum pdf_line_ending * start_style,
enum pdf_line_ending * end_style )

◆ pdf_annot_line_leader()

float pdf_annot_line_leader ( fz_context * ctx,
pdf_annot * annot )

◆ pdf_annot_line_leader_extension()

float pdf_annot_line_leader_extension ( fz_context * ctx,
pdf_annot * annot )

◆ pdf_annot_line_leader_offset()

float pdf_annot_line_leader_offset ( fz_context * ctx,
pdf_annot * annot )

◆ pdf_annot_line_start_style()

enum pdf_line_ending pdf_annot_line_start_style ( fz_context * ctx,
pdf_annot * annot )

◆ pdf_annot_MK_BC()

void pdf_annot_MK_BC ( fz_context * ctx,
pdf_annot * annot,
int * n,
float color[4] )

◆ pdf_annot_MK_BC_rgb()

int pdf_annot_MK_BC_rgb ( fz_context * ctx,
pdf_annot * annot,
float rgb[3] )

◆ pdf_annot_MK_BG()

void pdf_annot_MK_BG ( fz_context * ctx,
pdf_annot * annot,
int * n,
float color[4] )

◆ pdf_annot_MK_BG_rgb()

int pdf_annot_MK_BG_rgb ( fz_context * ctx,
pdf_annot * annot,
float rgb[3] )

◆ pdf_annot_modification_date()

int64_t pdf_annot_modification_date ( fz_context * ctx,
pdf_annot * annot )

◆ pdf_annot_name()

const char * pdf_annot_name ( fz_context * ctx,
pdf_annot * annot )

◆ pdf_annot_needs_resynthesis()

int pdf_annot_needs_resynthesis ( fz_context * ctx,
pdf_annot * annot )

◆ pdf_annot_obj()

pdf_obj * pdf_annot_obj ( fz_context * ctx,
pdf_annot * annot )

◆ pdf_annot_opacity()

float pdf_annot_opacity ( fz_context * ctx,
pdf_annot * annot )

◆ pdf_annot_page()

pdf_page * pdf_annot_page ( fz_context * ctx,
pdf_annot * annot )

◆ pdf_annot_pop_and_discard_local_xref()

void pdf_annot_pop_and_discard_local_xref ( fz_context * ctx,
pdf_annot * annot )

◆ pdf_annot_pop_local_xref()

void pdf_annot_pop_local_xref ( fz_context * ctx,
pdf_annot * annot )

◆ pdf_annot_popup()

fz_rect pdf_annot_popup ( fz_context * ctx,
pdf_annot * annot )

◆ pdf_annot_push_local_xref()

void pdf_annot_push_local_xref ( fz_context * ctx,
pdf_annot * annot )

◆ pdf_annot_quad_point()

fz_quad pdf_annot_quad_point ( fz_context * ctx,
pdf_annot * annot,
int i )

◆ pdf_annot_quad_point_count()

int pdf_annot_quad_point_count ( fz_context * ctx,
pdf_annot * annot )

◆ pdf_annot_quadding()

int pdf_annot_quadding ( fz_context * ctx,
pdf_annot * annot )

◆ pdf_annot_rect()

fz_rect pdf_annot_rect ( fz_context * ctx,
pdf_annot * annot )

◆ pdf_annot_request_resynthesis()

void pdf_annot_request_resynthesis ( fz_context * ctx,
pdf_annot * annot )

◆ pdf_annot_request_synthesis()

void pdf_annot_request_synthesis ( fz_context * ctx,
pdf_annot * annot )

◆ pdf_annot_rich_contents()

const char * pdf_annot_rich_contents ( fz_context * ctx,
pdf_annot * annot )

◆ pdf_annot_rich_defaults()

const char * pdf_annot_rich_defaults ( fz_context * ctx,
pdf_annot * annot )

◆ pdf_annot_stamp_image_obj()

pdf_obj * pdf_annot_stamp_image_obj ( fz_context * ctx,
pdf_annot * annot )

◆ pdf_annot_subject()

const char * pdf_annot_subject ( fz_context * ctx,
pdf_annot * annot )

◆ pdf_annot_transform()

fz_matrix pdf_annot_transform ( fz_context * ctx,
pdf_annot * annot )

◆ pdf_annot_type()

◆ pdf_annot_type_from_string()

enum pdf_annot_type pdf_annot_type_from_string ( fz_context * ctx,
const char * subtype )

◆ pdf_annot_vertex()

fz_point pdf_annot_vertex ( fz_context * ctx,
pdf_annot * annot,
int i )

◆ pdf_annot_vertex_count()

int pdf_annot_vertex_count ( fz_context * ctx,
pdf_annot * annot )

◆ pdf_append_explicit_dest_to_uri()

char * pdf_append_explicit_dest_to_uri ( fz_context * ctx,
const char * url,
fz_link_dest dest )

◆ pdf_append_named_dest_to_uri()

char * pdf_append_named_dest_to_uri ( fz_context * ctx,
const char * url,
const char * name )

◆ pdf_apply_redaction()

int pdf_apply_redaction ( fz_context * ctx,
pdf_annot * annot,
pdf_redact_options * opts )

◆ pdf_bound_annot()

fz_rect pdf_bound_annot ( fz_context * ctx,
pdf_annot * annot )

◆ pdf_clear_annot_border_dash()

void pdf_clear_annot_border_dash ( fz_context * ctx,
pdf_annot * annot )

◆ pdf_clear_annot_ink_list()

void pdf_clear_annot_ink_list ( fz_context * ctx,
pdf_annot * annot )

◆ pdf_clear_annot_quad_points()

void pdf_clear_annot_quad_points ( fz_context * ctx,
pdf_annot * annot )

◆ pdf_clear_annot_vertices()

void pdf_clear_annot_vertices ( fz_context * ctx,
pdf_annot * annot )

◆ pdf_create_annot()

pdf_annot * pdf_create_annot ( fz_context * ctx,
pdf_page * page,
enum pdf_annot_type type )

◆ pdf_create_annot_raw()

pdf_annot * pdf_create_annot_raw ( fz_context * ctx,
pdf_page * page,
enum pdf_annot_type type )

◆ pdf_create_link()

fz_link * pdf_create_link ( fz_context * ctx,
pdf_page * page,
fz_rect bbox,
const char * uri )

◆ pdf_delete_annot()

void pdf_delete_annot ( fz_context * ctx,
pdf_page * page,
pdf_annot * annot )

◆ pdf_delete_link()

void pdf_delete_link ( fz_context * ctx,
pdf_page * page,
fz_link * link )

◆ pdf_dirty_annot()

void pdf_dirty_annot ( fz_context * ctx,
pdf_annot * annot )

◆ pdf_drop_annot()

void pdf_drop_annot ( fz_context * ctx,
pdf_annot * annot )

◆ pdf_first_annot()

pdf_annot * pdf_first_annot ( fz_context * ctx,
pdf_page * page )

◆ pdf_get_filespec_params()

void pdf_get_filespec_params ( fz_context * ctx,
pdf_obj * fs,
pdf_filespec_params * out )

◆ pdf_get_widget_editing_state()

int pdf_get_widget_editing_state ( fz_context * ctx,
pdf_annot * widget )

◆ pdf_intent_from_name()

enum pdf_intent pdf_intent_from_name ( fz_context * ctx,
pdf_obj * obj )

◆ pdf_intent_from_string()

enum pdf_intent pdf_intent_from_string ( fz_context * ctx,
const char * str )

◆ pdf_is_embedded_file()

int pdf_is_embedded_file ( fz_context * ctx,
pdf_obj * fs )

◆ pdf_is_filespec()

int pdf_is_filespec ( fz_context * ctx,
pdf_obj * fs )

◆ pdf_keep_annot()

pdf_annot * pdf_keep_annot ( fz_context * ctx,
pdf_annot * annot )

◆ pdf_layout_fit_text()

fz_text * pdf_layout_fit_text ( fz_context * ctx,
fz_font * font,
fz_text_language lang,
const char * str,
fz_rect bounds )

◆ pdf_layout_text_widget()

fz_layout_block * pdf_layout_text_widget ( fz_context * ctx,
pdf_annot * annot )

◆ pdf_line_ending_from_name()

enum pdf_line_ending pdf_line_ending_from_name ( fz_context * ctx,
pdf_obj * end )

◆ pdf_line_ending_from_string()

enum pdf_line_ending pdf_line_ending_from_string ( fz_context * ctx,
const char * end )

◆ pdf_load_embedded_file_contents()

fz_buffer * pdf_load_embedded_file_contents ( fz_context * ctx,
pdf_obj * fs )

◆ pdf_load_link_annots()

fz_link * pdf_load_link_annots ( fz_context * ctx,
pdf_document * ,
pdf_page * ,
pdf_obj * annots,
int pagenum,
fz_matrix page_ctm )

◆ pdf_load_name_tree()

pdf_obj * pdf_load_name_tree ( fz_context * ctx,
pdf_document * doc,
pdf_obj * which )

◆ pdf_lookup_dest()

pdf_obj * pdf_lookup_dest ( fz_context * ctx,
pdf_document * doc,
pdf_obj * needle )

◆ pdf_lookup_name()

pdf_obj * pdf_lookup_name ( fz_context * ctx,
pdf_document * doc,
pdf_obj * which,
pdf_obj * needle )

◆ pdf_lookup_number()

pdf_obj * pdf_lookup_number ( fz_context * ctx,
pdf_obj * root,
int needle )

◆ pdf_name_from_intent()

pdf_obj * pdf_name_from_intent ( fz_context * ctx,
enum pdf_intent intent )

◆ pdf_name_from_line_ending()

pdf_obj * pdf_name_from_line_ending ( fz_context * ctx,
enum pdf_line_ending end )

◆ pdf_new_action_from_link()

pdf_obj * pdf_new_action_from_link ( fz_context * ctx,
pdf_document * doc,
const char * uri )

◆ pdf_new_dest_from_link()

pdf_obj * pdf_new_dest_from_link ( fz_context * ctx,
pdf_document * doc,
const char * uri,
int is_remote )

◆ pdf_new_display_list_from_annot()

fz_display_list * pdf_new_display_list_from_annot ( fz_context * ctx,
pdf_annot * annot )

◆ pdf_new_link()

fz_link * pdf_new_link ( fz_context * ctx,
pdf_page * page,
fz_rect rect,
const char * uri,
pdf_obj * obj )

◆ pdf_new_pixmap_from_annot()

fz_pixmap * pdf_new_pixmap_from_annot ( fz_context * ctx,
pdf_annot * annot,
fz_matrix ctm,
fz_colorspace * cs,
fz_separations * seps,
int alpha )

◆ pdf_new_stext_page_from_annot()

fz_stext_page * pdf_new_stext_page_from_annot ( fz_context * ctx,
pdf_annot * annot,
const fz_stext_options * options )

◆ pdf_new_uri_from_explicit_dest()

char * pdf_new_uri_from_explicit_dest ( fz_context * ctx,
fz_link_dest dest )

◆ pdf_new_uri_from_path_and_explicit_dest()

char * pdf_new_uri_from_path_and_explicit_dest ( fz_context * ctx,
const char * path,
fz_link_dest dest )

◆ pdf_new_uri_from_path_and_named_dest()

char * pdf_new_uri_from_path_and_named_dest ( fz_context * ctx,
const char * path,
const char * name )

◆ pdf_next_annot()

pdf_annot * pdf_next_annot ( fz_context * ctx,
pdf_annot * annot )

◆ pdf_parse_default_appearance()

void pdf_parse_default_appearance ( fz_context * ctx,
const char * da,
const char ** font,
float * size,
int * n,
float color[4] )

◆ pdf_parse_default_appearance_unmapped()

void pdf_parse_default_appearance_unmapped ( fz_context * ctx,
const char * da,
char * font_name,
int font_name_len,
float * size,
int * n,
float color[4] )

◆ pdf_print_default_appearance()

void pdf_print_default_appearance ( fz_context * ctx,
char * buf,
int nbuf,
const char * font,
float size,
int n,
const float * color )

◆ pdf_resolve_link()

int pdf_resolve_link ( fz_context * ctx,
pdf_document * doc,
const char * uri,
float * xp,
float * yp )

◆ pdf_resolve_link_dest()

fz_link_dest pdf_resolve_link_dest ( fz_context * ctx,
pdf_document * doc,
const char * uri )

◆ pdf_run_annot()

void pdf_run_annot ( fz_context * ctx,
pdf_annot * annot,
fz_device * dev,
fz_matrix ctm,
fz_cookie * cookie )

◆ pdf_set_annot_active()

void pdf_set_annot_active ( fz_context * ctx,
pdf_annot * annot,
int active )

◆ pdf_set_annot_appearance()

void pdf_set_annot_appearance ( fz_context * ctx,
pdf_annot * annot,
const char * appearance,
const char * state,
fz_matrix ctm,
fz_rect bbox,
pdf_obj * res,
fz_buffer * contents )

◆ pdf_set_annot_appearance_from_display_list()

void pdf_set_annot_appearance_from_display_list ( fz_context * ctx,
pdf_annot * annot,
const char * appearance,
const char * state,
fz_matrix ctm,
fz_display_list * list )

◆ pdf_set_annot_author()

void pdf_set_annot_author ( fz_context * ctx,
pdf_annot * annot,
const char * author )

◆ pdf_set_annot_border()

void pdf_set_annot_border ( fz_context * ctx,
pdf_annot * annot,
float width )

◆ pdf_set_annot_border_effect()

void pdf_set_annot_border_effect ( fz_context * ctx,
pdf_annot * annot,
enum pdf_border_effect effect )

◆ pdf_set_annot_border_effect_intensity()

void pdf_set_annot_border_effect_intensity ( fz_context * ctx,
pdf_annot * annot,
float intensity )

◆ pdf_set_annot_border_style()

void pdf_set_annot_border_style ( fz_context * ctx,
pdf_annot * annot,
enum pdf_border_style style )

◆ pdf_set_annot_border_width()

void pdf_set_annot_border_width ( fz_context * ctx,
pdf_annot * annot,
float width )

◆ pdf_set_annot_callout_line()

void pdf_set_annot_callout_line ( fz_context * ctx,
pdf_annot * annot,
fz_point callout[3],
int n )

◆ pdf_set_annot_callout_point()

void pdf_set_annot_callout_point ( fz_context * ctx,
pdf_annot * annot,
fz_point p )

◆ pdf_set_annot_callout_style()

void pdf_set_annot_callout_style ( fz_context * ctx,
pdf_annot * annot,
enum pdf_line_ending style )

◆ pdf_set_annot_color()

void pdf_set_annot_color ( fz_context * ctx,
pdf_annot * annot,
int n,
const float * color )

◆ pdf_set_annot_contents()

void pdf_set_annot_contents ( fz_context * ctx,
pdf_annot * annot,
const char * text )

◆ pdf_set_annot_creation_date()

void pdf_set_annot_creation_date ( fz_context * ctx,
pdf_annot * annot,
int64_t time )

◆ pdf_set_annot_default_appearance()

void pdf_set_annot_default_appearance ( fz_context * ctx,
pdf_annot * annot,
const char * font,
float size,
int n,
const float * color )

◆ pdf_set_annot_field_value()

int pdf_set_annot_field_value ( fz_context * ctx,
pdf_document * doc,
pdf_annot * widget,
const char * text,
int ignore_trigger_events )

◆ pdf_set_annot_filespec()

void pdf_set_annot_filespec ( fz_context * ctx,
pdf_annot * annot,
pdf_obj * obj )

◆ pdf_set_annot_flags()

void pdf_set_annot_flags ( fz_context * ctx,
pdf_annot * annot,
int flags )

◆ pdf_set_annot_hidden_for_editing()

void pdf_set_annot_hidden_for_editing ( fz_context * ctx,
pdf_annot * annot,
int hidden )

◆ pdf_set_annot_hot()

void pdf_set_annot_hot ( fz_context * ctx,
pdf_annot * annot,
int hot )

◆ pdf_set_annot_icon_name()

void pdf_set_annot_icon_name ( fz_context * ctx,
pdf_annot * annot,
const char * name )

◆ pdf_set_annot_ink_list()

void pdf_set_annot_ink_list ( fz_context * ctx,
pdf_annot * annot,
int n,
const int * count,
const fz_point * v )

◆ pdf_set_annot_intent()

void pdf_set_annot_intent ( fz_context * ctx,
pdf_annot * annot,
enum pdf_intent it )

◆ pdf_set_annot_interior_color()

void pdf_set_annot_interior_color ( fz_context * ctx,
pdf_annot * annot,
int n,
const float * color )

◆ pdf_set_annot_is_open()

void pdf_set_annot_is_open ( fz_context * ctx,
pdf_annot * annot,
int is_open )

◆ pdf_set_annot_language()

void pdf_set_annot_language ( fz_context * ctx,
pdf_annot * annot,
fz_text_language lang )

◆ pdf_set_annot_line()

void pdf_set_annot_line ( fz_context * ctx,
pdf_annot * annot,
fz_point a,
fz_point b )

◆ pdf_set_annot_line_caption()

void pdf_set_annot_line_caption ( fz_context * ctx,
pdf_annot * annot,
int cap )

◆ pdf_set_annot_line_caption_offset()

void pdf_set_annot_line_caption_offset ( fz_context * ctx,
pdf_annot * annot,
fz_point offset )

◆ pdf_set_annot_line_end_style()

void pdf_set_annot_line_end_style ( fz_context * ctx,
pdf_annot * annot,
enum pdf_line_ending e )

◆ pdf_set_annot_line_ending_styles()

void pdf_set_annot_line_ending_styles ( fz_context * ctx,
pdf_annot * annot,
enum pdf_line_ending start_style,
enum pdf_line_ending end_style )

◆ pdf_set_annot_line_leader()

void pdf_set_annot_line_leader ( fz_context * ctx,
pdf_annot * annot,
float ll )

◆ pdf_set_annot_line_leader_extension()

void pdf_set_annot_line_leader_extension ( fz_context * ctx,
pdf_annot * annot,
float lle )

◆ pdf_set_annot_line_leader_offset()

void pdf_set_annot_line_leader_offset ( fz_context * ctx,
pdf_annot * annot,
float llo )

◆ pdf_set_annot_line_start_style()

void pdf_set_annot_line_start_style ( fz_context * ctx,
pdf_annot * annot,
enum pdf_line_ending s )

◆ pdf_set_annot_modification_date()

void pdf_set_annot_modification_date ( fz_context * ctx,
pdf_annot * annot,
int64_t time )

◆ pdf_set_annot_name()

void pdf_set_annot_name ( fz_context * ctx,
pdf_annot * annot,
const char * name )

◆ pdf_set_annot_opacity()

void pdf_set_annot_opacity ( fz_context * ctx,
pdf_annot * annot,
float opacity )

◆ pdf_set_annot_popup()

void pdf_set_annot_popup ( fz_context * ctx,
pdf_annot * annot,
fz_rect rect )

◆ pdf_set_annot_quad_points()

void pdf_set_annot_quad_points ( fz_context * ctx,
pdf_annot * annot,
int n,
const fz_quad * qv )

◆ pdf_set_annot_quadding()

void pdf_set_annot_quadding ( fz_context * ctx,
pdf_annot * annot,
int q )

◆ pdf_set_annot_rect()

void pdf_set_annot_rect ( fz_context * ctx,
pdf_annot * annot,
fz_rect rect )

◆ pdf_set_annot_resynthesised()

void pdf_set_annot_resynthesised ( fz_context * ctx,
pdf_annot * annot )

◆ pdf_set_annot_rich_contents()

void pdf_set_annot_rich_contents ( fz_context * ctx,
pdf_annot * annot,
const char * plain,
const char * rich )

◆ pdf_set_annot_rich_defaults()

void pdf_set_annot_rich_defaults ( fz_context * ctx,
pdf_annot * annot,
const char * style )

◆ pdf_set_annot_stamp_image()

void pdf_set_annot_stamp_image ( fz_context * ctx,
pdf_annot * annot,
fz_image * image )

◆ pdf_set_annot_stamp_image_obj()

void pdf_set_annot_stamp_image_obj ( fz_context * ctx,
pdf_annot * annot,
pdf_obj * ref )

◆ pdf_set_annot_subject()

void pdf_set_annot_subject ( fz_context * ctx,
pdf_annot * annot,
const char * subject )

◆ pdf_set_annot_vertex()

void pdf_set_annot_vertex ( fz_context * ctx,
pdf_annot * annot,
int i,
fz_point p )

◆ pdf_set_annot_vertices()

void pdf_set_annot_vertices ( fz_context * ctx,
pdf_annot * annot,
int n,
const fz_point * v )

◆ pdf_set_widget_editing_state()

void pdf_set_widget_editing_state ( fz_context * ctx,
pdf_annot * widget,
int editing )

◆ pdf_string_from_annot_type()

const char * pdf_string_from_annot_type ( fz_context * ctx,
enum pdf_annot_type type )

◆ pdf_string_from_intent()

const char * pdf_string_from_intent ( fz_context * ctx,
enum pdf_intent intent )

◆ pdf_string_from_line_ending()

const char * pdf_string_from_line_ending ( fz_context * ctx,
enum pdf_line_ending end )

◆ pdf_toggle_widget()

int pdf_toggle_widget ( fz_context * ctx,
pdf_annot * widget )

◆ pdf_update_annot()

int pdf_update_annot ( fz_context * ctx,
pdf_annot * annot )

◆ pdf_update_open_pages()

int pdf_update_open_pages ( fz_context * ctx,
pdf_document * doc )

◆ pdf_update_page()

int pdf_update_page ( fz_context * ctx,
pdf_page * page )

◆ pdf_verify_embedded_file_checksum()

int pdf_verify_embedded_file_checksum ( fz_context * ctx,
pdf_obj * fs )

◆ pdf_walk_tree()

void pdf_walk_tree ( fz_context * ctx,
pdf_obj * tree,
pdf_obj * kid_name,
void(* arrive )(fz_context *, pdf_obj *, void *, pdf_obj **),
void(* leave )(fz_context *, pdf_obj *, void *),
void * arg,
pdf_obj ** names,
pdf_obj ** values )