public class PDFModule extends AbstractQuercusModule
PHP_INI_ALL, PHP_INI_PERDIR, PHP_INI_SYSTEM, PHP_INI_USER
Constructor and Description |
---|
PDFModule() |
Modifier and Type | Method and Description |
---|---|
java.lang.String[] |
getLoadedExtensions()
Returns true for the mysql extension.
|
static boolean |
pdf_activate_item(Env env,
PDF pdf,
int id)
Activates a created element.
|
static boolean |
pdf_add_annotation(Env env,
PDF pdf)
Adds an annotation
|
static boolean |
pdf_add_bookmark(Env env,
PDF pdf)
Adds an bookmarkannotation
|
static boolean |
pdf_add_launchlink(Env env,
PDF pdf,
double llx,
double lly,
double urx,
double ury,
java.lang.String filename)
Adds an launchlink
|
static boolean |
pdf_add_locallink(Env env,
PDF pdf,
double llx,
double lly,
double urx,
double ury,
int page,
java.lang.String dest)
Adds a locallink
|
static boolean |
pdf_add_nameddest(Env env,
PDF pdf,
java.lang.String name,
java.lang.String optlist)
Creates a named destination
|
static boolean |
pdf_add_note(Env env,
PDF pdf,
double llx,
double lly,
double urx,
double ury,
java.lang.String contents,
java.lang.String title,
java.lang.String icon,
int open)
Creates an annotation
|
static boolean |
pdf_add_outline(Env env,
PDF pdf,
java.lang.String name,
java.lang.String optlist)
Creates an outline
|
static boolean |
pdf_add_pdflink(Env env,
PDF pdf,
double llx,
double lly,
double urx,
double ury,
java.lang.String filename,
int page,
java.lang.String dest)
Creates a file link annotation
|
static boolean |
pdf_add_thumbnail(Env env,
PDF pdf,
PDFImage image)
Adds a thumbnail
|
static boolean |
pdf_add_weblink(Env env,
PDF pdf,
double llx,
double lly,
double urx,
double ury,
java.lang.String url)
Adds a web link
|
static boolean |
pdf_arc(PDF pdf,
double x1,
double y1,
double r,
double a,
double b)
Creates a counterclockwise arc
|
static boolean |
pdf_arcn(PDF pdf,
double x1,
double y1,
double r,
double a,
double b)
Creates a clockwise arc
|
static boolean |
pdf_attach_file(Env env,
PDF pdf,
double llx,
double lly,
double urx,
double ury,
java.lang.String filename,
java.lang.String description,
java.lang.String author,
java.lang.String mimetype,
java.lang.String icon)
Adds a file attachment
|
static boolean |
pdf_begin_document(PDF pdf,
java.lang.String fileName,
java.lang.String optList)
Starts the document.
|
static boolean |
pdf_begin_font(Env env,
PDF pdf,
java.lang.String fileName,
double a,
double b,
double c,
double d,
double e,
double f,
java.lang.String optList)
Starts a font definition
|
static boolean |
pdf_begin_glyph(Env env,
PDF pdf,
java.lang.String glyphname,
double wx,
double llx,
double lly,
double urx,
double ury)
Starts a glyph definition
|
static boolean |
pdf_begin_item(Env env,
PDF pdf,
java.lang.String tag,
java.lang.String optlist)
Starts a structure element
|
static boolean |
pdf_begin_layer(Env env,
PDF pdf,
int layer)
Starts a pdf layer
|
static boolean |
pdf_begin_page_ext(PDF pdf,
double w,
double h,
java.lang.String optlist)
Starts the page.
|
static boolean |
pdf_begin_page(PDF pdf,
double w,
double h)
Starts the page.
|
static boolean |
pdf_begin_pattern(Env env,
PDF pdf,
double w,
double h,
double xStep,
double yStep,
int paintType)
Starts a pattern
|
static boolean |
pdf_begin_template(Env env,
PDF pdf,
double w,
double h)
Starts a template
|
static boolean |
pdf_circle(PDF pdf,
double x,
double y,
double r)
Draws a circle
|
static boolean |
pdf_clip(PDF pdf)
Clips the path.
|
static boolean |
pdf_close_image(Env env,
PDF pdf,
PDFImage image)
Closes an image
|
static boolean |
pdf_close_pdi_page(Env env,
PDF pdf,
int page)
Closes a page
|
static boolean |
pdf_close_pdi(Env env,
PDF pdf,
int doc)
Closes a document
|
static boolean |
pdf_close(PDF pdf)
Closes the pdf document.
|
static boolean |
pdf_closepath_fill_stroke(PDF pdf)
Closes the path, fill, and stroke it.
|
static boolean |
pdf_closepath_stroke(PDF pdf)
Closes the path and stroke it.
|
static boolean |
pdf_closepath(PDF pdf)
Closes the path.
|
static boolean |
pdf_concat(PDF pdf,
double a,
double b,
double c,
double d,
double e,
double f)
Concatenates a transformation matrix
|
static boolean |
pdf_continue_text(PDF pdf,
java.lang.String text)
Continues text at the next line.
|
static boolean |
pdf_create_action(Env env,
PDF pdf,
java.lang.String type,
java.lang.String optList)
Creates an action.
|
static boolean |
pdf_create_annotation(Env env,
PDF pdf,
double llx,
double lly,
double urx,
double ury,
java.lang.String type,
java.lang.String optList)
Creates a rectangular annotation
|
static boolean |
pdf_create_bookmark(Env env,
PDF pdf,
java.lang.String text,
java.lang.String optList)
Creates a bookmark
|
static boolean |
pdf_create_field(Env env,
PDF pdf,
double llx,
double lly,
double urx,
double ury,
java.lang.String name,
java.lang.String type,
java.lang.String optList)
Creates a form field.
|
static boolean |
pdf_create_fieldgroup(Env env,
PDF pdf,
java.lang.String name,
java.lang.String optList)
Creates a form field group.
|
static boolean |
pdf_create_gstate(Env env,
PDF pdf,
java.lang.String optList)
Creates a graphics state
|
static boolean |
pdf_create_pvf(Env env,
PDF pdf,
java.lang.String filename,
java.lang.String data,
java.lang.String optList)
Creates a virtual file
|
static boolean |
pdf_create_textflow(Env env,
PDF pdf,
java.lang.String text,
java.lang.String optList)
Creates a textflow object
|
static boolean |
pdf_curveto(PDF pdf,
double x1,
double y1,
double x2,
double y2,
double x3,
double y3)
Draws a bezier curve
|
static boolean |
pdf_define_layer(Env env,
PDF pdf,
java.lang.String name,
java.lang.String optList)
Creates a layer
|
static boolean |
pdf_delete_pvf(Env env,
PDF pdf,
java.lang.String name)
Delete a virtual file
|
static boolean |
pdf_delete_textflow(Env env,
PDF pdf,
int textflow)
Delete a textflow object
|
static boolean |
pdf_delete(PDF pdf)
Delete the pdf object.
|
static boolean |
pdf_encoding_set_char(Env env,
PDF pdf,
java.lang.String encoding,
int slow,
java.lang.String glyphname,
int uv)
Adds a glyph to a custom encoding.
|
static boolean |
pdf_end_document(PDF pdf,
java.lang.String optlist)
Completes the document.
|
static boolean |
pdf_end_font(Env env,
PDF pdf)
Completes a font definition
|
static boolean |
pdf_end_glyph(Env env,
PDF pdf)
Completes a glyph definition
|
static boolean |
pdf_end_item(Env env,
PDF pdf,
int id)
Completes a structure element.
|
static boolean |
pdf_end_layer(Env env,
PDF pdf)
Completes a layer
|
static boolean |
pdf_end_page_ext(PDF pdf,
java.lang.String optlist)
Completes a page
|
static boolean |
pdf_end_page(PDF pdf)
Completes a page
|
static boolean |
pdf_end_path(PDF pdf)
End the current path.
|
static boolean |
pdf_end_pattern(Env env,
PDF pdf)
Completes a pattern
|
static boolean |
pdf_end_template(Env env,
PDF pdf)
Completes a template
|
static boolean |
pdf_fill_imageblock(Env env,
PDF pdf,
int page,
java.lang.String blockname,
int image,
java.lang.String optlist)
Fill the image with data.
|
static boolean |
pdf_fill_pdfblock(Env env,
PDF pdf,
int page,
java.lang.String blockname,
int contents,
java.lang.String optlist)
Fill the pdfblock with data.
|
static boolean |
pdf_fill_stroke(PDF pdf)
Fill and stroke the path.
|
static boolean |
pdf_fill_textblock(Env env,
PDF pdf,
int page,
java.lang.String block,
java.lang.String text,
java.lang.String optlist)
Fill the text with data.
|
static boolean |
pdf_fill(PDF pdf)
Fill the path.
|
static boolean |
pdf_findfont(Env env,
PDF pdf,
java.lang.String fontname,
java.lang.String encoding,
int embed)
Loads a font.
|
static boolean |
pdf_fit_image(PDF pdf,
PDFImage image,
double x,
double y,
java.lang.String optlist)
Place an image
|
static boolean |
pdf_fit_pdi_page(Env env,
PDF pdf,
int page,
double x,
double y,
java.lang.String optlist)
Place an embedded pdf
|
static boolean |
pdf_fit_textflow(Env env,
PDF pdf,
int textflow,
double llx,
double lly,
double urx,
double ury,
java.lang.String optlist)
Place a textflow object
|
static boolean |
pdf_fit_textline(Env env,
PDF pdf,
java.lang.String text,
double x,
double y,
java.lang.String optlist)
Place a line of text.
|
static java.lang.String |
pdf_get_apiname(Env env,
PDF pdf)
Returns the name of the last failing function.
|
static Value |
pdf_get_buffer(Env env,
PDF pdf)
Returns the buffer with the data.
|
static java.lang.String |
pdf_get_errmsg(PDF pdf)
Returns the last error message
|
static int |
pdf_get_errnum(PDF pdf)
Returns the last error number
|
static double |
pdf_get_image_height(PDFImage image)
Returns the height of an image.
|
static double |
pdf_get_image_width(PDFImage image)
Returns the width of an image.
|
static java.lang.String |
pdf_get_parameter(PDF pdf,
java.lang.String key,
double modifier)
Returns the named parameter.
|
static java.lang.String |
pdf_get_pdi_parameter(Env env,
PDF pdf,
java.lang.String key,
int doc,
int page,
int reserved)
Returns the named pdi parameter.
|
static double |
pdf_get_pdi_value(Env env,
PDF pdf,
java.lang.String key,
int doc,
int page,
int reserved)
Returns the named pdi value.
|
static double |
pdf_get_value(PDF pdf,
java.lang.String key,
double modifier)
Returns the named parameter.
|
static double |
pdf_info_textflow(Env env,
PDF pdf,
int textflow,
java.lang.String key)
Returns the textflow state
|
static boolean |
pdf_initgraphics(Env env,
PDF pdf)
Resets the graphic state
|
static boolean |
pdf_lineto(PDF pdf,
double x,
double y)
Draw a line from the current position.
|
static PDFFont |
pdf_load_font(PDF pdf,
java.lang.String fontname,
java.lang.String encoding,
java.lang.String optlist)
Search for a font.
|
static boolean |
pdf_load_iccprofile(Env env,
PDF pdf,
java.lang.String profileName,
java.lang.String optlist)
Search for an icc profile
|
static PDFImage |
pdf_load_image(PDF pdf,
java.lang.String imageType,
Path path,
java.lang.String optlist)
Loads an image
|
static boolean |
pdf_makespotcolor(Env env,
PDF pdf,
java.lang.String spotname)
Finds a spot color
|
static boolean |
pdf_moveto(PDF pdf,
double x,
double y)
Sets the current graphics point.
|
static PDF |
pdf_new(Env env)
Creates a new PDF object.
|
static boolean |
pdf_open_file(PDF pdf,
java.lang.String filename)
Opens a file.
|
static boolean |
pdf_open_image_data(Env env,
PDF pdf,
java.lang.String imagetype,
java.lang.String source,
java.lang.String data,
long length,
long width,
long height,
int components,
int bpc,
java.lang.String params)
Opens an image.
|
static PDFImage |
pdf_open_image_file(PDF pdf,
java.lang.String imagetype,
Path filename,
java.lang.String stringparam,
int intparam)
Opens an image.
|
static boolean |
pdf_open_pdi_page(Env env,
PDF pdf,
int doc,
int pagenumber,
java.lang.String optlist)
Opens an embedded page.
|
static boolean |
pdf_open_pdi(Env env,
PDF pdf,
java.lang.String filename,
java.lang.String optlist)
Opens an embedded document
|
static boolean |
pdf_place_image(PDF pdf,
PDFImage image,
double x,
double y,
double scale)
Place an image.
|
static boolean |
pdf_place_pdi_page(Env env,
PDF pdf,
int page,
double x,
double y,
double scaleX,
double scaleY)
Place an embedded page.
|
static boolean |
pdf_process_pdi(Env env,
PDF pdf,
int doc,
int page,
java.lang.String optlist)
Process an imported PDF document.
|
static boolean |
pdf_rect(PDF pdf,
double x,
double y,
double width,
double height)
Creates a rectangle
|
static boolean |
pdf_restore(PDF pdf)
Restores the graphics state.
|
static boolean |
pdf_rotate(PDF pdf,
double phi)
Rotate the coordinates.
|
static boolean |
pdf_save(PDF pdf)
Save the graphics state.
|
static boolean |
pdf_scale(PDF pdf,
double scaleX,
double scaleY)
Scale the coordinates.
|
static boolean |
pdf_set_border_color(Env env,
PDF pdf,
double red,
double green,
double blue)
Sets an annotation border color.
|
static boolean |
pdf_set_border_dash(Env env,
PDF pdf,
double black,
double white)
Sets an annotation border dash
|
static boolean |
pdf_set_border_style(Env env,
PDF pdf,
java.lang.String style,
double width)
Sets an annotation border style
|
static boolean |
pdf_set_gstate(Env env,
PDF pdf,
int gstate)
Activate a graphics state.
|
static boolean |
pdf_set_info(PDF pdf,
java.lang.String key,
java.lang.String value)
Sets document info.
|
static boolean |
pdf_set_layer_dependency(Env env,
PDF pdf,
java.lang.String type,
java.lang.String optlist)
Define a relationship between layers.
|
static boolean |
pdf_set_parameter(PDF pdf,
java.lang.String key,
java.lang.String value)
Sets a string parameter.
|
static boolean |
pdf_set_text_pos(PDF pdf,
double x,
double y)
Sets the text position
|
static boolean |
pdf_set_value(PDF pdf,
java.lang.String key,
double value)
Sets a double parameter.
|
static boolean |
pdf_setcolor(PDF pdf,
java.lang.String type,
java.lang.String colorspace,
double c1,
double c2,
double c3,
double c4)
Sets the colorspace and color
|
static boolean |
pdf_setdash(PDF pdf,
double black,
double white)
Sets the dashing
|
static boolean |
pdf_setdashpattern(Env env,
PDF pdf,
java.lang.String optlist)
Sets the dash pattern
|
static boolean |
pdf_setflat(Env env,
PDF pdf,
double flatness)
Sets the flatness
|
static boolean |
pdf_setfont(PDF pdf,
PDFFont font,
double size)
Sets the font size
|
static boolean |
pdf_setgray_fill(PDF pdf,
double g)
Sets the fill color to gray
|
static boolean |
pdf_setgray_stroke(PDF pdf,
double g)
Sets the stroke color to gray
|
static boolean |
pdf_setgray(PDF pdf,
double g)
Sets the color to gray
|
static boolean |
pdf_setlinecap(Env env,
PDF pdf,
int value)
Sets the linecap param
|
static boolean |
pdf_setlinejoin(Env env,
PDF pdf,
int value)
Sets the linejoin param
|
static boolean |
pdf_setlinewidth(PDF pdf,
double width)
Sets the line width
|
static boolean |
pdf_setmatrix(Env env,
PDF pdf,
double a,
double b,
double c,
double d,
double e,
double f)
Sets the current transformation matrix
|
static boolean |
pdf_setmiterlimit(Env env,
PDF pdf,
double value)
Sets the line miter limit.
|
static boolean |
pdf_setrgbcolor_fill(PDF pdf,
double red,
double green,
double blue)
Sets the fill in rgb
|
static boolean |
pdf_setrgbcolor_stroke(PDF pdf,
double red,
double green,
double blue)
Sets the stroke in rgb
|
static boolean |
pdf_setrgbcolor(PDF pdf,
double red,
double green,
double blue)
Sets the color in rgb
|
static boolean |
pdf_shading_pattern(Env env,
PDF pdf,
int shading,
java.lang.String optlist)
Sets the shading pattern
|
static int |
pdf_shading(Env env,
PDF pdf,
java.lang.String type,
double x1,
double y1,
double x2,
double y2,
double c1,
double c2,
double c3,
double c4,
java.lang.String optlist)
Define a blend
|
static boolean |
pdf_shfill(Env env,
PDF pdf,
int shading)
Fill with a shading object.
|
static boolean |
pdf_show_boxed(Env env,
PDF pdf,
java.lang.String text,
double x,
double y,
double width,
double height,
java.lang.String mode,
java.lang.String feature)
Output text in a box.
|
static boolean |
pdf_show_xy(Env env,
PDF pdf,
java.lang.String text,
double x,
double y)
Output text at a location
|
static boolean |
pdf_show(Env env,
PDF pdf,
java.lang.String text)
Output text at the current
|
static boolean |
pdf_skew(PDF pdf,
double alpha,
double beta)
Skew the coordinate system.
|
static double |
pdf_stringwidth(PDF pdf,
java.lang.String text,
PDFFont font,
double size)
Returns the width of text in the font.
|
static boolean |
pdf_stroke(PDF pdf)
Strokes the path
|
static boolean |
pdf_suspend_page(Env env,
PDF pdf,
java.lang.String optlist)
Suspend the page.
|
static boolean |
pdf_translate(PDF pdf,
double x,
double y)
Sets the coordinate system origin.
|
static java.lang.String |
pdf_utf16_to_utf8(Env env,
PDF pdf,
java.lang.String utf16string)
Convert from utf16 to utf8
|
static java.lang.String |
pdf_utf8_to_utf16(Env env,
PDF pdf,
java.lang.String utf8string)
Convert from utf8 to utf16
|
addConstant, addConstant, addConstant, getConstMap, getIniDefinitions
public java.lang.String[] getLoadedExtensions()
getLoadedExtensions
in interface QuercusModule
getLoadedExtensions
in class AbstractQuercusModule
public static boolean pdf_activate_item(Env env, PDF pdf, int id)
public static boolean pdf_add_bookmark(Env env, PDF pdf)
public static boolean pdf_add_launchlink(Env env, PDF pdf, double llx, double lly, double urx, double ury, java.lang.String filename)
public static boolean pdf_add_locallink(Env env, PDF pdf, double llx, double lly, double urx, double ury, int page, java.lang.String dest)
public static boolean pdf_add_nameddest(Env env, PDF pdf, java.lang.String name, java.lang.String optlist)
public static boolean pdf_add_note(Env env, PDF pdf, double llx, double lly, double urx, double ury, java.lang.String contents, java.lang.String title, java.lang.String icon, int open)
public static boolean pdf_add_outline(Env env, PDF pdf, java.lang.String name, java.lang.String optlist)
public static boolean pdf_add_pdflink(Env env, PDF pdf, double llx, double lly, double urx, double ury, java.lang.String filename, int page, java.lang.String dest)
public static boolean pdf_add_thumbnail(Env env, PDF pdf, PDFImage image)
public static boolean pdf_add_weblink(Env env, PDF pdf, double llx, double lly, double urx, double ury, java.lang.String url)
public static boolean pdf_arc(PDF pdf, double x1, double y1, double r, double a, double b)
public static boolean pdf_arcn(PDF pdf, double x1, double y1, double r, double a, double b)
public static boolean pdf_attach_file(Env env, PDF pdf, double llx, double lly, double urx, double ury, java.lang.String filename, java.lang.String description, java.lang.String author, java.lang.String mimetype, java.lang.String icon)
public static boolean pdf_begin_document(PDF pdf, java.lang.String fileName, java.lang.String optList)
public static boolean pdf_begin_font(Env env, PDF pdf, java.lang.String fileName, double a, double b, double c, double d, double e, double f, java.lang.String optList)
public static boolean pdf_begin_glyph(Env env, PDF pdf, java.lang.String glyphname, double wx, double llx, double lly, double urx, double ury)
public static boolean pdf_begin_item(Env env, PDF pdf, java.lang.String tag, java.lang.String optlist)
public static boolean pdf_begin_layer(Env env, PDF pdf, int layer)
public static boolean pdf_begin_page_ext(PDF pdf, double w, double h, java.lang.String optlist)
public static boolean pdf_begin_page(PDF pdf, double w, double h)
public static boolean pdf_begin_pattern(Env env, PDF pdf, double w, double h, double xStep, double yStep, int paintType)
public static boolean pdf_begin_template(Env env, PDF pdf, double w, double h)
public static boolean pdf_circle(PDF pdf, double x, double y, double r)
public static boolean pdf_clip(PDF pdf)
public static boolean pdf_close_image(Env env, PDF pdf, PDFImage image)
public static boolean pdf_close_pdi_page(Env env, PDF pdf, int page)
public static boolean pdf_close(PDF pdf)
public static boolean pdf_closepath_fill_stroke(PDF pdf)
public static boolean pdf_closepath_stroke(PDF pdf)
public static boolean pdf_closepath(PDF pdf)
public static boolean pdf_concat(PDF pdf, double a, double b, double c, double d, double e, double f)
public static boolean pdf_continue_text(PDF pdf, java.lang.String text)
public static boolean pdf_create_action(Env env, PDF pdf, java.lang.String type, java.lang.String optList)
public static boolean pdf_create_annotation(Env env, PDF pdf, double llx, double lly, double urx, double ury, java.lang.String type, java.lang.String optList)
public static boolean pdf_create_bookmark(Env env, PDF pdf, java.lang.String text, java.lang.String optList)
public static boolean pdf_create_field(Env env, PDF pdf, double llx, double lly, double urx, double ury, java.lang.String name, java.lang.String type, java.lang.String optList)
public static boolean pdf_create_fieldgroup(Env env, PDF pdf, java.lang.String name, java.lang.String optList)
public static boolean pdf_create_gstate(Env env, PDF pdf, java.lang.String optList)
public static boolean pdf_create_pvf(Env env, PDF pdf, java.lang.String filename, java.lang.String data, java.lang.String optList)
public static boolean pdf_create_textflow(Env env, PDF pdf, java.lang.String text, java.lang.String optList)
public static boolean pdf_curveto(PDF pdf, double x1, double y1, double x2, double y2, double x3, double y3)
public static boolean pdf_define_layer(Env env, PDF pdf, java.lang.String name, java.lang.String optList)
public static boolean pdf_delete_pvf(Env env, PDF pdf, java.lang.String name)
public static boolean pdf_delete_textflow(Env env, PDF pdf, int textflow)
public static boolean pdf_delete(PDF pdf)
public static boolean pdf_encoding_set_char(Env env, PDF pdf, java.lang.String encoding, int slow, java.lang.String glyphname, int uv)
public static boolean pdf_end_document(PDF pdf, java.lang.String optlist)
public static boolean pdf_end_item(Env env, PDF pdf, int id)
public static boolean pdf_end_page_ext(PDF pdf, java.lang.String optlist)
public static boolean pdf_end_page(PDF pdf)
public static boolean pdf_end_path(PDF pdf)
public static boolean pdf_fill_imageblock(Env env, PDF pdf, int page, java.lang.String blockname, int image, java.lang.String optlist)
public static boolean pdf_fill_pdfblock(Env env, PDF pdf, int page, java.lang.String blockname, int contents, java.lang.String optlist)
public static boolean pdf_fill_stroke(PDF pdf)
public static boolean pdf_fill_textblock(Env env, PDF pdf, int page, java.lang.String block, java.lang.String text, java.lang.String optlist)
public static boolean pdf_fill(PDF pdf)
public static boolean pdf_findfont(Env env, PDF pdf, java.lang.String fontname, java.lang.String encoding, int embed)
public static boolean pdf_fit_image(PDF pdf, PDFImage image, double x, double y, java.lang.String optlist)
public static boolean pdf_fit_pdi_page(Env env, PDF pdf, int page, double x, double y, java.lang.String optlist)
public static boolean pdf_fit_textflow(Env env, PDF pdf, int textflow, double llx, double lly, double urx, double ury, java.lang.String optlist)
public static boolean pdf_fit_textline(Env env, PDF pdf, java.lang.String text, double x, double y, java.lang.String optlist)
public static java.lang.String pdf_get_apiname(Env env, PDF pdf)
public static Value pdf_get_buffer(Env env, PDF pdf)
public static java.lang.String pdf_get_errmsg(PDF pdf)
public static int pdf_get_errnum(PDF pdf)
public static double pdf_get_image_height(PDFImage image)
public static double pdf_get_image_width(PDFImage image)
public static java.lang.String pdf_get_parameter(PDF pdf, java.lang.String key, double modifier)
public static java.lang.String pdf_get_pdi_parameter(Env env, PDF pdf, java.lang.String key, int doc, int page, int reserved)
public static double pdf_get_pdi_value(Env env, PDF pdf, java.lang.String key, int doc, int page, int reserved)
public static double pdf_get_value(PDF pdf, java.lang.String key, double modifier)
public static double pdf_info_textflow(Env env, PDF pdf, int textflow, java.lang.String key)
public static boolean pdf_lineto(PDF pdf, double x, double y)
public static PDFFont pdf_load_font(PDF pdf, java.lang.String fontname, java.lang.String encoding, java.lang.String optlist)
public static boolean pdf_load_iccprofile(Env env, PDF pdf, java.lang.String profileName, java.lang.String optlist)
public static PDFImage pdf_load_image(PDF pdf, java.lang.String imageType, Path path, java.lang.String optlist)
public static boolean pdf_makespotcolor(Env env, PDF pdf, java.lang.String spotname)
public static boolean pdf_moveto(PDF pdf, double x, double y)
public static boolean pdf_open_file(PDF pdf, java.lang.String filename)
public static PDFImage pdf_open_image_file(PDF pdf, java.lang.String imagetype, Path filename, java.lang.String stringparam, int intparam)
public static boolean pdf_open_image_data(Env env, PDF pdf, java.lang.String imagetype, java.lang.String source, java.lang.String data, long length, long width, long height, int components, int bpc, java.lang.String params)
public static boolean pdf_open_pdi_page(Env env, PDF pdf, int doc, int pagenumber, java.lang.String optlist)
public static boolean pdf_open_pdi(Env env, PDF pdf, java.lang.String filename, java.lang.String optlist)
public static boolean pdf_place_image(PDF pdf, PDFImage image, double x, double y, double scale)
public static boolean pdf_place_pdi_page(Env env, PDF pdf, int page, double x, double y, double scaleX, double scaleY)
public static boolean pdf_process_pdi(Env env, PDF pdf, int doc, int page, java.lang.String optlist)
public static boolean pdf_rect(PDF pdf, double x, double y, double width, double height)
public static boolean pdf_restore(PDF pdf)
public static boolean pdf_rotate(PDF pdf, double phi)
public static boolean pdf_save(PDF pdf)
public static boolean pdf_scale(PDF pdf, double scaleX, double scaleY)
public static boolean pdf_set_border_color(Env env, PDF pdf, double red, double green, double blue)
public static boolean pdf_set_border_dash(Env env, PDF pdf, double black, double white)
public static boolean pdf_set_border_style(Env env, PDF pdf, java.lang.String style, double width)
public static boolean pdf_set_gstate(Env env, PDF pdf, int gstate)
public static boolean pdf_set_info(PDF pdf, java.lang.String key, java.lang.String value)
public static boolean pdf_set_layer_dependency(Env env, PDF pdf, java.lang.String type, java.lang.String optlist)
public static boolean pdf_set_parameter(PDF pdf, java.lang.String key, java.lang.String value)
public static boolean pdf_set_text_pos(PDF pdf, double x, double y)
public static boolean pdf_set_value(PDF pdf, java.lang.String key, double value)
public static boolean pdf_setcolor(PDF pdf, java.lang.String type, java.lang.String colorspace, double c1, double c2, double c3, double c4)
public static boolean pdf_setdash(PDF pdf, double black, double white)
public static boolean pdf_setdashpattern(Env env, PDF pdf, java.lang.String optlist)
public static boolean pdf_setfont(PDF pdf, PDFFont font, double size)
public static boolean pdf_setgray_fill(PDF pdf, double g)
public static boolean pdf_setgray_stroke(PDF pdf, double g)
public static boolean pdf_setgray(PDF pdf, double g)
public static boolean pdf_setlinecap(Env env, PDF pdf, int value)
public static boolean pdf_setlinejoin(Env env, PDF pdf, int value)
public static boolean pdf_setlinewidth(PDF pdf, double width)
public static boolean pdf_setmatrix(Env env, PDF pdf, double a, double b, double c, double d, double e, double f)
public static boolean pdf_setmiterlimit(Env env, PDF pdf, double value)
public static boolean pdf_setrgbcolor_fill(PDF pdf, double red, double green, double blue)
public static boolean pdf_setrgbcolor_stroke(PDF pdf, double red, double green, double blue)
public static boolean pdf_setrgbcolor(PDF pdf, double red, double green, double blue)
public static boolean pdf_shading_pattern(Env env, PDF pdf, int shading, java.lang.String optlist)
public static int pdf_shading(Env env, PDF pdf, java.lang.String type, double x1, double y1, double x2, double y2, double c1, double c2, double c3, double c4, java.lang.String optlist)
public static boolean pdf_shfill(Env env, PDF pdf, int shading)
public static boolean pdf_show_boxed(Env env, PDF pdf, java.lang.String text, double x, double y, double width, double height, java.lang.String mode, java.lang.String feature)
public static boolean pdf_show_xy(Env env, PDF pdf, java.lang.String text, double x, double y)
public static boolean pdf_show(Env env, PDF pdf, java.lang.String text)
public static boolean pdf_skew(PDF pdf, double alpha, double beta)
public static double pdf_stringwidth(PDF pdf, java.lang.String text, PDFFont font, double size)
public static boolean pdf_stroke(PDF pdf)
public static boolean pdf_suspend_page(Env env, PDF pdf, java.lang.String optlist)
public static boolean pdf_translate(PDF pdf, double x, double y)
public static java.lang.String pdf_utf16_to_utf8(Env env, PDF pdf, java.lang.String utf16string)