public final class pdflib
extends java.lang.Object
Constructor and Description |
---|
pdflib()
Create a new PDFlib object.
|
Modifier and Type | Method and Description |
---|---|
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 an arbitrary page in the current 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().
|
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_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)
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 |
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_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(java.lang.String glyphname,
double wx,
double llx,
double lly,
double urx,
double ury)
Start a glyph definition for a Type 3 font.
|
int |
begin_item(java.lang.String tag,
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_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(double width,
double height,
double xstep,
double ystep,
int painttype)
Start a pattern definition.
|
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 |
clip()
Use the current path as clipping path, and terminate the path.
|
void |
close_image(int image)
Close an image.
|
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.
|
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 a rectangular 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).
|
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 |
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 encoding.
|
void |
end_document(java.lang.String optlist)
Close the generated PDF document and apply various options.
|
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_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()
Finish a template definition.
|
void |
endpath()
End the current path without filling or stroking it.
|
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 text 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_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 into a rectangular area.
|
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.
|
java.lang.String |
get_parameter(java.lang.String key,
double modifier)
Get the contents of some PDFlib parameter with string type.
|
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().
|
double |
get_value(java.lang.String key,
double modifier)
Get the value of some PDFlib parameter with numerical type.
|
double |
info_font(int font,
java.lang.String keyword,
java.lang.String optlist)
Query detailed information about a loaded font.
|
double |
info_matchbox(java.lang.String boxname,
int num,
java.lang.String keyword)
Query information about a matchbox on the current page.
|
double |
info_table(int table,
java.lang.String keyword)
Retrieve 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 and query the resulting metrics.
|
void |
initgraphics()
Reset all color and graphics state parameters to their defaults.
|
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_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_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 |
moveto(double x,
double y)
Set the current point.
|
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().
|
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_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 hierarchical, group and lock condition among layers (requires
PDF 1.5).
|
void |
set_parameter(java.lang.String key,
java.lang.String value)
Set some PDFlib parameter with string type.
|
void |
set_text_pos(double x,
double y)
Set the position for text output on the page.
|
void |
set_value(java.lang.String key,
double value)
Set the value of some PDFlib parameter with numerical type.
|
void |
setcolor(java.lang.String fstype,
java.lang.String colorspace,
double c1,
double c2,
double c3,
double c4)
Set the current color space and color.
|
void |
setdash(double b,
double w)
Set the current dash pattern.
|
void |
setdashpattern(java.lang.String optlist)
Set a dash pattern defined by an option list.
|
void |
setflat(double flatness)
Set the flatness parameter.
|
void |
setfont(int font,
double fontsize)
Set the current font in the specified size.
|
void |
setlinecap(int linecap)
Set the linecap parameter.
|
void |
setlinejoin(int linejoin)
Set the linejoin parameter.
|
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)
Set the miter limit.
|
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 (requires PDF 1.4).
|
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 (requires
PDF 1.4).
|
void |
shfill(int shading)
Fill an area with a shading, based on a shading object (requires PDF 1.4).
|
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.
|
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.
|
public pdflib() throws PDFlibException
PDFlibException
- PDF output cannot be finished after an exception.public final void activate_item(int id) throws PDFlibException
PDFlibException
- PDF output cannot be finished after an exception.public final int add_bookmark(java.lang.String text, int parent, int open) throws PDFlibException
PDFlibException
- PDF output cannot be finished after an exception.public final void add_launchlink(double llx, double lly, double urx, double ury, java.lang.String filename) throws PDFlibException
PDFlibException
- PDF output cannot be finished after an exception.public final void add_locallink(double llx, double lly, double urx, double ury, int page, java.lang.String optlist) throws PDFlibException
PDFlibException
- PDF output cannot be finished after an exception.public final void add_nameddest(java.lang.String name, java.lang.String optlist) throws PDFlibException
PDFlibException
- PDF output cannot be finished after an exception.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
PDFlibException
- PDF output cannot be finished after an exception.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
PDFlibException
- PDF output cannot be finished after an exception.public final int add_table_cell(int table, int column, int row, java.lang.String text, java.lang.String optlist) throws PDFlibException
PDFlibException
- PDF output cannot be finished after an exception.public final int add_textflow(int textflow, java.lang.String text, java.lang.String optlist) throws PDFlibException
PDFlibException
- PDF output cannot be finished after an exception.public final void add_thumbnail(int image) throws PDFlibException
PDFlibException
- PDF output cannot be finished after an exception.public final void add_weblink(double llx, double lly, double urx, double ury, java.lang.String url) throws PDFlibException
PDFlibException
- PDF output cannot be finished after an exception.public final void arc(double x, double y, double r, double alpha, double beta) throws PDFlibException
PDFlibException
- PDF output cannot be finished after an exception.public final void arcn(double x, double y, double r, double alpha, double beta) throws PDFlibException
PDFlibException
- PDF output cannot be finished after an exception.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
PDFlibException
- PDF output cannot be finished after an exception.public final int begin_document(java.lang.String filename, java.lang.String optlist) throws PDFlibException
PDFlibException
- PDF output cannot be finished after an exception.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
PDFlibException
- PDF output cannot be finished after an exception.public final void begin_glyph(java.lang.String glyphname, double wx, double llx, double lly, double urx, double ury) throws PDFlibException
PDFlibException
- PDF output cannot be finished after an exception.public final int begin_item(java.lang.String tag, java.lang.String optlist) throws PDFlibException
PDFlibException
- PDF output cannot be finished after an exception.public final void begin_layer(int layer) throws PDFlibException
PDFlibException
- PDF output cannot be finished after an exception.public final void begin_page(double width, double height) throws PDFlibException
PDFlibException
- PDF output cannot be finished after an exception.public final void begin_page_ext(double width, double height, java.lang.String optlist) throws PDFlibException
PDFlibException
- PDF output cannot be finished after an exception.public final int begin_pattern(double width, double height, double xstep, double ystep, int painttype) throws PDFlibException
PDFlibException
- PDF output cannot be finished after an exception.public final int begin_template(double width, double height) throws PDFlibException
PDFlibException
- PDF output cannot be finished after an exception.public final int begin_template_ext(double width, double height, java.lang.String optlist) throws PDFlibException
PDFlibException
- PDF output cannot be finished after an exception.public final void circle(double x, double y, double r) throws PDFlibException
PDFlibException
- PDF output cannot be finished after an exception.public final void clip() throws PDFlibException
PDFlibException
- PDF output cannot be finished after an exception.public final void close() throws PDFlibException
PDFlibException
- PDF output cannot be finished after an exception.public final void close_image(int image) throws PDFlibException
PDFlibException
- PDF output cannot be finished after an exception.public final void close_pdi(int doc) throws PDFlibException
PDFlibException
- PDF output cannot be finished after an exception.public final void close_pdi_document(int doc) throws PDFlibException
PDFlibException
- PDF output cannot be finished after an exception.public final void close_pdi_page(int page) throws PDFlibException
PDFlibException
- PDF output cannot be finished after an exception.public final void closepath() throws PDFlibException
PDFlibException
- PDF output cannot be finished after an exception.public final void closepath_fill_stroke() throws PDFlibException
PDFlibException
- PDF output cannot be finished after an exception.public final void closepath_stroke() throws PDFlibException
PDFlibException
- PDF output cannot be finished after an exception.public final void concat(double a, double b, double c, double d, double e, double f) throws PDFlibException
PDFlibException
- PDF output cannot be finished after an exception.public final void continue_text(java.lang.String text) throws PDFlibException
PDFlibException
- PDF output cannot be finished after an exception.public final int create_3dview(java.lang.String username, java.lang.String optlist) throws PDFlibException
PDFlibException
- PDF output cannot be finished after an exception.public final int create_action(java.lang.String type, java.lang.String optlist) throws PDFlibException
PDFlibException
- PDF output cannot be finished after an exception.public final void create_annotation(double llx, double lly, double urx, double ury, java.lang.String type, java.lang.String optlist) throws PDFlibException
PDFlibException
- PDF output cannot be finished after an exception.public final int create_bookmark(java.lang.String text, java.lang.String optlist) throws PDFlibException
PDFlibException
- PDF output cannot be finished after an exception.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
PDFlibException
- PDF output cannot be finished after an exception.public final void create_fieldgroup(java.lang.String name, java.lang.String optlist) throws PDFlibException
PDFlibException
- PDF output cannot be finished after an exception.public final int create_gstate(java.lang.String optlist) throws PDFlibException
PDFlibException
- PDF output cannot be finished after an exception.public final void create_pvf(java.lang.String filename, byte[] data, java.lang.String optlist) throws PDFlibException
PDFlibException
- PDF output cannot be finished after an exception.public final int create_textflow(java.lang.String text, java.lang.String optlist) throws PDFlibException
PDFlibException
- PDF output cannot be finished after an exception.public final void curveto(double x1, double y1, double x2, double y2, double x3, double y3) throws PDFlibException
PDFlibException
- PDF output cannot be finished after an exception.public final int define_layer(java.lang.String name, java.lang.String optlist) throws PDFlibException
PDFlibException
- PDF output cannot be finished after an exception.public final void set_layer_dependency(java.lang.String type, java.lang.String optlist) throws PDFlibException
PDFlibException
- PDF output cannot be finished after an exception.public final void delete()
public final int delete_pvf(java.lang.String filename) throws PDFlibException
PDFlibException
- PDF output cannot be finished after an exception.public final void delete_table(int table, java.lang.String optlist) throws PDFlibException
PDFlibException
- PDF output cannot be finished after an exception.public final void delete_textflow(int textflow) throws PDFlibException
PDFlibException
- PDF output cannot be finished after an exception.public final void encoding_set_char(java.lang.String encoding, int slot, java.lang.String glyphname, int uv) throws PDFlibException
PDFlibException
- PDF output cannot be finished after an exception.public final void end_document(java.lang.String optlist) throws PDFlibException
PDFlibException
- PDF output cannot be finished after an exception.public final void end_font() throws PDFlibException
PDFlibException
- PDF output cannot be finished after an exception.public final void end_glyph() throws PDFlibException
PDFlibException
- PDF output cannot be finished after an exception.public final void end_item(int id) throws PDFlibException
PDFlibException
- PDF output cannot be finished after an exception.public final void end_layer() throws PDFlibException
PDFlibException
- PDF output cannot be finished after an exception.public final void end_page() throws PDFlibException
PDFlibException
- PDF output cannot be finished after an exception.public final void end_page_ext(java.lang.String optlist) throws PDFlibException
PDFlibException
- PDF output cannot be finished after an exception.public final void end_pattern() throws PDFlibException
PDFlibException
- PDF output cannot be finished after an exception.public final void end_template() throws PDFlibException
PDFlibException
- PDF output cannot be finished after an exception.public final void endpath() throws PDFlibException
PDFlibException
- PDF output cannot be finished after an exception.public final void fill() throws PDFlibException
PDFlibException
- PDF output cannot be finished after an exception.public final int fill_imageblock(int page, java.lang.String blockname, int image, java.lang.String optlist) throws PDFlibException
PDFlibException
- PDF output cannot be finished after an exception.public final int fill_pdfblock(int page, java.lang.String blockname, int contents, java.lang.String optlist) throws PDFlibException
PDFlibException
- PDF output cannot be finished after an exception.public final void fill_stroke() throws PDFlibException
PDFlibException
- PDF output cannot be finished after an exception.public final int fill_textblock(int page, java.lang.String blockname, java.lang.String text, java.lang.String optlist) throws PDFlibException
PDFlibException
- PDF output cannot be finished after an exception.public final int findfont(java.lang.String fontname, java.lang.String encoding, int options) throws PDFlibException
PDFlibException
- PDF output cannot be finished after an exception.public final void fit_image(int image, double x, double y, java.lang.String optlist) throws PDFlibException
PDFlibException
- PDF output cannot be finished after an exception.public final void fit_pdi_page(int page, double x, double y, java.lang.String optlist) throws PDFlibException
PDFlibException
- PDF output cannot be finished after an exception.public final java.lang.String fit_table(int table, double llx, double lly, double urx, double ury, java.lang.String optlist) throws PDFlibException
PDFlibException
- PDF output cannot be finished after an exception.public final java.lang.String fit_textflow(int textflow, double llx, double lly, double urx, double ury, java.lang.String optlist) throws PDFlibException
PDFlibException
- PDF output cannot be finished after an exception.public final void fit_textline(java.lang.String text, double x, double y, java.lang.String optlist) throws PDFlibException
PDFlibException
- PDF output cannot be finished after an exception.public final java.lang.String get_apiname()
public final byte[] get_buffer() throws PDFlibException
PDFlibException
- PDF output cannot be finished after an exception.public final java.lang.String get_errmsg()
public final int get_errnum()
public final java.lang.String get_parameter(java.lang.String key, double modifier) throws PDFlibException
PDFlibException
- PDF output cannot be finished after an exception.public final java.lang.String get_pdi_parameter(java.lang.String key, int doc, int page, int reserved) throws PDFlibException
PDFlibException
- PDF output cannot be finished after an exception.public final double get_pdi_value(java.lang.String key, int doc, int page, int reserved) throws PDFlibException
PDFlibException
- PDF output cannot be finished after an exception.public final double get_value(java.lang.String key, double modifier) throws PDFlibException
PDFlibException
- PDF output cannot be finished after an exception.public final double info_font(int font, java.lang.String keyword, java.lang.String optlist) throws PDFlibException
PDFlibException
- PDF output cannot be finished after an exception.public final double info_matchbox(java.lang.String boxname, int num, java.lang.String keyword) throws PDFlibException
PDFlibException
- PDF output cannot be finished after an exception.public final double info_table(int table, java.lang.String keyword) throws PDFlibException
PDFlibException
- PDF output cannot be finished after an exception.public final double info_textline(java.lang.String text, java.lang.String keyword, java.lang.String optlist) throws PDFlibException
PDFlibException
- PDF output cannot be finished after an exception.public final double info_textflow(int textflow, java.lang.String keyword) throws PDFlibException
PDFlibException
- PDF output cannot be finished after an exception.public final void initgraphics() throws PDFlibException
PDFlibException
- PDF output cannot be finished after an exception.public final void lineto(double x, double y) throws PDFlibException
PDFlibException
- PDF output cannot be finished after an exception.public final int load_3ddata(java.lang.String filename, java.lang.String optlist) throws PDFlibException
PDFlibException
- PDF output cannot be finished after an exception.public final int load_font(java.lang.String fontname, java.lang.String encoding, java.lang.String optlist) throws PDFlibException
PDFlibException
- PDF output cannot be finished after an exception.public final int load_iccprofile(java.lang.String profilename, java.lang.String optlist) throws PDFlibException
PDFlibException
- PDF output cannot be finished after an exception.public final int load_image(java.lang.String imagetype, java.lang.String filename, java.lang.String optlist) throws PDFlibException
PDFlibException
- PDF output cannot be finished after an exception.public final int makespotcolor(java.lang.String spotname) throws PDFlibException
PDFlibException
- PDF output cannot be finished after an exception.public final void moveto(double x, double y) throws PDFlibException
PDFlibException
- PDF output cannot be finished after an exception.public final int open_CCITT(java.lang.String filename, int width, int height, int BitReverse, int K, int BlackIs1) throws PDFlibException
PDFlibException
- PDF output cannot be finished after an exception.public final int open_file(java.lang.String filename) throws PDFlibException
PDFlibException
- PDF output cannot be finished after an exception.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
PDFlibException
- PDF output cannot be finished after an exception.public final int open_image_file(java.lang.String imagetype, java.lang.String filename, java.lang.String stringparam, int intparam) throws PDFlibException
PDFlibException
- PDF output cannot be finished after an exception.public final int open_pdi(java.lang.String filename, java.lang.String optlist, int reserved) throws PDFlibException
PDFlibException
- PDF output cannot be finished after an exception.public final int open_pdi_document(java.lang.String filename, java.lang.String optlist) throws PDFlibException
PDFlibException
- PDF output cannot be finished after an exception.public final int open_pdi_page(int doc, int pagenumber, java.lang.String optlist) throws PDFlibException
PDFlibException
- PDF output cannot be finished after an exception.public final double pcos_get_number(int doc, java.lang.String path) throws PDFlibException
PDFlibException
- PDF output cannot be finished after an exception.public final java.lang.String pcos_get_string(int doc, java.lang.String path) throws PDFlibException
PDFlibException
- PDF output cannot be finished after an exception.public final byte[] pcos_get_stream(int doc, java.lang.String optlist, java.lang.String path) throws PDFlibException
PDFlibException
- PDF output cannot be finished after an exception.public final void place_image(int image, double x, double y, double scale) throws PDFlibException
PDFlibException
- PDF output cannot be finished after an exception.public final void place_pdi_page(int page, double x, double y, double sx, double sy) throws PDFlibException
PDFlibException
- PDF output cannot be finished after an exception.public final int process_pdi(int doc, int page, java.lang.String optlist) throws PDFlibException
PDFlibException
- PDF output cannot be finished after an exception.public final void rect(double x, double y, double width, double height) throws PDFlibException
PDFlibException
- PDF output cannot be finished after an exception.public final void restore() throws PDFlibException
PDFlibException
- PDF output cannot be finished after an exception.public final void resume_page(java.lang.String optlist) throws PDFlibException
PDFlibException
- PDF output cannot be finished after an exception.public final void rotate(double phi) throws PDFlibException
PDFlibException
- PDF output cannot be finished after an exception.public final void save() throws PDFlibException
PDFlibException
- PDF output cannot be finished after an exception.public final void scale(double sx, double sy) throws PDFlibException
PDFlibException
- PDF output cannot be finished after an exception.public final void set_border_color(double red, double green, double blue) throws PDFlibException
PDFlibException
- PDF output cannot be finished after an exception.public final void set_border_dash(double b, double w) throws PDFlibException
PDFlibException
- PDF output cannot be finished after an exception.public final void set_border_style(java.lang.String style, double width) throws PDFlibException
PDFlibException
- PDF output cannot be finished after an exception.public final void set_gstate(int gstate) throws PDFlibException
PDFlibException
- PDF output cannot be finished after an exception.public final void set_info(java.lang.String key, java.lang.String value) throws PDFlibException
PDFlibException
- PDF output cannot be finished after an exception.public final void set_parameter(java.lang.String key, java.lang.String value) throws PDFlibException
PDFlibException
- PDF output cannot be finished after an exception.public final void set_text_pos(double x, double y) throws PDFlibException
PDFlibException
- PDF output cannot be finished after an exception.public final void set_value(java.lang.String key, double value) throws PDFlibException
PDFlibException
- PDF output cannot be finished after an exception.public final void setcolor(java.lang.String fstype, java.lang.String colorspace, double c1, double c2, double c3, double c4) throws PDFlibException
PDFlibException
- PDF output cannot be finished after an exception.public final void setdash(double b, double w) throws PDFlibException
PDFlibException
- PDF output cannot be finished after an exception.public final void setdashpattern(java.lang.String optlist) throws PDFlibException
PDFlibException
- PDF output cannot be finished after an exception.public final void setflat(double flatness) throws PDFlibException
PDFlibException
- PDF output cannot be finished after an exception.public final void setfont(int font, double fontsize) throws PDFlibException
PDFlibException
- PDF output cannot be finished after an exception.public final void setlinecap(int linecap) throws PDFlibException
PDFlibException
- PDF output cannot be finished after an exception.public final void setlinejoin(int linejoin) throws PDFlibException
PDFlibException
- PDF output cannot be finished after an exception.public final void setlinewidth(double width) throws PDFlibException
PDFlibException
- PDF output cannot be finished after an exception.public final void setmatrix(double a, double b, double c, double d, double e, double f) throws PDFlibException
PDFlibException
- PDF output cannot be finished after an exception.public final void setmiterlimit(double miter) throws PDFlibException
PDFlibException
- PDF output cannot be finished after an exception.public final void setpolydash(float[] dasharray) throws PDFlibException
PDFlibException
- PDF output cannot be finished after an exception.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
PDFlibException
- PDF output cannot be finished after an exception.public final int shading_pattern(int shading, java.lang.String optlist) throws PDFlibException
PDFlibException
- PDF output cannot be finished after an exception.public final void shfill(int shading) throws PDFlibException
PDFlibException
- PDF output cannot be finished after an exception.public final void show(java.lang.String text) throws PDFlibException
PDFlibException
- PDF output cannot be finished after an exception.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
PDFlibException
- PDF output cannot be finished after an exception.public final void show_xy(java.lang.String text, double x, double y) throws PDFlibException
PDFlibException
- PDF output cannot be finished after an exception.public final void skew(double alpha, double beta) throws PDFlibException
PDFlibException
- PDF output cannot be finished after an exception.public final double stringwidth(java.lang.String text, int font, double fontsize) throws PDFlibException
PDFlibException
- PDF output cannot be finished after an exception.public final void stroke() throws PDFlibException
PDFlibException
- PDF output cannot be finished after an exception.public final void suspend_page(java.lang.String optlist) throws PDFlibException
PDFlibException
- PDF output cannot be finished after an exception.public final void translate(double tx, double ty) throws PDFlibException
PDFlibException
- PDF output cannot be finished after an exception.