Java Doc for PDFontDescriptorAFM.java in  » PDF » PDFBox-0.7.3 » org » pdfbox » pdmodel » font » 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 » PDF » PDFBox 0.7.3 » org.pdfbox.pdmodel.font 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.pdfbox.pdmodel.font.PDFontDescriptor
      org.pdfbox.pdmodel.font.PDFontDescriptorAFM

PDFontDescriptorAFM
public class PDFontDescriptorAFM extends PDFontDescriptor (Code)
This class represents the font descriptor when the font information is coming from an AFM file.
author:
   Ben Litchfield
version:
   $Revision: 1.3 $



Constructor Summary
public  PDFontDescriptorAFM(FontMetric afmFile)
     Constructor.

Method Summary
public  floatgetAscent()
     This will get the ascent for the font.
public  floatgetAverageWidth()
     This will get the average width for the font.
public  floatgetCapHeight()
     This will get the CapHeight for the font.
public  StringgetCharSet()
     This will get the character set for the font.
public  floatgetDescent()
     This will get the descent for the font.
public  intgetFlags()
     This will get the font flags.
public  PDRectanglegetFontBoundingBox()
     This will get the fonts bouding box.
public  StringgetFontFamily()
     A string representing the preferred font family.
public  StringgetFontName()
     Get the font name.
public  StringgetFontStretch()
     A string representing the preferred font stretch.
public  floatgetFontWeight()
     The weight of the font.
public  floatgetItalicAngle()
     This will get the italic angle for the font.
public  floatgetLeading()
     This will get the leading for the font.
public  floatgetMaxWidth()
     This will get the max width for the font.
public  floatgetMissingWidth()
     This will get the missing width for the font.
public  floatgetStemH()
     This will get the stemH for the font.
public  floatgetStemV()
     This will get the stemV for the font.
public  floatgetXHeight()
     This will get the x height for the font.
public  voidsetAscent(float ascent)
     This will set the ascent for the font.
public  voidsetAverageWidth(float averageWidth)
     This will set the average width for the font.
public  voidsetCapHeight(float capHeight)
     This will set the cap height for the font.
public  voidsetCharacterSet(String charSet)
     This will set the character set for the font.
public  voidsetDescent(float descent)
     This will set the descent for the font.
public  voidsetFlags(int flags)
     This will set the font flags.
public  voidsetFontBoundingBox(PDRectangle rect)
     Set the fonts bounding box.
public  voidsetFontFamily(String fontFamily)
     This will set the font family.
public  voidsetFontName(String fontName)
     This will set the font name.
public  voidsetFontStretch(String fontStretch)
     This will set the font stretch.
public  voidsetFontWeight(float fontWeight)
     Set the weight of the font.
public  voidsetItalicAngle(float angle)
     This will set the italic angle for the font.
public  voidsetLeading(float leading)
     This will set the leading for the font.
public  voidsetMaxWidth(float maxWidth)
     This will set the max width for the font.
public  voidsetMissingWidth(float missingWidth)
     This will set the missing width for the font.
public  voidsetStemH(float stemH)
     This will set the stem H for the font.
public  voidsetStemV(float stemV)
     This will set the stem V for the font.
public  voidsetXHeight(float xHeight)
     This will set the x height for the font.


Constructor Detail
PDFontDescriptorAFM
public PDFontDescriptorAFM(FontMetric afmFile)(Code)
Constructor.
Parameters:
  afmFile - The AFM file.




Method Detail
getAscent
public float getAscent()(Code)
This will get the ascent for the font. The ascent.



getAverageWidth
public float getAverageWidth() throws IOException(Code)
This will get the average width for the font. The average width value.
throws:
  IOException - If there is an error calculating the average width.



getCapHeight
public float getCapHeight()(Code)
This will get the CapHeight for the font. The cap height.



getCharSet
public String getCharSet()(Code)
This will get the character set for the font. The character set value.



getDescent
public float getDescent()(Code)
This will get the descent for the font. The descent.



getFlags
public int getFlags()(Code)
This will get the font flags. The font flags.



getFontBoundingBox
public PDRectangle getFontBoundingBox()(Code)
This will get the fonts bouding box. The fonts bouding box.



getFontFamily
public String getFontFamily()(Code)
A string representing the preferred font family. The font family.



getFontName
public String getFontName()(Code)
Get the font name. The name of the font.



getFontStretch
public String getFontStretch()(Code)
A string representing the preferred font stretch. The font stretch.



getFontWeight
public float getFontWeight()(Code)
The weight of the font. According to the PDF spec "possible values are 100, 200, 300, 400, 500, 600, 700, 800 or 900" Where a higher number is more weight and appears to be more bold. The font weight.



getItalicAngle
public float getItalicAngle()(Code)
This will get the italic angle for the font. The italic angle.



getLeading
public float getLeading()(Code)
This will get the leading for the font. The leading.



getMaxWidth
public float getMaxWidth()(Code)
This will get the max width for the font. The max width value.



getMissingWidth
public float getMissingWidth()(Code)
This will get the missing width for the font. The missing width value.



getStemH
public float getStemH()(Code)
This will get the stemH for the font. The stem h value.



getStemV
public float getStemV()(Code)
This will get the stemV for the font. The stem v value.



getXHeight
public float getXHeight()(Code)
This will get the x height for the font. The x height.



setAscent
public void setAscent(float ascent)(Code)
This will set the ascent for the font.
Parameters:
  ascent - The new ascent for the font.



setAverageWidth
public void setAverageWidth(float averageWidth)(Code)
This will set the average width for the font.
Parameters:
  averageWidth - The new average width for the font.



setCapHeight
public void setCapHeight(float capHeight)(Code)
This will set the cap height for the font.
Parameters:
  capHeight - The new cap height for the font.



setCharacterSet
public void setCharacterSet(String charSet)(Code)
This will set the character set for the font.
Parameters:
  charSet - The new character set for the font.



setDescent
public void setDescent(float descent)(Code)
This will set the descent for the font.
Parameters:
  descent - The new descent for the font.



setFlags
public void setFlags(int flags)(Code)
This will set the font flags.
Parameters:
  flags - The new font flags.



setFontBoundingBox
public void setFontBoundingBox(PDRectangle rect)(Code)
Set the fonts bounding box.
Parameters:
  rect - The new bouding box.



setFontFamily
public void setFontFamily(String fontFamily)(Code)
This will set the font family.
Parameters:
  fontFamily - The font family.



setFontName
public void setFontName(String fontName)(Code)
This will set the font name.
Parameters:
  fontName - The new name for the font.



setFontStretch
public void setFontStretch(String fontStretch)(Code)
This will set the font stretch.
Parameters:
  fontStretch - The font stretch



setFontWeight
public void setFontWeight(float fontWeight)(Code)
Set the weight of the font.
Parameters:
  fontWeight - The new weight of the font.



setItalicAngle
public void setItalicAngle(float angle)(Code)
This will set the italic angle for the font.
Parameters:
  angle - The new italic angle for the font.



setLeading
public void setLeading(float leading)(Code)
This will set the leading for the font.
Parameters:
  leading - The new leading for the font.



setMaxWidth
public void setMaxWidth(float maxWidth)(Code)
This will set the max width for the font.
Parameters:
  maxWidth - The new max width for the font.



setMissingWidth
public void setMissingWidth(float missingWidth)(Code)
This will set the missing width for the font.
Parameters:
  missingWidth - The new missing width for the font.



setStemH
public void setStemH(float stemH)(Code)
This will set the stem H for the font.
Parameters:
  stemH - The new stem h for the font.



setStemV
public void setStemV(float stemV)(Code)
This will set the stem V for the font.
Parameters:
  stemV - The new stem v for the font.



setXHeight
public void setXHeight(float xHeight)(Code)
This will set the x height for the font.
Parameters:
  xHeight - The new x height for the font.



Methods inherited from org.pdfbox.pdmodel.font.PDFontDescriptor
abstract public float getAscent()(Code)(Java Doc)
abstract public float getAverageWidth() throws IOException(Code)(Java Doc)
abstract public float getCapHeight()(Code)(Java Doc)
abstract public String getCharSet()(Code)(Java Doc)
abstract public float getDescent()(Code)(Java Doc)
abstract public int getFlags()(Code)(Java Doc)
abstract public PDRectangle getFontBoundingBox()(Code)(Java Doc)
abstract public String getFontFamily()(Code)(Java Doc)
abstract public String getFontName()(Code)(Java Doc)
abstract public String getFontStretch()(Code)(Java Doc)
abstract public float getFontWeight()(Code)(Java Doc)
abstract public float getItalicAngle()(Code)(Java Doc)
abstract public float getLeading()(Code)(Java Doc)
abstract public float getMaxWidth()(Code)(Java Doc)
abstract public float getStemH()(Code)(Java Doc)
abstract public float getStemV()(Code)(Java Doc)
abstract public float getXHeight()(Code)(Java Doc)
public boolean isAllCap()(Code)(Java Doc)
public boolean isFixedPitch()(Code)(Java Doc)
public boolean isForceBold()(Code)(Java Doc)
public boolean isItalic()(Code)(Java Doc)
public boolean isNonSymbolic()(Code)(Java Doc)
public boolean isScript()(Code)(Java Doc)
public boolean isSerif()(Code)(Java Doc)
public boolean isSmallCap()(Code)(Java Doc)
public boolean isSymbolic()(Code)(Java Doc)
public void setAllCap(boolean flag)(Code)(Java Doc)
abstract public void setAscent(float ascent)(Code)(Java Doc)
abstract public void setAverageWidth(float averageWidth)(Code)(Java Doc)
abstract public void setCapHeight(float capHeight)(Code)(Java Doc)
abstract public void setCharacterSet(String charSet)(Code)(Java Doc)
abstract public void setDescent(float descent)(Code)(Java Doc)
public void setFixedPitch(boolean flag)(Code)(Java Doc)
abstract public void setFlags(int flags)(Code)(Java Doc)
abstract public void setFontBoundingBox(PDRectangle rect)(Code)(Java Doc)
abstract public void setFontFamily(String fontFamily)(Code)(Java Doc)
abstract public void setFontName(String fontName)(Code)(Java Doc)
abstract public void setFontStretch(String fontStretch)(Code)(Java Doc)
abstract public void setFontWeight(float fontWeight)(Code)(Java Doc)
public void setForceBold(boolean flag)(Code)(Java Doc)
public void setItalic(boolean flag)(Code)(Java Doc)
abstract public void setItalicAngle(float angle)(Code)(Java Doc)
abstract public void setLeading(float leading)(Code)(Java Doc)
abstract public void setMaxWidth(float maxWidth)(Code)(Java Doc)
public void setNonSymbolic(boolean flag)(Code)(Java Doc)
public void setScript(boolean flag)(Code)(Java Doc)
public void setSerif(boolean flag)(Code)(Java Doc)
public void setSmallCap(boolean flag)(Code)(Java Doc)
abstract public void setStemH(float stemH)(Code)(Java Doc)
abstract public void setStemV(float stemV)(Code)(Java Doc)
public void setSymbolic(boolean flag)(Code)(Java Doc)
abstract public void setXHeight(float xHeight)(Code)(Java Doc)

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.