Java Doc for PDF.java in  » EJB-Server-resin-3.1.5 » resin » com » caucho » quercus » lib » pdf » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » EJB Server resin 3.1.5 » resin » com.caucho.quercus.lib.pdf 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.caucho.quercus.lib.pdf.PDF

PDF
public class PDF (Code)
pdf object oriented API facade



Constructor Summary
public  PDF(Env env)
    

Method Summary
public  booleanarc(double x1, double y1, double r, double a, double b)
    
public  booleanarcn(double x1, double y1, double r, double a, double b)
    
public  booleanbegin_document(String fileName, String optList)
    
public  booleanbegin_page(double width, double height)
    
public  booleanbegin_page_ext(double width, double height, String opt)
    
public  booleancircle(double x1, double y1, double r)
    
public  booleanclip()
     Appends the current path to the clipping path.
public  booleanclose()
    
public  booleanclosepath()
    
public  booleanclosepath_fill_stroke()
    
public  booleanclosepath_stroke()
    
public  booleanconcat(double a, double b, double c, double d, double e, double f)
    
public  booleancontinue_text(String text)
    
public  booleancurveto(double x1, double y1, double x2, double y2, double x3, double y3)
    
public  booleancurveto_b(double x1, double y1, double x2, double y2)
    
public  booleancurveto_e(double x1, double y1, double x2, double y2)
    
public  booleandelete()
    
public  booleanend_document(String optList)
    
public  booleanend_page()
    
public  booleanend_page_ext(String optlist)
    
public  booleanendpath()
    
public  booleanfill()
    
public  booleanfill_stroke()
    
public  booleanfit_image(PDFImage img, double x, double y, String opt)
    
public  Valueget_buffer(Env env)
     Returns the result as a string.
public  Stringget_errmsg()
     Returns the error message.
public  intget_errnum()
     Returns the error number.
public  Stringget_parameter(String name, double modifier)
     Returns the value for a parameter.
public  doubleget_value(String name, double modifier)
     Returns the value for a parameter.
public  booleaninitgraphics(Env env)
    
public  booleanlineto(double x, double y)
     Sets the graphics position.
public  PDFFontload_font(String name, String encoding, String opt)
     Loads a font for later use.
Parameters:
  name - the font name, e.g.
public  PDFImageload_image(String type, Path file, String optlist)
    
public  booleanmoveto(double x, double y)
     Sets the graphics position.
public  PDFImageopen_image_file(String type, Path file, String stringParam, int intParam)
    
public  booleanrect(double x, double y, double width, double height)
    
public  booleanrestore()
     Restores the graphics state.
public  booleanrotate(double pDeg)
    
public  booleansave()
     Saves the graphics state.
public  booleanscale(double sx, double sy)
    
public  booleanset_info(String key, String value)
    
public  booleanset_parameter(String key, String value)
    
public  booleanset_text_pos(double x, double y)
     Sets the text position.
public  booleanset_value(String key, double value)
    
public  booleansetcolor(String fstype, String colorspace, double c1, double c2, double c3, double c4)
    
public  booleansetdash(double b, double w)
    
public  booleansetdashpattern(Env env, String optlist)
    
public  booleansetflat(Env env, double flatness)
    
public  booleansetfont(PDFFont font, double size)
     Sets the current font
Parameters:
  name - the font name, e.g.
public  booleansetgray(double g)
    
public  booleansetgray_fill(double g)
    
public  booleansetgray_stroke(double g)
    
public  booleansetlinecap(Env env, int cap)
    
public  booleansetlinejoin(Env env, int linejoin)
    
public  booleansetlinewidth(double w)
    
public  booleansetmatrix(Env env, double a, double b, double c, double d, double e, double f)
    
public  booleansetmiterlimit(Env env, double v)
    
public  booleansetrgbcolor(double r, double g, double b)
    
public  booleansetrgbcolor_fill(double r, double g, double b)
    
public  booleansetrgbcolor_stroke(double r, double g, double b)
    
public  intshading(Env env, String type, double x1, double y1, double x2, double y2, double c1, double c2, double c3, double c4, String optlist)
    
public  booleanshading_pattern(Env env, int shading, String optlist)
    
public  booleanshfill(Env env, int shading)
     Fill with a shading object.
public  booleanshow(String text)
    
public  booleanshow_boxed(String text, double x, double y, double width, double height, String mode, String feature)
    
public  booleanshow_xy(String text, double x, double y)
    
public  booleanskew(double aDeg, double bDeg)
    
public  doublestringwidth(String string, PDFFont font, double size)
     Returns the length of a string for a font.
public  booleanstroke()
    
public  StringtoString()
    
public  booleantranslate(double tx, double ty)
    


Constructor Detail
PDF
public PDF(Env env)(Code)




Method Detail
arc
public boolean arc(double x1, double y1, double r, double a, double b)(Code)
Creates a counterclockwise arg



arcn
public boolean arcn(double x1, double y1, double r, double a, double b)(Code)
Creates a clockwise arc



begin_document
public boolean begin_document(String fileName, String optList) throws IOException(Code)



begin_page
public boolean begin_page(double width, double height) throws IOException(Code)



begin_page_ext
public boolean begin_page_ext(double width, double height, String opt) throws IOException(Code)



circle
public boolean circle(double x1, double y1, double r)(Code)
Creates a circle



clip
public boolean clip()(Code)
Appends the current path to the clipping path.



close
public boolean close() throws IOException(Code)



closepath
public boolean closepath()(Code)
Closes the path



closepath_fill_stroke
public boolean closepath_fill_stroke()(Code)
Closes the path strokes



closepath_stroke
public boolean closepath_stroke()(Code)
Closes the path strokes



concat
public boolean concat(double a, double b, double c, double d, double e, double f)(Code)
Concatenates the matrix



continue_text
public boolean continue_text(String text)(Code)
Displays text



curveto
public boolean curveto(double x1, double y1, double x2, double y2, double x3, double y3)(Code)
Draws a bezier curve



curveto_b
public boolean curveto_b(double x1, double y1, double x2, double y2)(Code)
Draws a bezier curve



curveto_e
public boolean curveto_e(double x1, double y1, double x2, double y2)(Code)
Draws a bezier curve



delete
public boolean delete() throws IOException(Code)



end_document
public boolean end_document(String optList) throws IOException(Code)



end_page
public boolean end_page()(Code)



end_page_ext
public boolean end_page_ext(String optlist)(Code)



endpath
public boolean endpath()(Code)
Ends the path



fill
public boolean fill()(Code)
Fills



fill_stroke
public boolean fill_stroke()(Code)
Fills



fit_image
public boolean fit_image(PDFImage img, double x, double y, String opt)(Code)



get_buffer
public Value get_buffer(Env env)(Code)
Returns the result as a string.



get_errmsg
public String get_errmsg()(Code)
Returns the error message.



get_errnum
public int get_errnum()(Code)
Returns the error number.



get_parameter
public String get_parameter(String name, double modifier)(Code)
Returns the value for a parameter.



get_value
public double get_value(String name, double modifier)(Code)
Returns the value for a parameter.



initgraphics
public boolean initgraphics(Env env)(Code)



lineto
public boolean lineto(double x, double y)(Code)
Sets the graphics position.



load_font
public PDFFont load_font(String name, String encoding, String opt) throws IOException(Code)
Loads a font for later use.
Parameters:
  name - the font name, e.g. Helvetica
Parameters:
  encoding - the font encoding, e.g. winansi
Parameters:
  opt - any options



load_image
public PDFImage load_image(String type, Path file, String optlist) throws IOException(Code)
open image



moveto
public boolean moveto(double x, double y)(Code)
Sets the graphics position.



open_image_file
public PDFImage open_image_file(String type, Path file, String stringParam, int intParam) throws IOException(Code)
open image



rect
public boolean rect(double x, double y, double width, double height)(Code)
Creates a rectangle



restore
public boolean restore()(Code)
Restores the graphics state.



rotate
public boolean rotate(double pDeg)(Code)
rotates the coordinates
Parameters:
  p - amount to rotate



save
public boolean save()(Code)
Saves the graphics state.



scale
public boolean scale(double sx, double sy)(Code)
scales the coordinates
Parameters:
  sx - amount to scale the x axis
Parameters:
  sy - amount to scale the y axis



set_info
public boolean set_info(String key, String value)(Code)



set_parameter
public boolean set_parameter(String key, String value)(Code)



set_text_pos
public boolean set_text_pos(double x, double y)(Code)
Sets the text position.



set_value
public boolean set_value(String key, double value)(Code)



setcolor
public boolean setcolor(String fstype, String colorspace, double c1, double c2, double c3, double c4)(Code)
Sets the color



setdash
public boolean setdash(double b, double w)(Code)
Sets the dashing
Parameters:
  b - black length
Parameters:
  w - which length



setdashpattern
public boolean setdashpattern(Env env, String optlist)(Code)
Sets the dashing



setflat
public boolean setflat(Env env, double flatness)(Code)
Sets the flatness



setfont
public boolean setfont(PDFFont font, double size) throws IOException(Code)
Sets the current font
Parameters:
  name - the font name, e.g. Helvetica
Parameters:
  encoding - the font encoding, e.g. winansi
Parameters:
  opt - any options



setgray
public boolean setgray(double g)(Code)
Sets the color to a grayscale



setgray_fill
public boolean setgray_fill(double g)(Code)
Sets the color to a grayscale



setgray_stroke
public boolean setgray_stroke(double g)(Code)
Sets the color to a grayscale



setlinecap
public boolean setlinecap(Env env, int cap)(Code)
Sets the linecap style



setlinejoin
public boolean setlinejoin(Env env, int linejoin)(Code)
Sets the linejoin style



setlinewidth
public boolean setlinewidth(double w)(Code)
Sets the line width



setmatrix
public boolean setmatrix(Env env, double a, double b, double c, double d, double e, double f)(Code)
Sets the matrix style



setmiterlimit
public boolean setmiterlimit(Env env, double v)(Code)
Sets the miter limit



setrgbcolor
public boolean setrgbcolor(double r, double g, double b)(Code)
Sets the color to a rgb



setrgbcolor_fill
public boolean setrgbcolor_fill(double r, double g, double b)(Code)
Sets the fill color to a rgb



setrgbcolor_stroke
public boolean setrgbcolor_stroke(double r, double g, double b)(Code)
Sets the color to a rgb



shading
public int shading(Env env, String type, double x1, double y1, double x2, double y2, double c1, double c2, double c3, double c4, String optlist)(Code)
Define a blend



shading_pattern
public boolean shading_pattern(Env env, int shading, String optlist)(Code)
Sets the shading pattern



shfill
public boolean shfill(Env env, int shading)(Code)
Fill with a shading object.



show
public boolean show(String text)(Code)
Displays text



show_boxed
public boolean show_boxed(String text, double x, double y, double width, double height, String mode, String feature)(Code)
Displays text



show_xy
public boolean show_xy(String text, double x, double y)(Code)
Displays text



skew
public boolean skew(double aDeg, double bDeg)(Code)
Skews the coordinates
Parameters:
  a - degrees to skew the x axis
Parameters:
  b - degrees to skew the y axis



stringwidth
public double stringwidth(String string, PDFFont font, double size)(Code)
Returns the length of a string for a font.



stroke
public boolean stroke()(Code)
Draws the graph



toString
public String toString()(Code)



translate
public boolean translate(double tx, double ty)(Code)
translates the coordinates
Parameters:
  tx - amount to translate the x axis
Parameters:
  ty - amount to translate the y axis



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.