Java Doc for PDFontDescriptorEmbedded.java in  » PDF » jPod » de » intarsys » pdf » 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 » jPod » de.intarsys.pdf.font 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


de.intarsys.pdf.font.PDFontDescriptor
   de.intarsys.pdf.font.PDFontDescriptorEmbedded

PDFontDescriptorEmbedded
public class PDFontDescriptorEmbedded extends PDFontDescriptor (Code)
The PDFontDescriptor that is used when an explicit font descriptor is available in the pdf file. This will happen most of the time, only the builtin fonts MAY discard this object.

Inner Class :public static class MetaClass extends PDFontDescriptor.MetaClass

Field Summary
final public static  COSNameDK_Ascent
    
final public static  COSNameDK_AvgWidth
    
final public static  COSNameDK_CapHeight
    
final public static  COSNameDK_Descent
    
final public static  COSNameDK_Flags
    
final public static  COSNameDK_FontBBox
    
final public static  COSNameDK_FontFamily
    
final public static  COSNameDK_FontFile
    
final public static  COSNameDK_FontFile2
    
final public static  COSNameDK_FontFile3
    
final public static  COSNameDK_FontName
    
final public static  COSNameDK_ItalicAngle
    
final public static  COSNameDK_Leading
    
final public static  COSNameDK_Length1
    
final public static  COSNameDK_Length2
    
final public static  COSNameDK_Length3
    
final public static  COSNameDK_MaxWidth
    
final public static  COSNameDK_MissingWidth
    
final public static  COSNameDK_StemH
    
final public static  COSNameDK_StemV
    
final public static  COSNameDK_XHeight
    
final public static  MetaClassMETA
    

Constructor Summary
protected  PDFontDescriptorEmbedded(COSObject object)
     Create the receiver class from an already defined COSDictionary .

Method Summary
public  floatgetAscent()
    
public  floatgetAvgWidth()
    
public  floatgetCapHeight()
    
public  floatgetDescent()
    
public  intgetFlagsValue()
    
public  CDSRectanglegetFontBB()
    
public  StringgetFontFamily()
    
public  byte[]getFontFile()
    
public  byte[]getFontFile2()
    
public  byte[]getFontFile3()
    
public  StringgetFontName()
    
public  floatgetItalicAngle()
    
public  intgetLeading()
    
public  intgetMaxWidth()
    
public  intgetMissingWidth()
    
public  intgetStemH()
    
public  intgetStemV()
    
public  floatgetXHeight()
    
protected  voidinitializeFromScratch()
    
public  voidremoveFontFile2()
    
public  voidsetAscent(int value)
    
public  voidsetAvgWidth(int value)
    
public  voidsetCapHeight(int value)
    
public  voidsetDescent(int value)
    
public  voidsetFlags(int value)
    
public  voidsetFlagsValue(int value)
    
public  voidsetFontBB(CDSRectangle rect)
    
public  voidsetFontFamily(String value)
    
public  voidsetFontFile(byte[] data)
     This is the type 1 fontfile stream It will try to parse the input, which must be a pfb file.
public  voidsetFontFile2(byte[] data)
    
public  voidsetFontFile3(byte[] data)
    
public  voidsetFontName(String value)
    
public  voidsetItalicAngle(float value)
    
public  voidsetLeading(int value)
    
protected  voidsetLengths(COSStream cosStream, byte[] data)
     Simple determination of required length fields.
public  voidsetMaxWidth(int value)
    
public  voidsetMissingWidth(int value)
    
public  voidsetStemH(int value)
    
public  voidsetStemV(int value)
    
public  voidsetXHeight(int value)
    

Field Detail
DK_Ascent
final public static COSName DK_Ascent(Code)



DK_AvgWidth
final public static COSName DK_AvgWidth(Code)



DK_CapHeight
final public static COSName DK_CapHeight(Code)



DK_Descent
final public static COSName DK_Descent(Code)



DK_Flags
final public static COSName DK_Flags(Code)



DK_FontBBox
final public static COSName DK_FontBBox(Code)



DK_FontFamily
final public static COSName DK_FontFamily(Code)



DK_FontFile
final public static COSName DK_FontFile(Code)



DK_FontFile2
final public static COSName DK_FontFile2(Code)



DK_FontFile3
final public static COSName DK_FontFile3(Code)



DK_FontName
final public static COSName DK_FontName(Code)



DK_ItalicAngle
final public static COSName DK_ItalicAngle(Code)



DK_Leading
final public static COSName DK_Leading(Code)



DK_Length1
final public static COSName DK_Length1(Code)



DK_Length2
final public static COSName DK_Length2(Code)



DK_Length3
final public static COSName DK_Length3(Code)



DK_MaxWidth
final public static COSName DK_MaxWidth(Code)



DK_MissingWidth
final public static COSName DK_MissingWidth(Code)



DK_StemH
final public static COSName DK_StemH(Code)



DK_StemV
final public static COSName DK_StemV(Code)



DK_XHeight
final public static COSName DK_XHeight(Code)



META
final public static MetaClass META(Code)
The meta class instance




Constructor Detail
PDFontDescriptorEmbedded
protected PDFontDescriptorEmbedded(COSObject object)(Code)
Create the receiver class from an already defined COSDictionary . NEVER use the constructor directly.
Parameters:
  object - the PDDocument containing the new object




Method Detail
getAscent
public float getAscent()(Code)



getAvgWidth
public float getAvgWidth()(Code)



getCapHeight
public float getCapHeight()(Code)



getDescent
public float getDescent()(Code)



getFlagsValue
public int getFlagsValue()(Code)



getFontBB
public CDSRectangle getFontBB()(Code)



getFontFamily
public String getFontFamily()(Code)



getFontFile
public byte[] getFontFile()(Code)



getFontFile2
public byte[] getFontFile2()(Code)



getFontFile3
public byte[] getFontFile3()(Code)



getFontName
public String getFontName()(Code)



getItalicAngle
public float getItalicAngle()(Code)



getLeading
public int getLeading()(Code)



getMaxWidth
public int getMaxWidth()(Code)



getMissingWidth
public int getMissingWidth()(Code)



getStemH
public int getStemH()(Code)



getStemV
public int getStemV()(Code)



getXHeight
public float getXHeight()(Code)



initializeFromScratch
protected void initializeFromScratch()(Code)



removeFontFile2
public void removeFontFile2()(Code)



setAscent
public void setAscent(int value)(Code)



setAvgWidth
public void setAvgWidth(int value)(Code)



setCapHeight
public void setCapHeight(int value)(Code)



setDescent
public void setDescent(int value)(Code)



setFlags
public void setFlags(int value)(Code)



setFlagsValue
public void setFlagsValue(int value)(Code)



setFontBB
public void setFontBB(CDSRectangle rect)(Code)



setFontFamily
public void setFontFamily(String value)(Code)



setFontFile
public void setFontFile(byte[] data)(Code)
This is the type 1 fontfile stream It will try to parse the input, which must be a pfb file. Upon parsing, the keys length1, length2 and length3 will be determined. todo 2 Metadata key not supported



setFontFile2
public void setFontFile2(byte[] data)(Code)



setFontFile3
public void setFontFile3(byte[] data)(Code)



setFontName
public void setFontName(String value)(Code)



setItalicAngle
public void setItalicAngle(float value)(Code)



setLeading
public void setLeading(int value)(Code)



setLengths
protected void setLengths(COSStream cosStream, byte[] data)(Code)
Simple determination of required length fields.
Parameters:
  cosStream -
Parameters:
  data -



setMaxWidth
public void setMaxWidth(int value)(Code)



setMissingWidth
public void setMissingWidth(int value)(Code)



setStemH
public void setStemH(int value)(Code)



setStemV
public void setStemV(int value)(Code)



setXHeight
public void setXHeight(int value)(Code)



Fields inherited from de.intarsys.pdf.font.PDFontDescriptor
final public static COSName CN_Type_FontDescriptor(Code)(Java Doc)
final public static MetaClass META(Code)(Java Doc)

Methods inherited from de.intarsys.pdf.font.PDFontDescriptor
protected COSName cosGetExpectedType()(Code)(Java Doc)
abstract public float getAscent()(Code)(Java Doc)
abstract public float getAvgWidth()(Code)(Java Doc)
abstract public float getCapHeight()(Code)(Java Doc)
abstract public float getDescent()(Code)(Java Doc)
public FontDescriptorFlags getFlags()(Code)(Java Doc)
abstract public int getFlagsValue()(Code)(Java Doc)
abstract public CDSRectangle getFontBB()(Code)(Java Doc)
abstract public String getFontFamily()(Code)(Java Doc)
public byte[] getFontFile()(Code)(Java Doc)
public byte[] getFontFile2()(Code)(Java Doc)
public byte[] getFontFile3()(Code)(Java Doc)
abstract public String getFontName()(Code)(Java Doc)
abstract public float getItalicAngle()(Code)(Java Doc)
abstract public int getLeading()(Code)(Java Doc)
abstract public int getMaxWidth()(Code)(Java Doc)
abstract public int getMissingWidth()(Code)(Java Doc)
abstract public int getStemH()(Code)(Java Doc)
abstract public int 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)
public void setFixedPitch(boolean flag)(Code)(Java Doc)
abstract public void setFlagsValue(int value)(Code)(Java Doc)
public void setForceBold(boolean flag)(Code)(Java Doc)
public void setItalic(boolean flag)(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)
public void setSymbolic(boolean flag)(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.