#---------------------------------------------------------------------------#
#          Copyright (c) 1997-2022 PDFlib GmbH. All rights reserved.        #
#---------------------------------------------------------------------------#
#    This software may not be copied or distributed except as expressly     #
#    authorized by PDFlib GmbH's general license agreement or a custom      #
#    license agreement signed by PDFlib GmbH.                               #
#    For more information about licensing please refer to www.pdflib.com.   #
#---------------------------------------------------------------------------#


package pdflib_pl;
require Exporter;
require DynaLoader;
our $VERSION = 11.0;
@ISA = qw(Exporter DynaLoader);
package pdflibc;
bootstrap pdflib_pl;
var_pdflib_init();
@EXPORT = qw( );

# ---------- BASE METHODS -------------

package pdflib_pl;

sub TIEHASH {
    my ($classname,$obj) = @_;
    return bless $obj, $classname;
}

sub CLEAR { }

sub this {
    my $ptr = shift;
    return tied(%$ptr);
}


# ------- FUNCTION WRAPPERS --------

package pdflib_pl;
*PDF_new = *pdflibc::PDF_new;
*PDF_delete = *pdflibc::PDF_delete;
# update from wrap.pl

*PDF_activate_item = *pdflibc::PDF_activate_item;
*PDF_add_nameddest = *pdflibc::PDF_add_nameddest;
*PDF_add_path_point = *pdflibc::PDF_add_path_point;
*PDF_add_portfolio_file = *pdflibc::PDF_add_portfolio_file;
*PDF_add_portfolio_folder = *pdflibc::PDF_add_portfolio_folder;
*PDF_add_table_cell = *pdflibc::PDF_add_table_cell;
*PDF_add_textflow = *pdflibc::PDF_add_textflow;
*PDF_align = *pdflibc::PDF_align;
*PDF_arc = *pdflibc::PDF_arc;
*PDF_arcn = *pdflibc::PDF_arcn;
*PDF_begin_document = *pdflibc::PDF_begin_document;
*PDF_begin_dpart = *pdflibc::PDF_begin_dpart;
*PDF_begin_font = *pdflibc::PDF_begin_font;
*PDF_begin_glyph_ext = *pdflibc::PDF_begin_glyph_ext;
*PDF_begin_item = *pdflibc::PDF_begin_item;
*PDF_begin_layer = *pdflibc::PDF_begin_layer;
*PDF_begin_mc = *pdflibc::PDF_begin_mc;
*PDF_begin_page_ext = *pdflibc::PDF_begin_page_ext;
*PDF_begin_pattern_ext = *pdflibc::PDF_begin_pattern_ext;
*PDF_begin_template_ext = *pdflibc::PDF_begin_template_ext;
*PDF_circle = *pdflibc::PDF_circle;
*PDF_circular_arc = *pdflibc::PDF_circular_arc;
*PDF_clip = *pdflibc::PDF_clip;
*PDF_close_font = *pdflibc::PDF_close_font;
*PDF_close_graphics = *pdflibc::PDF_close_graphics;
*PDF_close_image = *pdflibc::PDF_close_image;
*PDF_close_pdi_document = *pdflibc::PDF_close_pdi_document;
*PDF_close_pdi_page = *pdflibc::PDF_close_pdi_page;
*PDF_closepath = *pdflibc::PDF_closepath;
*PDF_closepath_fill_stroke = *pdflibc::PDF_closepath_fill_stroke;
*PDF_closepath_stroke = *pdflibc::PDF_closepath_stroke;
*PDF_concat = *pdflibc::PDF_concat;
*PDF_continue_text = *pdflibc::PDF_continue_text;
*PDF_convert_to_unicode = *pdflibc::PDF_convert_to_unicode;
*PDF_create_3dview = *pdflibc::PDF_create_3dview;
*PDF_create_action = *pdflibc::PDF_create_action;
*PDF_create_annotation = *pdflibc::PDF_create_annotation;
*PDF_create_devicen = *pdflibc::PDF_create_devicen;
*PDF_create_bookmark = *pdflibc::PDF_create_bookmark;
*PDF_create_field = *pdflibc::PDF_create_field;
*PDF_create_fieldgroup = *pdflibc::PDF_create_fieldgroup;
*PDF_create_gstate = *pdflibc::PDF_create_gstate;
*PDF_create_pvf = *pdflibc::PDF_create_pvf;
*PDF_create_textflow = *pdflibc::PDF_create_textflow;
*PDF_curveto = *pdflibc::PDF_curveto;
*PDF_define_layer = *pdflibc::PDF_define_layer;
*PDF_delete_path = *pdflibc::PDF_delete_path;
*PDF_delete_pvf = *pdflibc::PDF_delete_pvf;
*PDF_delete_table = *pdflibc::PDF_delete_table;
*PDF_delete_textflow = *pdflibc::PDF_delete_textflow;
*PDF_download = *pdflibc::PDF_download;
*PDF_draw_path = *pdflibc::PDF_draw_path;
*PDF_ellipse = *pdflibc::PDF_ellipse;
*PDF_elliptical_arc = *pdflibc::PDF_elliptical_arc;
*PDF_encoding_set_char = *pdflibc::PDF_encoding_set_char;
*PDF_end_document = *pdflibc::PDF_end_document;
*PDF_end_dpart = *pdflibc::PDF_end_dpart;
*PDF_end_font = *pdflibc::PDF_end_font;
*PDF_end_glyph = *pdflibc::PDF_end_glyph;
*PDF_end_item = *pdflibc::PDF_end_item;
*PDF_end_layer = *pdflibc::PDF_end_layer;
*PDF_end_mc = *pdflibc::PDF_end_mc;
*PDF_end_page_ext = *pdflibc::PDF_end_page_ext;
*PDF_end_pattern = *pdflibc::PDF_end_pattern;
*PDF_end_template_ext = *pdflibc::PDF_end_template_ext;
*PDF_endpath = *pdflibc::PDF_endpath;
*PDF_fill = *pdflibc::PDF_fill;
*PDF_fill_graphicsblock = *pdflibc::PDF_fill_graphicsblock;
*PDF_fill_imageblock = *pdflibc::PDF_fill_imageblock;
*PDF_fill_pdfblock = *pdflibc::PDF_fill_pdfblock;
*PDF_fill_stroke = *pdflibc::PDF_fill_stroke;
*PDF_fill_textblock = *pdflibc::PDF_fill_textblock;
*PDF_fit_graphics = *pdflibc::PDF_fit_graphics;
*PDF_fit_image = *pdflibc::PDF_fit_image;
*PDF_fit_pdi_page = *pdflibc::PDF_fit_pdi_page;
*PDF_fit_table = *pdflibc::PDF_fit_table;
*PDF_fit_textflow = *pdflibc::PDF_fit_textflow;
*PDF_fit_textline = *pdflibc::PDF_fit_textline;
*PDF_get_apiname = *pdflibc::PDF_get_apiname;
*PDF_get_buffer = *pdflibc::PDF_get_buffer;
*PDF_get_errmsg = *pdflibc::PDF_get_errmsg;
*PDF_get_errnum = *pdflibc::PDF_get_errnum;
*PDF_get_option = *pdflibc::PDF_get_option;
*PDF_get_string = *pdflibc::PDF_get_string;
*PDF_info_font = *pdflibc::PDF_info_font;
*PDF_info_graphics = *pdflibc::PDF_info_graphics;
*PDF_info_image = *pdflibc::PDF_info_image;
*PDF_info_matchbox = *pdflibc::PDF_info_matchbox;
*PDF_info_path = *pdflibc::PDF_info_path;
*PDF_info_pdi_page = *pdflibc::PDF_info_pdi_page;
*PDF_info_pvf = *pdflibc::PDF_info_pvf;
*PDF_info_table = *pdflibc::PDF_info_table;
*PDF_info_textflow = *pdflibc::PDF_info_textflow;
*PDF_info_textline = *pdflibc::PDF_info_textline;
*PDF_lineto = *pdflibc::PDF_lineto;
*PDF_load_3ddata = *pdflibc::PDF_load_3ddata;
*PDF_load_asset = *pdflibc::PDF_load_asset;
*PDF_load_font = *pdflibc::PDF_load_font;
*PDF_load_graphics = *pdflibc::PDF_load_graphics;
*PDF_load_iccprofile = *pdflibc::PDF_load_iccprofile;
*PDF_load_image = *pdflibc::PDF_load_image;
*PDF_makespotcolor = *pdflibc::PDF_makespotcolor;
*PDF_mc_point = *pdflibc::PDF_mc_point;
*PDF_moveto = *pdflibc::PDF_moveto;
*PDF_open_pdi_document = *pdflibc::PDF_open_pdi_document;
*PDF_open_pdi_page = *pdflibc::PDF_open_pdi_page;
*PDF_pcos_get_number = *pdflibc::PDF_pcos_get_number;
*PDF_pcos_get_string = *pdflibc::PDF_pcos_get_string;
*PDF_pcos_get_stream = *pdflibc::PDF_pcos_get_stream;
*PDF_poca_delete = *pdflibc::PDF_poca_delete;
*PDF_poca_insert = *pdflibc::PDF_poca_insert;
*PDF_poca_new = *pdflibc::PDF_poca_new;
*PDF_poca_remove = *pdflibc::PDF_poca_remove;
*PDF_process_pdi = *pdflibc::PDF_process_pdi;
*PDF_rect = *pdflibc::PDF_rect;
*PDF_restore = *pdflibc::PDF_restore;
*PDF_resume_page = *pdflibc::PDF_resume_page;
*PDF_rotate = *pdflibc::PDF_rotate;
*PDF_save = *pdflibc::PDF_save;
*PDF_scale = *pdflibc::PDF_scale;
*PDF_set_graphics_option = *pdflibc::PDF_set_graphics_option;
*PDF_set_gstate = *pdflibc::PDF_set_gstate;
*PDF_set_info = *pdflibc::PDF_set_info;
*PDF_set_layer_dependency = *pdflibc::PDF_set_layer_dependency;
*PDF_set_option = *pdflibc::PDF_set_option;
*PDF_set_text_option = *pdflibc::PDF_set_text_option;
*PDF_set_text_pos = *pdflibc::PDF_set_text_pos;
*PDF_setcolor = *pdflibc::PDF_setcolor;
*PDF_setfont = *pdflibc::PDF_setfont;
*PDF_setlinewidth = *pdflibc::PDF_setlinewidth;
*PDF_setmatrix = *pdflibc::PDF_setmatrix;
*PDF_shading = *pdflibc::PDF_shading;
*PDF_shading_pattern = *pdflibc::PDF_shading_pattern;
*PDF_shfill = *pdflibc::PDF_shfill;
*PDF_show = *pdflibc::PDF_show;
*PDF_show_xy = *pdflibc::PDF_show_xy;
*PDF_skew = *pdflibc::PDF_skew;
*PDF_stringwidth = *pdflibc::PDF_stringwidth;
*PDF_stroke = *pdflibc::PDF_stroke;
*PDF_suspend_page = *pdflibc::PDF_suspend_page;
*PDF_translate = *pdflibc::PDF_translate;

@EXPORT = qw(
PDF_new
PDF_delete
PDF_activate_item
PDF_add_nameddest
PDF_add_path_point
PDF_add_portfolio_file
PDF_add_portfolio_folder
PDF_add_table_cell
PDF_add_textflow
PDF_align
PDF_arc
PDF_arcn
PDF_begin_document
PDF_begin_dpart
PDF_begin_font
PDF_begin_glyph_ext
PDF_begin_item
PDF_begin_layer
PDF_begin_mc
PDF_begin_page_ext
PDF_begin_pattern_ext
PDF_begin_template_ext
PDF_circle
PDF_circular_arc
PDF_clip
PDF_close_font
PDF_close_graphics
PDF_close_image
PDF_close_pdi_document
PDF_close_pdi_page
PDF_closepath
PDF_closepath_fill_stroke
PDF_closepath_stroke
PDF_concat
PDF_continue_text
PDF_convert_to_unicode
PDF_create_3dview
PDF_create_action
PDF_create_annotation
PDF_create_devicen
PDF_create_bookmark
PDF_create_field
PDF_create_fieldgroup
PDF_create_gstate
PDF_create_pvf
PDF_create_textflow
PDF_curveto
PDF_define_layer
PDF_delete_path
PDF_delete_pvf
PDF_delete_table
PDF_delete_textflow
PDF_download
PDF_draw_path
PDF_ellipse
PDF_elliptical_arc
PDF_encoding_set_char
PDF_end_document
PDF_end_dpart
PDF_end_font
PDF_end_glyph
PDF_end_item
PDF_end_layer
PDF_end_mc
PDF_end_page_ext
PDF_end_pattern
PDF_end_template_ext
PDF_endpath
PDF_fill
PDF_fill_graphicsblock
PDF_fill_imageblock
PDF_fill_pdfblock
PDF_fill_stroke
PDF_fill_textblock
PDF_fit_graphics
PDF_fit_image
PDF_fit_pdi_page
PDF_fit_table
PDF_fit_textflow
PDF_fit_textline
PDF_get_apiname
PDF_get_buffer
PDF_get_errmsg
PDF_get_errnum
PDF_get_option
PDF_get_string
PDF_info_font
PDF_info_graphics
PDF_info_image
PDF_info_matchbox
PDF_info_path
PDF_info_pdi_page
PDF_info_pvf
PDF_info_table
PDF_info_textflow
PDF_info_textline
PDF_lineto
PDF_load_3ddata
PDF_load_asset
PDF_load_font
PDF_load_graphics
PDF_load_iccprofile
PDF_load_image
PDF_makespotcolor
PDF_mc_point
PDF_moveto
PDF_open_pdi_document
PDF_open_pdi_page
PDF_pcos_get_number
PDF_pcos_get_string
PDF_pcos_get_stream
PDF_poca_delete
PDF_poca_insert
PDF_poca_new
PDF_poca_remove
PDF_process_pdi
PDF_rect
PDF_restore
PDF_resume_page
PDF_rotate
PDF_save
PDF_scale
PDF_set_graphics_option
PDF_set_gstate
PDF_set_info
PDF_set_layer_dependency
PDF_set_option
PDF_set_text_option
PDF_set_text_pos
PDF_setcolor
PDF_setfont
PDF_setlinewidth
PDF_setmatrix
PDF_shading
PDF_shading_pattern
PDF_shfill
PDF_show
PDF_show_xy
PDF_skew
PDF_stringwidth
PDF_stroke
PDF_suspend_page
PDF_translate

);
