|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.pdflib.pdflib
PDFlib -- a library for generating PDF on the fly. Note that this is only a syntax summary. It covers several products: PDFlib, PDFlib+PDI, and PDFlib Personalization Server (PPS). Some methods will work only if a suitable license key for the product class has been provided. A comparison which details function availability in different products is available at http://www.pdflib.com. For complete information please refer to the PDFlib API reference manual which is available as PDF file in the "doc" directory of the PDFlib distribution.
Constructor Summary | |
pdflib()
Create a new PDFlib object. |
Method Summary | |
void |
activate_item(int id)
Activate a previously created structure element or other content item. |
int |
add_bookmark(java.lang.String text,
int parent,
int open)
Deprecated. Use PDF_create_bookmark(). |
void |
add_launchlink(double llx,
double lly,
double urx,
double ury,
java.lang.String filename)
Deprecated. Use PDF_create_action() and PDF_create_annotation(). |
void |
add_locallink(double llx,
double lly,
double urx,
double ury,
int page,
java.lang.String optlist)
Deprecated. Use PDF_create_action() and PDF_create_annotation(). |
void |
add_nameddest(java.lang.String name,
java.lang.String optlist)
Create a named destination on a page in the document. |
void |
add_note(double llx,
double lly,
double urx,
double ury,
java.lang.String contents,
java.lang.String title,
java.lang.String icon,
int open)
Deprecated. Use PDF_create_annotation(). |
int |
add_path_point(int path,
double x,
double y,
java.lang.String type,
java.lang.String optlist)
Add a point to a new or existing path object |
void |
add_pdflink(double llx,
double lly,
double urx,
double ury,
java.lang.String filename,
int page,
java.lang.String optlist)
Deprecated. Use PDF_create_action() and PDF_create_annotation(). |
int |
add_portfolio_file(int folder,
java.lang.String filename,
java.lang.String optlist)
Add a file to a portfolio folder or a package (requires PDF 1.7). |
int |
add_portfolio_folder(int parent,
java.lang.String filename,
java.lang.String optlist)
Add a folder to a new or existing portfolio (requires PDF 1.7ext3). |
int |
add_table_cell(int table,
int column,
int row,
java.lang.String text,
java.lang.String optlist)
Add a cell to a new or existing table. |
int |
add_textflow(int textflow,
java.lang.String text,
java.lang.String optlist)
Create a Textflow object, or add text and explicit options to an existing Textflow. |
void |
add_thumbnail(int image)
Deprecated. Is obsolete as Acrobat generates thumbnails on the fly since a long time. Add an existing image as thumbnail for the current page. |
void |
add_weblink(double llx,
double lly,
double urx,
double ury,
java.lang.String url)
Deprecated. Use PDF_create_action() and PDF_create_annotation(). |
void |
align(double dx,
double dy)
Align the coordinate system with a relative vector. |
void |
arc(double x,
double y,
double r,
double alpha,
double beta)
Draw a counterclockwise circular arc segment. |
void |
arcn(double x,
double y,
double r,
double alpha,
double beta)
Draw a clockwise circular arc segment. |
void |
attach_file(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)
Deprecated. Use PDF_create_annotation(). |
int |
begin_document(java.lang.String filename,
java.lang.String optlist)
Create a new PDF file subject to various options. |
void |
begin_dpart(java.lang.String optlist)
Create a new node in the document part hierarchy (requires PDF/VT or PDF 2.0 |
void |
begin_font(java.lang.String name,
double a,
double b,
double c,
double d,
double e,
double f,
java.lang.String optlist)
Start a Type 3 font definition. |
void |
begin_glyph_ext(int uv,
java.lang.String optlist)
Start a glyph definition for a Type 3 font. |
void |
begin_glyph(java.lang.String glyphname,
double wx,
double llx,
double lly,
double urx,
double ury)
Deprecated. Use PDF_begin_glyph_ext(). |
int |
begin_item(java.lang.String tagname,
java.lang.String optlist)
Open a structure element or other content item with attributes supplied as options. |
void |
begin_layer(int layer)
Start a layer for subsequent output on the page (requires PDF 1.5). |
void |
begin_mc(java.lang.String tagname,
java.lang.String optlist)
Begin a marked content sequence with optional properties. |
void |
begin_page_ext(double width,
double height,
java.lang.String optlist)
Add a new page to the document, and specify various options. |
void |
begin_page(double width,
double height)
Deprecated. Use PDF_begin_page_ext(). |
int |
begin_pattern_ext(double width,
double height,
java.lang.String optlist)
Start a pattern definition with options. |
int |
begin_pattern(double width,
double height,
double xstep,
double ystep,
int painttype)
Deprecated. Use PDF_begin_pattern_ext(). |
int |
begin_template_ext(double width,
double height,
java.lang.String optlist)
Start a template definition. |
int |
begin_template(double width,
double height)
Deprecated. Use PDF_begin_template_ext(). |
void |
circle(double x,
double y,
double r)
Draw a circle. |
void |
circular_arc(double x_1,
double y_1,
double x_2,
double y_2)
Draw a circular arc segment defined by three points. |
void |
clip()
Use the current path as clipping path, and terminate the path. |
void |
close_font(int font)
Close an open font handle which has not yet been used in the document. |
void |
close_graphics(int graphics)
Close vector graphics. |
void |
close_image(int image)
Close an image or template. |
void |
close_pdi_document(int doc)
Close all open PDI page handles, and close the input PDF document. |
void |
close_pdi_page(int page)
Close the page handle, and free all page-related resources. |
void |
close_pdi(int doc)
Deprecated. Use PDF_close_pdi_document(). |
void |
close()
Deprecated. Use PDF_end_document(). |
void |
closepath_fill_stroke()
Close the path, fill, and stroke it. |
void |
closepath_stroke()
Close the path, and stroke it. |
void |
closepath()
Close the current path. |
void |
concat(double a,
double b,
double c,
double d,
double e,
double f)
Apply a transformation matrix to the current coordinate system. |
void |
continue_text(java.lang.String text)
Print text at the next line. |
java.lang.String |
convert_to_unicode(java.lang.String inputformat,
byte[] input,
java.lang.String optlist)
Convert a string in an arbitrary encoding to a Unicode string in various formats. |
int |
create_3dview(java.lang.String username,
java.lang.String optlist)
Create a 3D view (requires PDF 1.6). |
int |
create_action(java.lang.String type,
java.lang.String optlist)
Create an action which can be applied to various objects and events. |
void |
create_annotation(double llx,
double lly,
double urx,
double ury,
java.lang.String type,
java.lang.String optlist)
Create an annotation on the current page. |
int |
create_bookmark(java.lang.String text,
java.lang.String optlist)
Create a bookmark subject to various options. |
void |
create_field(double llx,
double lly,
double urx,
double ury,
java.lang.String name,
java.lang.String type,
java.lang.String optlist)
Create a form field on the current page subject to various options. |
void |
create_fieldgroup(java.lang.String name,
java.lang.String optlist)
Create a form field group subject to various options. |
int |
create_gstate(java.lang.String optlist)
Create a graphics state object subject to various options. |
void |
create_pvf(java.lang.String filename,
byte[] data,
java.lang.String optlist)
Create a named virtual read-only file from data provided in memory. |
int |
create_textflow(java.lang.String text,
java.lang.String optlist)
Create a Textflow object from text contents, inline options, and explicit options. |
void |
curveto(double x1,
double y1,
double x2,
double y2,
double x3,
double y3)
Draw a Bezier curve from the current point, using 3 more control points. |
int |
define_layer(java.lang.String name,
java.lang.String optlist)
Create a new layer definition (requires PDF 1.5). |
void |
delete_path(int path)
Delete a path object. |
int |
delete_pvf(java.lang.String filename)
Delete a named virtual file and free its data structures (but not the contents). |
void |
delete_table(int table,
java.lang.String optlist)
Delete a table and all associated data structures. |
void |
delete_textflow(int textflow)
Delete a Textflow and all associated data structures. |
void |
delete()
Delete a PDFlib object and free all internal resources. |
void |
draw_path(int path,
double x,
double y,
java.lang.String optlist)
Draw a path object. |
void |
ellipse(double x,
double y,
double rx,
double ry)
Draw an ellipse. |
void |
elliptical_arc(double x,
double y,
double rx,
double ry,
java.lang.String optlist)
Draw an elliptical arc segment from the current point. |
void |
encoding_set_char(java.lang.String encoding,
int slot,
java.lang.String glyphname,
int uv)
Add a glyph name and/or Unicode value to a custom 8-bit encoding. |
void |
end_document(java.lang.String optlist)
Close the generated PDF document and apply various options. |
void |
end_dpart(java.lang.String optlist)
Close a node in the document part hierarchy (requires PDF/VT or PDF 2.0). |
void |
end_font()
Terminate a Type 3 font definition. |
void |
end_glyph()
Terminate a glyph definition for a Type 3 font. |
void |
end_item(int id)
Close a structure element or other content item. |
void |
end_layer()
Deactivate all active layers (requires PDF 1.5). |
void |
end_mc()
End the least recently opened marked content sequence. |
void |
end_page_ext(java.lang.String optlist)
Finish a page, and apply various options. |
void |
end_page()
Deprecated. Use PDF_end_page_ext(). |
void |
end_pattern()
Finish a pattern definition. |
void |
end_template_ext(double width,
double height)
Finish a template definition. |
void |
end_template()
Deprecated. use PDF_end_template_ext(). |
void |
endpath()
End the current path without filling or stroking it. |
int |
fill_graphicsblock(int page,
java.lang.String blockname,
int graphics,
java.lang.String optlist)
Fill a graphics block with variable data according to its properties. |
int |
fill_imageblock(int page,
java.lang.String blockname,
int image,
java.lang.String optlist)
Fill an image block with variable data according to its properties. |
int |
fill_pdfblock(int page,
java.lang.String blockname,
int contents,
java.lang.String optlist)
Fill a PDF block with variable data according to its properties. |
void |
fill_stroke()
Fill and stroke the path with the current fill and stroke color. |
int |
fill_textblock(int page,
java.lang.String blockname,
java.lang.String text,
java.lang.String optlist)
Fill a Textline or Textflow Block with variable data according to its properties. |
void |
fill()
Fill the interior of the path with the current fill color. |
int |
findfont(java.lang.String fontname,
java.lang.String encoding,
int options)
Deprecated. Use PDF_load_font(). |
void |
fit_graphics(int graphics,
double x,
double y,
java.lang.String optlist)
Place vector graphics on a content stream, subject to various options. |
void |
fit_image(int image,
double x,
double y,
java.lang.String optlist)
Place an image or template on the page, subject to various options. |
void |
fit_pdi_page(int page,
double x,
double y,
java.lang.String optlist)
Place an imported PDF page on the page subject to various options. |
java.lang.String |
fit_table(int table,
double llx,
double lly,
double urx,
double ury,
java.lang.String optlist)
Fully or partially place a table on the page. |
java.lang.String |
fit_textflow(int textflow,
double llx,
double lly,
double urx,
double ury,
java.lang.String optlist)
Format the next portion of a Textflow. |
void |
fit_textline(java.lang.String text,
double x,
double y,
java.lang.String optlist)
Place a single line of text at position (x, y) subject to various options. |
java.lang.String |
get_apiname()
Get the name of the API function which threw the last exception or failed. |
byte[] |
get_buffer()
Get the contents of the PDF output buffer. |
java.lang.String |
get_errmsg()
Get the text of the last thrown exception or the reason of a failed function call. |
int |
get_errnum()
Get the number of the last thrown exception or the reason of a failed function call. |
double |
get_option(java.lang.String keyword,
java.lang.String optlist)
Retrieve some option or other value. |
java.lang.String |
get_parameter(java.lang.String key,
double modifier)
Deprecated. Use PDF_get_option() and PDF_get_string(). |
java.lang.String |
get_pdi_parameter(java.lang.String key,
int doc,
int page,
int reserved)
Deprecated. Use PDF_pcos_get_string(). |
double |
get_pdi_value(java.lang.String key,
int doc,
int page,
int reserved)
Deprecated. Use PDF_pcos_get_number(). |
java.lang.String |
get_string(int idx,
java.lang.String optlist)
Retrieve a string value. |
double |
get_value(java.lang.String key,
double modifier)
Deprecated. Use PDF_get_option(). |
double |
info_font(int font,
java.lang.String keyword,
java.lang.String optlist)
Query detailed information about a loaded font. |
double |
info_graphics(int graphics,
java.lang.String keyword,
java.lang.String optlist)
Format vector graphics and query metrics and other properties. |
double |
info_image(int image,
java.lang.String keyword,
java.lang.String optlist)
Format an image and query metrics and other image properties. |
double |
info_matchbox(java.lang.String boxname,
int num,
java.lang.String keyword)
Query information about a matchbox on the current page. |
double |
info_path(int path,
java.lang.String keyword,
java.lang.String optlist)
Query the results of drawing a path object without actually drawing it. |
double |
info_pdi_page(int page,
java.lang.String keyword,
java.lang.String optlist)
Perform formatting calculations for a PDI page and query the resulting metrics. |
double |
info_pvf(java.lang.String filename,
java.lang.String keyword)
Query properties of a virtual file or the PDFlib Virtual Filesystem (PVF) |
double |
info_table(int table,
java.lang.String keyword)
Query table information related to the most recently placed table instance. |
double |
info_textflow(int textflow,
java.lang.String keyword)
Query the current state of a Textflow. |
double |
info_textline(java.lang.String text,
java.lang.String keyword,
java.lang.String optlist)
Perform textline formatting without creating output and query the resulting metrics. |
void |
initgraphics()
Deprecated. Deprecated, use PDF_set_graphics_option(). |
void |
lineto(double x,
double y)
Draw a line from the current point to another point. |
int |
load_3ddata(java.lang.String filename,
java.lang.String optlist)
Load a 3D model from a disk-based or virtual file (requires PDF 1.6). |
int |
load_asset(java.lang.String type,
java.lang.String filename,
java.lang.String optlist)
Load a rich media asset or file attachment from a disk-based or virtual file |
int |
load_font(java.lang.String fontname,
java.lang.String encoding,
java.lang.String optlist)
Search for a font and prepare it for later use. |
int |
load_graphics(java.lang.String type,
java.lang.String filename,
java.lang.String optlist)
Open a disk-based or virtual vector graphics file subject to various options. |
int |
load_iccprofile(java.lang.String profilename,
java.lang.String optlist)
Search for an ICC profile, and prepare it for later use. |
int |
load_image(java.lang.String imagetype,
java.lang.String filename,
java.lang.String optlist)
Open a disk-based or virtual image file subject to various options. |
int |
makespotcolor(java.lang.String spotname)
Find a built-in spot color name, or make a named spot color from the current fill color. |
void |
mc_point(java.lang.String tagname,
java.lang.String optlist)
Add a marked content point with optional properties. |
void |
moveto(double x,
double y)
Set the current point for graphics output. |
int |
open_CCITT(java.lang.String filename,
int width,
int height,
int BitReverse,
int K,
int BlackIs1)
Deprecated. Use PDF_load_image(). |
int |
open_file(java.lang.String filename)
Deprecated. Use PDF_begin_document(). |
int |
open_image_file(java.lang.String imagetype,
java.lang.String filename,
java.lang.String stringparam,
int intparam)
Deprecated. Use PDF_load_image(). |
int |
open_image(java.lang.String imagetype,
java.lang.String source,
byte[] data,
long length,
int width,
int height,
int components,
int bpc,
java.lang.String params)
Deprecated. Use PDF_load_image() with virtual files. |
int |
open_pdi_document(java.lang.String filename,
java.lang.String optlist)
Open a disk-based or virtual PDF document and prepare it for later use. |
int |
open_pdi_page(int doc,
int pagenumber,
java.lang.String optlist)
Prepare a page for later use with PDF_fit_pdi_page(). |
int |
open_pdi(java.lang.String filename,
java.lang.String optlist,
int reserved)
Deprecated. Use PDF_open_pdi_document(). |
double |
pcos_get_number(int doc,
java.lang.String path)
Get the value of a pCOS path with type number or boolean. |
byte[] |
pcos_get_stream(int doc,
java.lang.String optlist,
java.lang.String path)
Get the contents of a pCOS path with type stream, fstream, or string. |
java.lang.String |
pcos_get_string(int doc,
java.lang.String path)
Get the value of a pCOS path with type name, string or boolean. |
void |
place_image(int image,
double x,
double y,
double scale)
Deprecated. Use PDF_fit_image(). |
void |
place_pdi_page(int page,
double x,
double y,
double sx,
double sy)
Deprecated. Use PDF_fit_pdi_page(). |
void |
poca_delete(int container,
java.lang.String optlist)
Delete a PDF container object. |
void |
poca_insert(int container,
java.lang.String optlist)
Insert a simple or container object in a PDF container object. |
int |
poca_new(java.lang.String optlist)
Create a new PDF container object of type dictionary, array, or stream and insert objects. |
void |
poca_remove(int container,
java.lang.String optlist)
Remove a simple or container object from a PDF container object. |
int |
process_pdi(int doc,
int page,
java.lang.String optlist)
Process certain elements of an imported PDF document. |
void |
rect(double x,
double y,
double width,
double height)
Draw a rectangle. |
void |
restore()
Restore the most recently saved graphics state from the stack. |
void |
resume_page(java.lang.String optlist)
Resume a page to add more content to it. |
void |
rotate(double phi)
Rotate the coordinate system. |
void |
save()
Save the current graphics state to a stack. |
void |
scale(double sx,
double sy)
Scale the coordinate system. |
void |
set_border_color(double red,
double green,
double blue)
Deprecated. Use PDF_create_annotation(). |
void |
set_border_dash(double b,
double w)
Deprecated. Use PDF_create_annotation(). |
void |
set_border_style(java.lang.String style,
double width)
Deprecated. Use PDF_create_annotation(). "dashed". |
void |
set_graphics_option(java.lang.String optlist)
Set one or more graphics appearance options. |
void |
set_gstate(int gstate)
Activate a graphics state object. |
void |
set_info(java.lang.String key,
java.lang.String value)
Fill document information field key with value. |
void |
set_layer_dependency(java.lang.String type,
java.lang.String optlist)
Define layer relationships and variants (requires PDF 1.5). |
void |
set_option(java.lang.String optlist)
Set one or more global options. |
void |
set_parameter(java.lang.String key,
java.lang.String value)
Deprecated. Use PDF_set_option(), PDF_set_text_option() and PDF_set_graphics_option(). |
void |
set_text_option(java.lang.String optlist)
Set one or more text filter or text appearance options for simple text output functions. |
void |
set_text_pos(double x,
double y)
Set the position for simple text output on the page. |
void |
set_value(java.lang.String key,
double value)
Deprecated. Use PDF_set_option(), PDF_set_text_option() and PDF_set_graphics_option(). |
void |
setcolor(java.lang.String fstype,
java.lang.String colorspace,
double c1,
double c2,
double c3,
double c4)
Set the color space and color for the graphics and text state. |
void |
setdash(double b,
double w)
Deprecated. Deprecated, use PDF_set_graphics_option(). |
void |
setdashpattern(java.lang.String optlist)
Deprecated. Deprecated, use PDF_set_graphics_option(). |
void |
setflat(double flatness)
Deprecated. Deprecated, use PDF_set_graphics_option(). |
void |
setfont(int font,
double fontsize)
Set the current font in the specified size. |
void |
setlinecap(int linecap)
Deprecated. Deprecated, use PDF_set_graphics_option(). |
void |
setlinejoin(int linejoin)
Deprecated. Deprecated, use PDF_set_graphics_option(). |
void |
setlinewidth(double width)
Set the current linewidth. |
void |
setmatrix(double a,
double b,
double c,
double d,
double e,
double f)
Explicitly set the current transformation matrix. |
void |
setmiterlimit(double miter)
Deprecated. Deprecated, use PDF_set_graphics_option(). |
void |
setpolydash(float[] dasharray)
Deprecated. Use PDF_setdashpattern(). |
int |
shading_pattern(int shading,
java.lang.String optlist)
Define a shading pattern using a shading object. |
int |
shading(java.lang.String shtype,
double x0,
double y0,
double x1,
double y1,
double c1,
double c2,
double c3,
double c4,
java.lang.String optlist)
Define a blend from the current fill color to another color. |
void |
shfill(int shading)
Fill an area with a shading, based on a shading object. |
int |
show_boxed(java.lang.String text,
double left,
double bottom,
double width,
double height,
java.lang.String hmode,
java.lang.String feature)
Deprecated. Use PDF_fit_textline() or PDF_fit_textflow(). |
void |
show_xy(java.lang.String text,
double x,
double y)
Print text in the current font at the specified position. |
void |
show(java.lang.String text)
Print text in the current font and size at the current position. |
void |
skew(double alpha,
double beta)
Skew the coordinate system. |
double |
stringwidth(java.lang.String text,
int font,
double fontsize)
Calculate the width of text in an arbitrary font. |
void |
stroke()
Stroke the path with the current color and line width, and clear it. |
void |
suspend_page(java.lang.String optlist)
Suspend the current page so that it can later be resumed. |
void |
translate(double tx,
double ty)
Translate the origin of the coordinate system. |
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public pdflib() throws PDFlibException
Method Detail |
public final void activate_item(int id) throws PDFlibException
public final int add_bookmark(java.lang.String text, int parent, int open) throws PDFlibException
public final void add_launchlink(double llx, double lly, double urx, double ury, java.lang.String filename) throws PDFlibException
public final void add_locallink(double llx, double lly, double urx, double ury, int page, java.lang.String optlist) throws PDFlibException
public final void add_nameddest(java.lang.String name, java.lang.String optlist) throws PDFlibException
public final void add_note(double llx, double lly, double urx, double ury, java.lang.String contents, java.lang.String title, java.lang.String icon, int open) throws PDFlibException
public final int add_path_point(int path, double x, double y, java.lang.String type, java.lang.String optlist) throws PDFlibException
public final void add_pdflink(double llx, double lly, double urx, double ury, java.lang.String filename, int page, java.lang.String optlist) throws PDFlibException
public final int add_portfolio_file(int folder, java.lang.String filename, java.lang.String optlist) throws PDFlibException
public final int add_portfolio_folder(int parent, java.lang.String filename, java.lang.String optlist) throws PDFlibException
public final int add_table_cell(int table, int column, int row, java.lang.String text, java.lang.String optlist) throws PDFlibException
public final int add_textflow(int textflow, java.lang.String text, java.lang.String optlist) throws PDFlibException
public final void add_thumbnail(int image) throws PDFlibException
public final void add_weblink(double llx, double lly, double urx, double ury, java.lang.String url) throws PDFlibException
public final void align(double dx, double dy) throws PDFlibException
public final void arc(double x, double y, double r, double alpha, double beta) throws PDFlibException
public final void arcn(double x, double y, double r, double alpha, double beta) throws PDFlibException
public final void attach_file(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) throws PDFlibException
public final int begin_document(java.lang.String filename, java.lang.String optlist) throws PDFlibException
public final void begin_dpart(java.lang.String optlist) throws PDFlibException
public final void begin_font(java.lang.String name, double a, double b, double c, double d, double e, double f, java.lang.String optlist) throws PDFlibException
public final void begin_glyph(java.lang.String glyphname, double wx, double llx, double lly, double urx, double ury) throws PDFlibException
public final void begin_glyph_ext(int uv, java.lang.String optlist) throws PDFlibException
public final int begin_item(java.lang.String tagname, java.lang.String optlist) throws PDFlibException
public final void begin_layer(int layer) throws PDFlibException
public final void begin_mc(java.lang.String tagname, java.lang.String optlist) throws PDFlibException
public final void begin_page(double width, double height) throws PDFlibException
public final void begin_page_ext(double width, double height, java.lang.String optlist) throws PDFlibException
public final int begin_pattern(double width, double height, double xstep, double ystep, int painttype) throws PDFlibException
public final int begin_pattern_ext(double width, double height, java.lang.String optlist) throws PDFlibException
public final int begin_template(double width, double height) throws PDFlibException
public final int begin_template_ext(double width, double height, java.lang.String optlist) throws PDFlibException
public final void circle(double x, double y, double r) throws PDFlibException
public final void circular_arc(double x_1, double y_1, double x_2, double y_2) throws PDFlibException
public final void clip() throws PDFlibException
public final void close() throws PDFlibException
public final void close_font(int font) throws PDFlibException
public final void close_graphics(int graphics) throws PDFlibException
public final void close_image(int image) throws PDFlibException
public final void close_pdi(int doc) throws PDFlibException
public final void close_pdi_document(int doc) throws PDFlibException
public final void close_pdi_page(int page) throws PDFlibException
public final void closepath() throws PDFlibException
public final void closepath_fill_stroke() throws PDFlibException
public final void closepath_stroke() throws PDFlibException
public final void concat(double a, double b, double c, double d, double e, double f) throws PDFlibException
public final void continue_text(java.lang.String text) throws PDFlibException
public final int create_3dview(java.lang.String username, java.lang.String optlist) throws PDFlibException
public final int create_action(java.lang.String type, java.lang.String optlist) throws PDFlibException
public final void create_annotation(double llx, double lly, double urx, double ury, java.lang.String type, java.lang.String optlist) throws PDFlibException
public final int create_bookmark(java.lang.String text, java.lang.String optlist) throws PDFlibException
public final void create_field(double llx, double lly, double urx, double ury, java.lang.String name, java.lang.String type, java.lang.String optlist) throws PDFlibException
public final void create_fieldgroup(java.lang.String name, java.lang.String optlist) throws PDFlibException
public final int create_gstate(java.lang.String optlist) throws PDFlibException
public final void create_pvf(java.lang.String filename, byte[] data, java.lang.String optlist) throws PDFlibException
public final int create_textflow(java.lang.String text, java.lang.String optlist) throws PDFlibException
public final void curveto(double x1, double y1, double x2, double y2, double x3, double y3) throws PDFlibException
public final int define_layer(java.lang.String name, java.lang.String optlist) throws PDFlibException
public final void set_layer_dependency(java.lang.String type, java.lang.String optlist) throws PDFlibException
public final void delete()
public final void delete_path(int path) throws PDFlibException
public final int delete_pvf(java.lang.String filename) throws PDFlibException
public final void delete_table(int table, java.lang.String optlist) throws PDFlibException
public final void delete_textflow(int textflow) throws PDFlibException
public final void draw_path(int path, double x, double y, java.lang.String optlist) throws PDFlibException
public final void ellipse(double x, double y, double rx, double ry) throws PDFlibException
public final void elliptical_arc(double x, double y, double rx, double ry, java.lang.String optlist) throws PDFlibException
public final void encoding_set_char(java.lang.String encoding, int slot, java.lang.String glyphname, int uv) throws PDFlibException
public final void end_document(java.lang.String optlist) throws PDFlibException
public final void end_dpart(java.lang.String optlist) throws PDFlibException
public final void end_font() throws PDFlibException
public final void end_glyph() throws PDFlibException
public final void end_item(int id) throws PDFlibException
public final void end_layer() throws PDFlibException
public final void end_mc() throws PDFlibException
public final void end_page() throws PDFlibException
public final void end_page_ext(java.lang.String optlist) throws PDFlibException
public final void end_pattern() throws PDFlibException
public final void end_template() throws PDFlibException
public final void end_template_ext(double width, double height) throws PDFlibException
public final void endpath() throws PDFlibException
public final void fill() throws PDFlibException
public final int fill_graphicsblock(int page, java.lang.String blockname, int graphics, java.lang.String optlist) throws PDFlibException
public final int fill_imageblock(int page, java.lang.String blockname, int image, java.lang.String optlist) throws PDFlibException
public final int fill_pdfblock(int page, java.lang.String blockname, int contents, java.lang.String optlist) throws PDFlibException
public final void fill_stroke() throws PDFlibException
public final int fill_textblock(int page, java.lang.String blockname, java.lang.String text, java.lang.String optlist) throws PDFlibException
public final int findfont(java.lang.String fontname, java.lang.String encoding, int options) throws PDFlibException
public final void fit_graphics(int graphics, double x, double y, java.lang.String optlist) throws PDFlibException
public final void fit_image(int image, double x, double y, java.lang.String optlist) throws PDFlibException
public final void fit_pdi_page(int page, double x, double y, java.lang.String optlist) throws PDFlibException
public final java.lang.String fit_table(int table, double llx, double lly, double urx, double ury, java.lang.String optlist) throws PDFlibException
public final java.lang.String fit_textflow(int textflow, double llx, double lly, double urx, double ury, java.lang.String optlist) throws PDFlibException
public final void fit_textline(java.lang.String text, double x, double y, java.lang.String optlist) throws PDFlibException
public final java.lang.String get_apiname()
public final byte[] get_buffer() throws PDFlibException
public final java.lang.String get_errmsg()
public final int get_errnum()
public final double get_option(java.lang.String keyword, java.lang.String optlist) throws PDFlibException
public final java.lang.String get_parameter(java.lang.String key, double modifier) throws PDFlibException
public final java.lang.String get_pdi_parameter(java.lang.String key, int doc, int page, int reserved) throws PDFlibException
public final double get_pdi_value(java.lang.String key, int doc, int page, int reserved) throws PDFlibException
public final java.lang.String get_string(int idx, java.lang.String optlist) throws PDFlibException
public final double get_value(java.lang.String key, double modifier) throws PDFlibException
public final double info_font(int font, java.lang.String keyword, java.lang.String optlist) throws PDFlibException
public final double info_graphics(int graphics, java.lang.String keyword, java.lang.String optlist) throws PDFlibException
public final double info_image(int image, java.lang.String keyword, java.lang.String optlist) throws PDFlibException
public final double info_matchbox(java.lang.String boxname, int num, java.lang.String keyword) throws PDFlibException
public final double info_path(int path, java.lang.String keyword, java.lang.String optlist) throws PDFlibException
public final double info_pdi_page(int page, java.lang.String keyword, java.lang.String optlist) throws PDFlibException
public final double info_pvf(java.lang.String filename, java.lang.String keyword) throws PDFlibException
public final double info_table(int table, java.lang.String keyword) throws PDFlibException
public final double info_textline(java.lang.String text, java.lang.String keyword, java.lang.String optlist) throws PDFlibException
public final double info_textflow(int textflow, java.lang.String keyword) throws PDFlibException
public final void initgraphics() throws PDFlibException
public final void lineto(double x, double y) throws PDFlibException
public final int load_3ddata(java.lang.String filename, java.lang.String optlist) throws PDFlibException
public final int load_asset(java.lang.String type, java.lang.String filename, java.lang.String optlist) throws PDFlibException
public final int load_font(java.lang.String fontname, java.lang.String encoding, java.lang.String optlist) throws PDFlibException
public final int load_graphics(java.lang.String type, java.lang.String filename, java.lang.String optlist) throws PDFlibException
public final int load_iccprofile(java.lang.String profilename, java.lang.String optlist) throws PDFlibException
public final int load_image(java.lang.String imagetype, java.lang.String filename, java.lang.String optlist) throws PDFlibException
public final int makespotcolor(java.lang.String spotname) throws PDFlibException
public final void mc_point(java.lang.String tagname, java.lang.String optlist) throws PDFlibException
public final void moveto(double x, double y) throws PDFlibException
public final int open_CCITT(java.lang.String filename, int width, int height, int BitReverse, int K, int BlackIs1) throws PDFlibException
public final int open_file(java.lang.String filename) throws PDFlibException
public final int open_image(java.lang.String imagetype, java.lang.String source, byte[] data, long length, int width, int height, int components, int bpc, java.lang.String params) throws PDFlibException
public final int open_image_file(java.lang.String imagetype, java.lang.String filename, java.lang.String stringparam, int intparam) throws PDFlibException
public final int open_pdi(java.lang.String filename, java.lang.String optlist, int reserved) throws PDFlibException
public final int open_pdi_document(java.lang.String filename, java.lang.String optlist) throws PDFlibException
public final int open_pdi_page(int doc, int pagenumber, java.lang.String optlist) throws PDFlibException
public final double pcos_get_number(int doc, java.lang.String path) throws PDFlibException
public final java.lang.String pcos_get_string(int doc, java.lang.String path) throws PDFlibException
public final byte[] pcos_get_stream(int doc, java.lang.String optlist, java.lang.String path) throws PDFlibException
public final void place_image(int image, double x, double y, double scale) throws PDFlibException
public final void place_pdi_page(int page, double x, double y, double sx, double sy) throws PDFlibException
public final void poca_delete(int container, java.lang.String optlist) throws PDFlibException
public final void poca_insert(int container, java.lang.String optlist) throws PDFlibException
public final int poca_new(java.lang.String optlist) throws PDFlibException
public final void poca_remove(int container, java.lang.String optlist) throws PDFlibException
public final int process_pdi(int doc, int page, java.lang.String optlist) throws PDFlibException
public final void rect(double x, double y, double width, double height) throws PDFlibException
public final void restore() throws PDFlibException
public final void resume_page(java.lang.String optlist) throws PDFlibException
public final void rotate(double phi) throws PDFlibException
public final void save() throws PDFlibException
public final void scale(double sx, double sy) throws PDFlibException
public final void set_border_color(double red, double green, double blue) throws PDFlibException
public final void set_border_dash(double b, double w) throws PDFlibException
public final void set_border_style(java.lang.String style, double width) throws PDFlibException
public final void set_graphics_option(java.lang.String optlist) throws PDFlibException
public final void set_gstate(int gstate) throws PDFlibException
public final void set_info(java.lang.String key, java.lang.String value) throws PDFlibException
public final void set_option(java.lang.String optlist) throws PDFlibException
public final void set_parameter(java.lang.String key, java.lang.String value) throws PDFlibException
public final void set_text_option(java.lang.String optlist) throws PDFlibException
public final void set_text_pos(double x, double y) throws PDFlibException
public final void set_value(java.lang.String key, double value) throws PDFlibException
public final void setcolor(java.lang.String fstype, java.lang.String colorspace, double c1, double c2, double c3, double c4) throws PDFlibException
public final void setdash(double b, double w) throws PDFlibException
public final void setdashpattern(java.lang.String optlist) throws PDFlibException
public final void setflat(double flatness) throws PDFlibException
public final void setfont(int font, double fontsize) throws PDFlibException
public final void setlinecap(int linecap) throws PDFlibException
public final void setlinejoin(int linejoin) throws PDFlibException
public final void setlinewidth(double width) throws PDFlibException
public final void setmatrix(double a, double b, double c, double d, double e, double f) throws PDFlibException
public final void setmiterlimit(double miter) throws PDFlibException
public final void setpolydash(float[] dasharray) throws PDFlibException
public final int shading(java.lang.String shtype, double x0, double y0, double x1, double y1, double c1, double c2, double c3, double c4, java.lang.String optlist) throws PDFlibException
public final int shading_pattern(int shading, java.lang.String optlist) throws PDFlibException
public final void shfill(int shading) throws PDFlibException
public final void show(java.lang.String text) throws PDFlibException
public final int show_boxed(java.lang.String text, double left, double bottom, double width, double height, java.lang.String hmode, java.lang.String feature) throws PDFlibException
public final void show_xy(java.lang.String text, double x, double y) throws PDFlibException
public final void skew(double alpha, double beta) throws PDFlibException
public final double stringwidth(java.lang.String text, int font, double fontsize) throws PDFlibException
public final void stroke() throws PDFlibException
public final void suspend_page(java.lang.String optlist) throws PDFlibException
public final void translate(double tx, double ty) throws PDFlibException
public final java.lang.String convert_to_unicode(java.lang.String inputformat, byte[] input, java.lang.String optlist) throws PDFlibException
|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |