Java Doc for PDFontDescriptor.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

All known Subclasses:   org.pdfbox.pdmodel.font.PDFontDescriptorDictionary,  org.pdfbox.pdmodel.font.PDFontDescriptorAFM,
PDFontDescriptor
abstract public class PDFontDescriptor (Code)
This class represents an interface to the font description. This will depend on the font type for the actual implementation. If it is a AFM/cmap/or embedded font.
author:
   Ben Litchfield
version:
   $Revision: 1.2 $




Method Summary
abstract public  floatgetAscent()
     This will get the ascent for the font.
abstract public  floatgetAverageWidth()
     This will get the average width for the font.
abstract public  floatgetCapHeight()
     This will get the CapHeight for the font.
abstract public  StringgetCharSet()
     This will get the character set for the font.
abstract public  floatgetDescent()
     This will get the descent for the font.
abstract public  intgetFlags()
     This will get the font flags.
abstract public  PDRectanglegetFontBoundingBox()
     This will get the fonts bouding box.
abstract public  StringgetFontFamily()
     A string representing the preferred font family.
abstract public  StringgetFontName()
     Get the font name.
abstract public  StringgetFontStretch()
     A string representing the preferred font stretch.
abstract public  floatgetFontWeight()
     The weight of the font.
abstract public  floatgetItalicAngle()
     This will get the italic angle for the font.
abstract public  floatgetLeading()
     This will get the leading for the font.
abstract public  floatgetMaxWidth()
     This will get the max width for the font.
abstract public  floatgetStemH()
     This will get the stemH for the font.
abstract public  floatgetStemV()
     This will get the stemV for the font.
abstract public  floatgetXHeight()
     This will get the x height for the font.
public  booleanisAllCap()
     A convenience method that checks the flag bit.
public  booleanisFixedPitch()
     A convenience method that checks the flag bit.
public  booleanisForceBold()
     A convenience method that checks the flag bit.
public  booleanisItalic()
     A convenience method that checks the flag bit.
public  booleanisNonSymbolic()
     A convenience method that checks the flag bit.
public  booleanisScript()
     A convenience method that checks the flag bit.
public  booleanisSerif()
     A convenience method that checks the flag bit.
public  booleanisSmallCap()
     A convenience method that checks the flag bit.
public  booleanisSymbolic()
     A convenience method that checks the flag bit.
public  voidsetAllCap(boolean flag)
     A convenience method that sets the flag bit.
abstract public  voidsetAscent(float ascent)
     This will set the ascent for the font.
abstract public  voidsetAverageWidth(float averageWidth)
     This will set the average width for the font.
abstract public  voidsetCapHeight(float capHeight)
     This will set the cap height for the font.
abstract public  voidsetCharacterSet(String charSet)
     This will set the character set for the font.
abstract public  voidsetDescent(float descent)
     This will set the descent for the font.
public  voidsetFixedPitch(boolean flag)
     A convenience method that sets the flag bit.
abstract public  voidsetFlags(int flags)
     This will set the font flags.
abstract public  voidsetFontBoundingBox(PDRectangle rect)
     Set the fonts bounding box.
abstract public  voidsetFontFamily(String fontFamily)
     This will set the font family.
abstract public  voidsetFontName(String fontName)
     This will set the font name.
abstract public  voidsetFontStretch(String fontStretch)
     This will set the font stretch.
abstract public  voidsetFontWeight(float fontWeight)
     Set the weight of the font.
public  voidsetForceBold(boolean flag)
     A convenience method that sets the flag bit.
public  voidsetItalic(boolean flag)
     A convenience method that sets the flag bit.
abstract public  voidsetItalicAngle(float angle)
     This will set the italic angle for the font.
abstract public  voidsetLeading(float leading)
     This will set the leading for the font.
abstract public  voidsetMaxWidth(float maxWidth)
     This will set the max width for the font.
public  voidsetNonSymbolic(boolean flag)
     A convenience method that sets the flag bit.
public  voidsetScript(boolean flag)
     A convenience method that sets the flag bit.
public  voidsetSerif(boolean flag)
     A convenience method that sets the flag bit.
public  voidsetSmallCap(boolean flag)
     A convenience method that sets the flag bit.
abstract public  voidsetStemH(float stemH)
     This will set the stem H for the font.
abstract public  voidsetStemV(float stemV)
     This will set the stem V for the font.
public  voidsetSymbolic(boolean flag)
     A convenience method that sets the flag bit.
abstract public  voidsetXHeight(float xHeight)
     This will set the x height for the font.



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



getAverageWidth
abstract public float getAverageWidth() throws IOException(Code)
This will get the average width for the font. This is part of the definition in the font description. If it is not present then PDFBox will make an attempt to calculate it. The average width value.
throws:
  IOException - If there is an error calculating the average width.



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



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



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



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



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



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



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



getFontStretch
abstract public String getFontStretch()(Code)
A string representing the preferred font stretch. According to the PDF Spec: The font stretch value; it must be one of the following (ordered from narrowest to widest): UltraCondensed, ExtraCondensed, Condensed, SemiCondensed, Normal, SemiExpanded, Expanded, ExtraExpanded or UltraExpanded. The font stretch.



getFontWeight
abstract 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
abstract public float getItalicAngle()(Code)
This will get the italic angle for the font. The italic angle.



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



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



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



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



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



isAllCap
public boolean isAllCap()(Code)
A convenience method that checks the flag bit. The flag value.



isFixedPitch
public boolean isFixedPitch()(Code)
A convenience method that checks the flag bit. The flag value.



isForceBold
public boolean isForceBold()(Code)
A convenience method that checks the flag bit. The flag value.



isItalic
public boolean isItalic()(Code)
A convenience method that checks the flag bit. The flag value.



isNonSymbolic
public boolean isNonSymbolic()(Code)
A convenience method that checks the flag bit. The flag value.



isScript
public boolean isScript()(Code)
A convenience method that checks the flag bit. The flag value.



isSerif
public boolean isSerif()(Code)
A convenience method that checks the flag bit. The flag value.



isSmallCap
public boolean isSmallCap()(Code)
A convenience method that checks the flag bit. The flag value.



isSymbolic
public boolean isSymbolic()(Code)
A convenience method that checks the flag bit. The flag value.



setAllCap
public void setAllCap(boolean flag)(Code)
A convenience method that sets the flag bit.
Parameters:
  flag - The flag value.



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



setAverageWidth
abstract 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
abstract 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
abstract 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
abstract public void setDescent(float descent)(Code)
This will set the descent for the font.
Parameters:
  descent - The new descent for the font.



setFixedPitch
public void setFixedPitch(boolean flag)(Code)
A convenience method that sets the flag bit.
Parameters:
  flag - The flag value.



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



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



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



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



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



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



setForceBold
public void setForceBold(boolean flag)(Code)
A convenience method that sets the flag bit.
Parameters:
  flag - The flag value.



setItalic
public void setItalic(boolean flag)(Code)
A convenience method that sets the flag bit.
Parameters:
  flag - The flag value.



setItalicAngle
abstract 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
abstract public void setLeading(float leading)(Code)
This will set the leading for the font.
Parameters:
  leading - The new leading for the font.



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



setNonSymbolic
public void setNonSymbolic(boolean flag)(Code)
A convenience method that sets the flag bit.
Parameters:
  flag - The flag value.



setScript
public void setScript(boolean flag)(Code)
A convenience method that sets the flag bit.
Parameters:
  flag - The flag value.



setSerif
public void setSerif(boolean flag)(Code)
A convenience method that sets the flag bit.
Parameters:
  flag - The flag value.



setSmallCap
public void setSmallCap(boolean flag)(Code)
A convenience method that sets the flag bit.
Parameters:
  flag - The flag value.



setStemH
abstract 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
abstract public void setStemV(float stemV)(Code)
This will set the stem V for the font.
Parameters:
  stemV - The new stem v for the font.



setSymbolic
public void setSymbolic(boolean flag)(Code)
A convenience method that sets the flag bit.
Parameters:
  flag - The flag value.



setXHeight
abstract 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 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.