w32tex
About: TeX Live provides a comprehensive TeX system including all the major TeX-related programs, macro packages, and fonts that are free software. Windows sources.
  Fossies Dox: w32tex-src.tar.xz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

pdfdoc.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
#include "system.h"
#include "config.h"
#include "mem.h"
#include "error.h"
#include "mfileio.h"
#include "numbers.h"
#include "dvi.h"
#include "pdflimits.h"
#include "pdfobj.h"
#include "pdfdev.h"
#include "pdfdoc.h"
#include "pdfspecial.h"
#include "thumbnail.h"
Include dependency graph for pdfdoc.c:

Go to the source code of this file.

Classes

struct  pages
 
struct  dests
 
struct  articles
 
struct  resource_stack
 

Macros

#define BANNER   "dvipdfm %s, Copyright \251 1998, by Mark A. Wicks"
 
#define PAGE_CLUSTER   4
 
#define CLUSTER   4
 

Typedefs

typedef struct dests dest_entry
 
typedef struct articles article_entry
 

Functions

static void start_page_tree (void)
 
static void create_catalog (void)
 
static void start_current_page_resources (void)
 
static void finish_page_tree (void)
 
static void start_name_tree (void)
 
static void finish_dests_tree (void)
 
static void finish_pending_xobjects (void)
 
static void start_articles (void)
 
void pdf_doc_set_verbose (void)
 
void pdf_doc_set_debug (void)
 
static void resize_pages (unsigned long newsize)
 
static void make_short_cuts (void)
 
static void release_short_cuts (void)
 
void pdf_doc_bop (char *string, unsigned length)
 
void pdf_doc_this_bop (char *string, unsigned length)
 
void pdf_doc_set_origin (double x, double y)
 
void pdf_doc_eop (char *string, unsigned length)
 
static void start_outline_tree (void)
 
static char * asn_date (void)
 
static void create_docinfo (void)
 
static void finish_docinfo (void)
 
void pdf_doc_merge_with_docinfo (pdf_obj *dictionary)
 
void pdf_doc_merge_with_catalog (pdf_obj *dictionary)
 
void pdf_doc_add_to_page_fonts (const char *name, pdf_obj *resource)
 
void pdf_doc_add_to_page_xobjects (const char *name, pdf_obj *resource)
 
void pdf_doc_add_to_page_resources (const char *name, pdf_obj *resource)
 
void pdf_doc_add_to_page_annots (pdf_obj *annot)
 
static pdf_objpage_subtree (struct pages *pages, unsigned long npages, pdf_obj *parent_ref)
 
void pdf_doc_change_outline_depth (int new_depth)
 
static void finish_outline (void)
 
void pdf_doc_add_outline (pdf_obj *dict)
 
static int cmp_dest (const void *d1, const void *d2)
 
static pdf_objname_subtree (dest_entry *dests, unsigned long ndests)
 
void pdf_doc_add_dest (char *name, unsigned length, pdf_obj *array_ref)
 
void pdf_doc_start_article (char *name, pdf_obj *info)
 
void pdf_doc_add_bead (char *article_name, pdf_obj *partial_dict)
 
void finish_articles (void)
 
void pdf_doc_enable_thumbnails (void)
 
void pdf_doc_finish_page ()
 
pdf_objpdf_doc_current_page_resources (void)
 
pdf_objpdf_doc_ref_page (unsigned long page_no)
 
pdf_objpdf_doc_names (void)
 
pdf_objpdf_doc_page_tree (void)
 
pdf_objpdf_doc_catalog (void)
 
pdf_objpdf_doc_this_page (void)
 
pdf_objpdf_doc_this_page_ref (void)
 
pdf_objpdf_doc_prev_page_ref (void)
 
pdf_objpdf_doc_next_page_ref (void)
 
void pdf_doc_new_page (void)
 
void pdf_doc_add_to_page (char *buffer, unsigned length)
 
void pdf_doc_init (char *filename)
 
void pdf_doc_creator (char *s)
 
void pdf_doc_close ()
 
static pdf_objbuild_scale_array (double a, double b, double c, double d, double e, double f)
 
void doc_make_form_xobj (pdf_obj *this_form_contents, pdf_obj *bbox, double refptx, double refpty, double xscale, double yscale, pdf_obj *resources, char *form_name)
 
pdf_objbegin_form_xobj (double xpos, double ypos, double bbllx, double bblly, double bburx, double bbury, char *res_name)
 
void end_form_xobj (void)
 
void pdf_doc_set_box (void)
 
void pdf_doc_begin_annot (pdf_obj *dict)
 
void pdf_doc_end_annot (void)
 
void pdf_doc_flush_annot (void)
 
void pdf_doc_expand_box (double llx, double lly, double urx, double ury)
 

Variables

static pdf_objcatalog = NULL
 
static pdf_objdocinfo = NULL
 
static pdf_objpage_tree = NULL
 
static pdf_objpage_tree_ref = NULL
 
int outline_depth =0
 
struct {
   int   kid_count
 
   pdf_obj *   entry
 
outline [32u]
 
static pdf_objcurrent_page_resources = NULL
 
static pdf_objthis_page_contents = NULL
 
static pdf_objglob_page_bop
 
static pdf_objglob_page_eop
 
static pdf_objcoord_xform_stream = NULL
 
static pdf_objcoord_xform_ref = NULL
 
static pdf_objthis_page_bop = NULL
 
static pdf_objthis_page_beads = NULL
 
static pdf_objthis_page_annots = NULL
 
static pdf_objthis_page_xobjects = NULL
 
static pdf_objthis_page_fonts = NULL
 
static pdf_objtmp1
 
static unsigned long page_count = 0
 
static struct pagespages = NULL
 
static unsigned long max_pages = 0
 
static unsigned char verbose = 0
 
static unsigned char debug =0
 
static pdf_objtype_name
 
static pdf_objpage_name
 
static pdf_objpages_name
 
static pdf_objcontents_name
 
static pdf_objannots_name
 
static pdf_objresources_name
 
static pdf_objbead_name
 
static pdf_objcount_name
 
static pdf_objkids_name
 
static pdf_objparent_name
 
static pdf_objmediabox_name
 
static pdf_objlimits_name
 
static pdf_objthumb_name
 
static pdf_objnames_dict
 
static dest_entrydests = NULL
 
unsigned long max_dests = 0
 
static unsigned long number_dests = 0
 
static article_entry articles [64u]
 
static unsigned long number_articles = 0
 
static pdf_objarticles_array
 
static char thumbnail_opt = 0
 
static char * thumb_basename = NULL
 
static int highest_page_ref = 0
 
struct resource_stack res_stack [4]
 
static int xobjects_pending = 0
 
struct {
   pdf_obj *   annot_dict
 
   unsigned char   dirty
 
   double   llx
 
   double   lly
 
   double   urx
 
   double   ury
 
breaking_state = {NULL, 0}
 

Macro Definition Documentation

◆ BANNER

#define BANNER   "dvipdfm %s, Copyright \251 1998, by Mark A. Wicks"

Definition at line 278 of file pdfdoc.c.

◆ CLUSTER

#define CLUSTER   4

◆ PAGE_CLUSTER

#define PAGE_CLUSTER   4

Typedef Documentation

◆ article_entry

typedef struct articles article_entry

Definition at line 688 of file pdfdoc.c.

◆ dest_entry

typedef struct dests dest_entry

Definition at line 565 of file pdfdoc.c.

Function Documentation

◆ asn_date()

static char* asn_date ( void  )
static

Definition at line 242 of file pdfdoc.c.

References current_time, date_string, debug, fprintf, cutout::l, labs, localtime(), sprintf, time(), timezone, and tm.

Referenced by finish_docinfo().

◆ begin_form_xobj()

◆ build_scale_array()

static pdf_obj* build_scale_array ( double  a,
double  b,
double  c,
double  d,
double  e,
double  f 
)
static

Definition at line 1097 of file pdfdoc.c.

References a, b, c, d, e, f, pdf_add_array(), pdf_new_array(), pdf_new_number(), check-static-inits::result, and ROUND.

Referenced by doc_make_form_xobj().

◆ cmp_dest()

static int cmp_dest ( const void d1,
const void d2 
)
static

Definition at line 616 of file pdfdoc.c.

References d1, length, memcmp, MIN, and name.

Referenced by finish_dests_tree().

◆ create_catalog()

◆ create_docinfo()

static void create_docinfo ( void  )
static

Definition at line 279 of file pdfdoc.c.

References debug, fprintf, pdf_new_dict(), and pdf_set_info().

Referenced by pdf_doc_init().

◆ doc_make_form_xobj()

void doc_make_form_xobj ( pdf_obj this_form_contents,
pdf_obj bbox,
double  refptx,
double  refpty,
double  xscale,
double  yscale,
pdf_obj resources,
char *  form_name 
)

◆ end_form_xobj()

◆ finish_articles()

void finish_articles ( void  )

◆ finish_dests_tree()

static void finish_dests_tree ( void  )
static

◆ finish_docinfo()

static void finish_docinfo ( void  )
static

◆ finish_outline()

◆ finish_page_tree()

◆ finish_pending_xobjects()

void finish_pending_xobjects ( void  )
static

Definition at line 1232 of file pdfdoc.c.

References end_form_xobj(), fprintf, and xobjects_pending.

Referenced by pdf_doc_finish_page().

◆ make_short_cuts()

◆ name_subtree()

◆ page_subtree()

◆ pdf_doc_add_bead()

◆ pdf_doc_add_dest()

void pdf_doc_add_dest ( char *  name,
unsigned  length,
pdf_obj array_ref 
)

Definition at line 688 of file pdfdoc.c.

Referenced by do_dest(), and html_make_dest().

◆ pdf_doc_add_outline()

void pdf_doc_add_outline ( pdf_obj dict)

Definition at line 565 of file pdfdoc.c.

Referenced by do_outline().

◆ pdf_doc_add_to_page()

◆ pdf_doc_add_to_page_annots()

void pdf_doc_add_to_page_annots ( pdf_obj annot)

Definition at line 399 of file pdfdoc.c.

References debug, fprintf, NULL, pdf_add_array(), pdf_new_array(), and this_page_annots.

Referenced by do_ann(), and pdf_doc_flush_annot().

◆ pdf_doc_add_to_page_fonts()

void pdf_doc_add_to_page_fonts ( const char *  name,
pdf_obj resource 
)

Definition at line 356 of file pdfdoc.c.

References debug, fprintf, MEM_END, MEM_START, name, NULL, pdf_add_dict(), pdf_new_dict(), pdf_new_name(), and this_page_fonts.

Referenced by dev_set_font().

◆ pdf_doc_add_to_page_resources()

void pdf_doc_add_to_page_resources ( const char *  name,
pdf_obj resource 
)

Definition at line 389 of file pdfdoc.c.

References current_page_resources, debug, fprintf, name, pdf_add_dict(), and pdf_new_name().

◆ pdf_doc_add_to_page_xobjects()

void pdf_doc_add_to_page_xobjects ( const char *  name,
pdf_obj resource 
)

Definition at line 375 of file pdfdoc.c.

References debug, fprintf, name, NULL, pdf_add_dict(), pdf_new_dict(), pdf_new_name(), and this_page_xobjects.

Referenced by do_operator(), do_uxobj(), and embed_image().

◆ pdf_doc_begin_annot()

void pdf_doc_begin_annot ( pdf_obj dict)

Definition at line 1260 of file pdfdoc.c.

References breaking_state, dev_tag_depth(), and pdf_doc_set_box().

◆ pdf_doc_bop()

void pdf_doc_bop ( char *  string,
unsigned  length 
)

Definition at line 187 of file pdfdoc.c.

References glob_page_bop, length, and pdf_add_stream().

Referenced by do_bop().

◆ pdf_doc_catalog()

pdf_obj* pdf_doc_catalog ( void  )

Definition at line 955 of file pdfdoc.c.

References catalog.

◆ pdf_doc_change_outline_depth()

void pdf_doc_change_outline_depth ( int  new_depth)

◆ pdf_doc_close()

◆ pdf_doc_creator()

void pdf_doc_creator ( char *  s)

Definition at line 1054 of file pdfdoc.c.

References pdf_add_dict(), pdf_new_name(), pdf_new_string(), s, and strlen().

Referenced by color_by_name().

◆ pdf_doc_current_page_resources()

pdf_obj* pdf_doc_current_page_resources ( void  )

Definition at line 919 of file pdfdoc.c.

References current_page_resources.

◆ pdf_doc_enable_thumbnails()

void pdf_doc_enable_thumbnails ( void  )

Definition at line 827 of file pdfdoc.c.

References thumbnail_opt.

Referenced by do_args().

◆ pdf_doc_end_annot()

void pdf_doc_end_annot ( void  )

Definition at line 1268 of file pdfdoc.c.

References breaking_state, dev_untag_depth(), NULL, and pdf_doc_flush_annot().

◆ pdf_doc_eop()

void pdf_doc_eop ( char *  string,
unsigned  length 
)

Definition at line 215 of file pdfdoc.c.

References glob_page_eop, length, and pdf_add_stream().

Referenced by do_eop().

◆ pdf_doc_expand_box()

void pdf_doc_expand_box ( double  llx,
double  lly,
double  urx,
double  ury 
)

Definition at line 1298 of file pdfdoc.c.

References breaking_state, llx, lly, MAX, MIN, urx, and ury.

◆ pdf_doc_finish_page()

◆ pdf_doc_flush_annot()

◆ pdf_doc_init()

void pdf_doc_init ( char *  filename)

◆ pdf_doc_merge_with_catalog()

void pdf_doc_merge_with_catalog ( pdf_obj dictionary)

Definition at line 313 of file pdfdoc.c.

References catalog, and pdf_merge_dict().

Referenced by do_docview().

◆ pdf_doc_merge_with_docinfo()

void pdf_doc_merge_with_docinfo ( pdf_obj dictionary)

Definition at line 308 of file pdfdoc.c.

References pdf_merge_dict().

Referenced by do_docinfo().

◆ pdf_doc_names()

pdf_obj* pdf_doc_names ( void  )

Definition at line 945 of file pdfdoc.c.

References names_dict.

◆ pdf_doc_new_page()

◆ pdf_doc_next_page_ref()

pdf_obj* pdf_doc_next_page_ref ( void  )

Definition at line 978 of file pdfdoc.c.

References page_count, and pdf_doc_ref_page().

◆ pdf_doc_page_tree()

pdf_obj* pdf_doc_page_tree ( void  )

Definition at line 950 of file pdfdoc.c.

References page_tree.

◆ pdf_doc_prev_page_ref()

pdf_obj* pdf_doc_prev_page_ref ( void  )

Definition at line 970 of file pdfdoc.c.

References ERROR, page_count, and pdf_doc_ref_page().

◆ pdf_doc_ref_page()

pdf_obj* pdf_doc_ref_page ( unsigned long  page_no)

◆ pdf_doc_set_box()

void pdf_doc_set_box ( void  )

Definition at line 1250 of file pdfdoc.c.

References breaking_state, dev_page_height(), and dev_page_width().

Referenced by pdf_doc_begin_annot(), and pdf_doc_flush_annot().

◆ pdf_doc_set_debug()

void pdf_doc_set_debug ( void  )

Definition at line 102 of file pdfdoc.c.

References debug.

◆ pdf_doc_set_origin()

void pdf_doc_set_origin ( double  x,
double  y 
)

Definition at line 201 of file pdfdoc.c.

References coord_xform_stream, dvi_tell_mag(), first, len, pdf_add_stream(), pdf_dev_scale, sprintf, work_buffer, cordic::x, and y.

Referenced by dev_close().

◆ pdf_doc_set_verbose()

void pdf_doc_set_verbose ( void  )

Definition at line 96 of file pdfdoc.c.

References verbose.

Referenced by do_args().

◆ pdf_doc_start_article()

void pdf_doc_start_article ( char *  name,
pdf_obj info 
)

◆ pdf_doc_this_bop()

void pdf_doc_this_bop ( char *  string,
unsigned  length 
)

Definition at line 193 of file pdfdoc.c.

References length, NULL, pdf_add_stream(), pdf_new_stream(), STREAM_COMPRESS, and this_page_bop.

Referenced by fill_page().

◆ pdf_doc_this_page()

pdf_obj* pdf_doc_this_page ( void  )

Definition at line 960 of file pdfdoc.c.

References page_count, and pages::page_dict.

◆ pdf_doc_this_page_ref()

pdf_obj* pdf_doc_this_page_ref ( void  )

Definition at line 965 of file pdfdoc.c.

References page_count, and pdf_doc_ref_page().

◆ release_short_cuts()

◆ resize_pages()

static void resize_pages ( unsigned long  newsize)
static

Definition at line 107 of file pdfdoc.c.

References i, max_pages, NULL, pages::page_dict, pages::page_ref, and RENEW.

Referenced by pdf_doc_new_page(), and pdf_doc_ref_page().

◆ start_articles()

static void start_articles ( void  )
static

Definition at line 722 of file pdfdoc.c.

References articles_array, and pdf_new_array().

Referenced by create_catalog().

◆ start_current_page_resources()

static void start_current_page_resources ( void  )
static

◆ start_name_tree()

static void start_name_tree ( void  )
static

Definition at line 234 of file pdfdoc.c.

References debug, fprintf, names_dict, and pdf_new_dict().

Referenced by create_catalog().

◆ start_outline_tree()

static void start_outline_tree ( void  )
static

Definition at line 221 of file pdfdoc.c.

References debug, fprintf, outline, outline_depth, and pdf_new_dict().

Referenced by create_catalog().

◆ start_page_tree()

Variable Documentation

◆ annot_dict

pdf_obj* annot_dict

Definition at line 1245 of file pdfdoc.c.

◆ annots_name

pdf_obj * annots_name
static

Definition at line 120 of file pdfdoc.c.

Referenced by make_short_cuts(), pdf_doc_finish_page(), and release_short_cuts().

◆ articles

Definition at line 718 of file pdfdoc.c.

◆ articles_array

pdf_obj* articles_array
static

Definition at line 721 of file pdfdoc.c.

Referenced by finish_articles(), pdf_doc_add_bead(), and start_articles().

◆ bead_name

pdf_obj * bead_name
static

Definition at line 121 of file pdfdoc.c.

Referenced by make_short_cuts(), pdf_doc_finish_page(), and release_short_cuts().

◆ 

◆ catalog

◆ contents_name

pdf_obj * contents_name
static

Definition at line 120 of file pdfdoc.c.

Referenced by make_short_cuts(), pdf_doc_finish_page(), and release_short_cuts().

◆ coord_xform_ref

pdf_obj * coord_xform_ref = NULL
static

Definition at line 71 of file pdfdoc.c.

Referenced by finish_page_tree(), pdf_doc_finish_page(), and start_page_tree().

◆ coord_xform_stream

pdf_obj* coord_xform_stream = NULL
static

Definition at line 71 of file pdfdoc.c.

Referenced by finish_page_tree(), pdf_doc_set_origin(), and start_page_tree().

◆ count_name

pdf_obj * count_name
static

◆ current_page_resources

◆ debug

◆ dests

dest_entry* dests = NULL
static

Definition at line 613 of file pdfdoc.c.

◆ dirty

unsigned char dirty

Definition at line 1246 of file pdfdoc.c.

◆ docinfo

pdf_obj* docinfo = NULL
static

Definition at line 48 of file pdfdoc.c.

Referenced by spc_handler_pdfm_docinfo(), and win32BeginDocument().

◆ entry

pdf_obj* entry

Definition at line 64 of file pdfdoc.c.

Referenced by __cairo_list_add(), _cairo_cache_entry_is_non_zero(), _cairo_cache_insert(), _cairo_cache_pluck(), _cairo_cache_remove(), _cairo_cache_remove_random(), _cairo_cogl_get_linear_gradient(), _cairo_cogl_journal_discard(), _cairo_cogl_journal_flush(), _cairo_cogl_journal_free(), _cairo_cogl_journal_log_clip(), _cairo_cogl_journal_log_primitive(), _cairo_cogl_journal_log_rectangle(), _cairo_cogl_linear_gradient_destroy(), _cairo_cogl_linear_gradient_size(), _cairo_cogl_linear_gradient_texture_for_extend(), _cairo_dict_collect(), _cairo_ft_unscaled_font_lock_face(), _cairo_ft_unscaled_font_map_pluck_entry(), _cairo_gl_dispatch_init_entries(), _cairo_gl_get_shader_by_type(), _cairo_gl_shader_cache_destroy(), _cairo_gl_shader_cache_hash(), _cairo_hash_table_foreach(), _cairo_hash_table_insert(), _cairo_hash_table_lookup(), _cairo_hash_table_lookup_exact_key(), _cairo_hash_table_lookup_unique_key(), _cairo_hash_table_random_entry(), _cairo_list_del(), _cairo_pdf_source_surface_entry_pluck(), _cairo_pdf_surface_lookup_jbig2_global(), _cairo_pdf_surface_write_page(), _cairo_ps_form_emit(), _cairo_ps_form_pluck(), _cairo_scaled_font_subset_create_glyph_names(), _cairo_sub_font_collect(), _cairo_sub_font_glyph_collect(), _cairo_sub_font_glyph_pluck(), _cairo_sub_font_pluck(), _cairo_svg_source_surface_pluck(), _cairo_xcb_screen_lookup_linear_picture(), _cairo_xcb_screen_lookup_radial_picture(), _cairo_xcb_screen_store_linear_picture(), _cairo_xcb_screen_store_radial_picture(), _cff_dict_entry_pluck(), _collect_dest(), _has_unlocked_face(), _hb_face_builder_reference_table(), _hb_ot_name_language_for(), _intern_string_pluck(), _named_dest_pluck(), _pattern_cache_entry_destroy(), _pluck_entry(), _pluck_xrender_format(), add_Single(), NameTree::addEntry(), adjust_labels(), ar_delete(), ar_get(), ar_set(), ar_shift(), arabic_joining(), axisToBk(), baseScriptFromJson(), cairo_drm_device_default(), cairo_list_add(), cairo_list_add_tail(), cairo_list_del(), cairo_list_init(), cairo_list_is_first(), cairo_list_is_last(), cairo_list_move(), cairo_list_move_tail(), cairo_list_swap(), cairo_truetype_font_update_entry(), cc_offsets_pluck(), ChangeOptionValue(), check_charlist_infinite_loops(), Efont::OpenType::Font::check_checksums(), check_existence_all_character_fields(), check_ligature_program(), Attribute::checkType(), clear_chain(), clear_ligature_entries(), ClearPSFontMap(), NameTree::Entry::cmp(), NameTree::Entry::cmpEntry(), cmsDictAddEntry(), cmsDictDup(), cmsDictFree(), cmsMLUtranslationsCodes(), collect_chars(), compactToUnicode2(), compute_check_sum(), compute_ofm_character_info(), consolidateTSI(), woff2::ConvertTTFToWOFF2(), Dict::copy(), create_string_entry(), ZoneMeta::createMetazoneMappings(), ctp_explain(), DefaultAppearance::DefaultAppearance(), deleteBaseArrayItem(), deleteCacheEntry(), deleteGposCursiveEntry(), deleteGposSingleEntry(), deleteGsubLigatureEntry(), deleteGsubMultiEntry(), deleteIsoCodeEntry(), deleteLigArrayItem(), deleteMarkArrayItem(), deleteOlsonToMetaMappingEntry(), deleteTimeZoneNamesCacheEntry(), deleteTZGNCoreRef(), deleteUCharString(), deleteUnicode(), Dict::Dict(), dir_iter(), OT::hb_get_subtables_context_t::dispatch(), disposeLookupPtr(), disposeTSIEntry(), AnnotAppearanceBuilder::drawListBox(), AnnotAppearanceBuilder::drawText(), AAT::StateTableDriver< Types, EntryData >::drive(), dumpgposCursiveAttach(), DupFormatterFactoryList(), DupPluginCurvesList(), DupPluginIntentsList(), DupPluginOptimizationList(), DupPluginTransformList(), DupTagList(), DupTagTypeList(), ea_get_by_key(), Font::encoding(), entry_delete(), entry_deleted_p(), entryIncrease(), enumToU(), erasetmp(), SVGOptimizer::execute(), fetch_Feature(), fetch_LangSys(), fetch_Lookup(), fetch_Script(), Dict::find(), TransliteratorRegistry::find(), StructElement::findAttribute(), U_NAMESPACE_BEGIN::MixedBlocks::findEntry(), TransliteratorRegistry::findInBundle(), TransliteratorRegistry::findInStaticStore(), FileFinder::findMappedFile(), FindPSFontMap(), FindSubFont(), findUnassigned(), finish_outline(), FontManager::fontnum(), free_dfa_content(), free_entry(), gdImageCreateFromFile(), gdImageFile(), gdSupportsFileType(), TransliteratorRegistry::get(), get_apple_string(), AAT::StateTable< Types, Extra >::get_entry(), OT::name::accelerator_t::get_index(), get_subexp(), get_udev_property(), Get_Vert(), get_win_string(), getAttributeMapEntry(), ICUService::getDisplayNames(), PhysicalFont::getGlyph(), DependencyGraph< T >::getKeys(), SVGOptimizer::getModule(), FormWidgetSignature::getObjectStartEnd(), getOwnerMapEntry(), getStateProp(), FormFieldText::getTextFontSize(), Attribute::getTypeForName(), getTypeMapEntry(), Attribute::getTypeName(), Dict::getVal(), PhysicalFont::glyphName(), gposCursiveSubTable(), gss_entry_ctor(), gss_entry_dtor(), gxv_EntryTable_validate(), gxv_StateArray_validate(), gxv_XEntryTable_validate(), gxv_XStateArray_validate(), PhysicalFont::hAdvance(), Efont::OpenType::Font::has_table(), hasValidTrailBytes(), hb_face_builder_add_table(), ht_delete(), ht_shift(), ib_init(), OT::name::accelerator_t::init(), init_var_character(), initLookupPtr(), initTSIEntry(), TransliteratorRegistry::instantiateEntry(), Dict::is(), AAT::KerxSubTableFormat1< KernSubTableHeader >::driver_context_t::is_actionable(), AAT::KerxSubTableFormat4< KernSubTableHeader >::driver_context_t::is_actionable(), AAT::RearrangementSubtable< Types >::driver_context_t::is_actionable(), AAT::ContextualSubtable< Types >::driver_context_t::is_actionable(), AAT::LigatureSubtable< Types >::driver_context_t::is_actionable(), AAT::InsertionSubtable< Types >::driver_context_t::is_actionable(), StructElement::isBlock(), StructElement::isGrouping(), StructElement::isInline(), isSingleOrLead(), AAT::Format1Entry< true >::kernActionIndex(), AAT::Format1Entry< false >::kernActionIndex(), l_hash_input(), Efont::OpenType::ScriptList::langsys_offset(), AAT::LigatureEntry< true >::ligActionIndex(), AAT::LigatureEntry< false >::ligActionIndex(), SVGOptimizer::listModules(), CollationRoot::load(), load_image(), Load_TrueType_Directory(), Dict::lookup(), NameTree::lookup(), Dict::lookupEnsureEncryptedIfNeeded(), Dict::lookupNF(), lzw_decode_state(), lzw_decoder_clear(), main(), main_search_proc(), Parser::makeStream(), PDFDoc::markAcroForm(), PDFDoc::markAnnotations(), PDFDoc::markObject(), MBCSAddToUnicode(), mrb_gc_mark_hash(), mrb_hash_check_kdict(), mrb_hash_foreach(), mrb_hash_has_value(), mrb_hash_keys(), mrb_hash_merge(), mrb_hash_values(), mrb_unpack_backtrace(), nameRecordDtor(), nameToOwner(), nameToType(), poppler::font_iterator::next(), PageRanges::numberOfPages(), offsetTOCLookupFn(), otfcc_buildCmap(), otfcc_dumpTSI(), otfcc_readTSI(), otl_gsub_apply_chain(), otl_gsub_dump_ligature(), otl_gsub_parse_ligature(), otl_gsub_set_chain(), output_ofm_character_info(), output_ofm_ligkern(), output_ovf_chars(), ownerToName(), NameTree::parse(), XRef::parseEntry(), parseState(), pdf_doc_change_outline_depth(), AAT::Format1Entry< true >::performAction(), AAT::Format1Entry< false >::performAction(), AAT::LigatureEntry< true >::performAction(), AAT::LigatureEntry< false >::performAction(), png_create_colormap_entry(), png_image_read_and_map(), png_image_set_PLTE(), populateCurrSymbolsEquiv(), DvisvgmSpecialHandler::preprocessRawSet(), prescan_clear(), prescan_entry(), print_characters(), propergid(), PSCodeInit(), pushTSIEntries(), TransliteratorRegistry::put(), putenv(), EncFile::read(), read_entry(), readBaseScript(), woff2::ReadCollectionFont(), ReadPSFontMap(), XRef::readXRefTable(), TransliteratorRegistry::reget(), Dict::remove(), retrieve_exten_table(), retrieve_ligkern_table(), samplers_pluck(), AAT::StateTable< Types, Extra >::sanitize(), scan_token(), GlobalParams::scanEncodingDirs(), Efont::OpenType::ScriptList::script_offset(), SearchPSFontMap(), Dict::set(), FormFieldText::setTextFontSize(), sf_states_pluck(), sift_states_bkref(), statMaxContextOTL(), PhysicalFontImpl::style(), sumUpStates(), sweepCache(), Efont::OpenType::Font::table(), Efont::OpenType::Font::table_checksum(), Efont::OpenType::Tag::table_entry(), TestOptionValue(), AAT::KerxSubTableFormat1< KernSubTableHeader >::driver_context_t::transition(), AAT::KerxSubTableFormat4< KernSubTableHeader >::driver_context_t::transition(), AAT::RearrangementSubtable< Types >::driver_context_t::transition(), AAT::ContextualSubtable< Types >::driver_context_t::transition(), AAT::LigatureSubtable< Types >::driver_context_t::transition(), AAT::InsertionSubtable< Types >::driver_context_t::transition(), tt_face_free_name(), tt_face_load_font_dir(), tt_face_load_loca(), tt_face_load_name(), tt_face_lookup_table(), tt_name_ascii_from_other(), tt_name_ascii_from_utf16(), ttfLoadVDMX(), typeToName(), ucm_countChars(), ucm_optimizeStates(), ucm_processStates(), ucnv_MBCSGetNextUChar(), ucnv_MBCSLoad(), ucnv_MBCSSimpleGetNextUChar_68(), ucnv_MBCSSingleGetNextUChar(), ucnv_MBCSSingleToBMPWithOffsets(), ucnv_MBCSSingleToUnicodeWithOffsets(), ucnv_MBCSToUnicodeWithOffsets_68(), ucurr_createCurrencyList(), unzzip_big_entry_fprint(), unzzip_cat(), unzzip_list(), unzzip_mem_entry_fprint(), ures_openWithType(), PhysicalFont::vAdvance(), wm_bindings_pluck(), wm_kernels_pluck(), wm_states_pluck(), FontMap::write(), FontManager::write(), writeAssemblyCode(), writeCCode(), Package::writePackage(), xmain(), zzip_disk_entry_fopen(), zzip_disk_entry_get_mktime(), zzip_disk_entry_strdup_comment(), zzip_disk_entry_strdup_name(), zzip_disk_entry_to_data(), zzip_disk_entry_to_file_header(), zzip_disk_findfile(), zzip_disk_findmatch(), zzip_disk_findnext(), zzip_disk_fopen(), zzip_entry_data_offset(), zzip_entry_ffile(), zzip_entry_findfile(), zzip_entry_findfirst(), zzip_entry_findmatch(), zzip_entry_findnext(), zzip_entry_fopen(), zzip_entry_fprint(), zzip_entry_fread_file_header(), zzip_entry_free(), zzip_entry_strdup_name(), zzip_mem_disk_findfile(), zzip_mem_disk_findmatch(), zzip_mem_disk_fopen(), zzip_mem_disk_load(), zzip_mem_entry_direntry(), zzip_mem_entry_extra_block(), zzip_mem_entry_find_extra_block(), zzip_mem_entry_fopen(), zzip_mem_entry_listall(), zzip_mem_entry_listfiles(), zzip_mem_entry_make(), zzip_mem_entry_makeall(), zzip_mem_entry_makefiles(), zzip_mem_entry_new(), zzip_mem_entry_pipe(), zzip_mem_entry_pipeall(), zzip_mem_entry_pipefiles(), zzip_mem_entry_test(), zzip_mem_entry_testall(), zzip_mem_entry_testfiles(), HtmlOutputDev::~HtmlOutputDev(), HtmlPage::~HtmlPage(), PDFDocFactory::~PDFDocFactory(), TextSelectionDumper::~TextSelectionDumper(), and TextSelectionPainter::~TextSelectionPainter().

◆ glob_page_bop

pdf_obj* glob_page_bop
static

Definition at line 70 of file pdfdoc.c.

Referenced by finish_page_tree(), pdf_doc_bop(), pdf_doc_finish_page(), and start_page_tree().

◆ glob_page_eop

pdf_obj * glob_page_eop
static

Definition at line 70 of file pdfdoc.c.

Referenced by finish_page_tree(), pdf_doc_eop(), pdf_doc_finish_page(), and start_page_tree().

◆ highest_page_ref

int highest_page_ref = 0
static

Definition at line 925 of file pdfdoc.c.

Referenced by pdf_doc_close(), and pdf_doc_ref_page().

◆ kid_count

int kid_count

Definition at line 63 of file pdfdoc.c.

Referenced by pdf_doc_change_outline_depth().

◆ kids_name

pdf_obj * kids_name
static

Definition at line 121 of file pdfdoc.c.

Referenced by make_short_cuts(), name_subtree(), page_subtree(), and release_short_cuts().

◆ limits_name

pdf_obj * limits_name
static

Definition at line 122 of file pdfdoc.c.

Referenced by make_short_cuts(), name_subtree(), and release_short_cuts().

◆ llx

double llx

Definition at line 1247 of file pdfdoc.c.

Referenced by pdf_doc_expand_box().

◆ lly

double lly

Definition at line 1247 of file pdfdoc.c.

Referenced by pdf_doc_expand_box().

◆ max_dests

unsigned long max_dests = 0

Definition at line 614 of file pdfdoc.c.

◆ max_pages

unsigned long max_pages = 0
static

Definition at line 83 of file pdfdoc.c.

Referenced by pdf_doc_new_page(), pdf_doc_ref_page(), and resize_pages().

◆ mediabox_name

pdf_obj * mediabox_name
static

Definition at line 122 of file pdfdoc.c.

Referenced by finish_page_tree(), make_short_cuts(), and release_short_cuts().

◆ names_dict

pdf_obj* names_dict
static

Definition at line 232 of file pdfdoc.c.

Referenced by finish_dests_tree(), pdf_doc_close(), pdf_doc_names(), and start_name_tree().

◆ number_articles

unsigned long number_articles = 0
static

Definition at line 719 of file pdfdoc.c.

Referenced by finish_articles(), pdf_doc_add_bead(), and pdf_doc_start_article().

◆ number_dests

unsigned long number_dests = 0
static

Definition at line 669 of file pdfdoc.c.

Referenced by finish_dests_tree().

◆ 

outline[ 32u ] { ... } struct

◆ outline_depth

int outline_depth =0

Definition at line 60 of file pdfdoc.c.

Referenced by finish_outline(), pdf_doc_change_outline_depth(), and start_outline_tree().

◆ page_count

◆ page_name

◆ page_tree

◆ page_tree_ref

pdf_obj * page_tree_ref = NULL
static

Definition at line 49 of file pdfdoc.c.

Referenced by finish_page_tree(), and start_page_tree().

◆ pages

struct pages * pages = NULL
static

◆ pages_name

pdf_obj * pages_name
static

Definition at line 120 of file pdfdoc.c.

Referenced by finish_page_tree(), make_short_cuts(), page_subtree(), and release_short_cuts().

◆ parent_name

pdf_obj * parent_name
static

◆ res_stack

struct resource_stack res_stack[4]

Referenced by begin_form_xobj(), and end_form_xobj().

◆ resources_name

pdf_obj * resources_name
static

◆ this_page_annots

pdf_obj* this_page_annots = NULL
static

Definition at line 74 of file pdfdoc.c.

Referenced by pdf_doc_add_to_page_annots(), and pdf_doc_finish_page().

◆ this_page_beads

pdf_obj* this_page_beads = NULL
static

Definition at line 73 of file pdfdoc.c.

Referenced by pdf_doc_add_bead(), and pdf_doc_finish_page().

◆ this_page_bop

pdf_obj* this_page_bop = NULL
static

Definition at line 72 of file pdfdoc.c.

Referenced by pdf_doc_finish_page(), and pdf_doc_this_bop().

◆ this_page_contents

pdf_obj* this_page_contents = NULL
static

◆ this_page_fonts

pdf_obj * this_page_fonts = NULL
static

◆ this_page_xobjects

pdf_obj* this_page_xobjects = NULL
static

◆ thumb_basename

char* thumb_basename = NULL
static

Definition at line 825 of file pdfdoc.c.

Referenced by pdf_doc_close(), pdf_doc_finish_page(), and pdf_doc_init().

◆ thumb_name

pdf_obj * thumb_name
static

Definition at line 122 of file pdfdoc.c.

Referenced by make_short_cuts(), pdf_doc_finish_page(), and release_short_cuts().

◆ thumbnail_opt

char thumbnail_opt = 0
static

Definition at line 824 of file pdfdoc.c.

Referenced by pdf_doc_enable_thumbnails(), pdf_doc_finish_page(), and pdf_doc_init().

◆ tmp1

◆ type_name

◆ urx

double urx

Definition at line 1247 of file pdfdoc.c.

Referenced by pdf_doc_expand_box().

◆ ury

double ury

Definition at line 1247 of file pdfdoc.c.

Referenced by pdf_doc_expand_box().

◆ verbose

unsigned char verbose = 0
static

Definition at line 94 of file pdfdoc.c.

Referenced by pdf_doc_set_verbose().

◆ xobjects_pending

int xobjects_pending = 0
static

Definition at line 1148 of file pdfdoc.c.

Referenced by begin_form_xobj(), end_form_xobj(), and finish_pending_xobjects().