Java Doc for RtfShapeProperty.java in  » PDF » pdf-itext » com » lowagie » text » rtf » graphic » 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 » pdf itext » com.lowagie.text.rtf.graphic 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


com.lowagie.text.rtf.RtfAddableElement
   com.lowagie.text.rtf.graphic.RtfShapeProperty

RtfShapeProperty
public class RtfShapeProperty extends RtfAddableElement (Code)
The RtfShapeProperty stores all shape properties that are not handled by the RtfShape and RtfShapePosition.

There is a huge selection of properties that can be set. For the most important properites there are constants for the property name, for all others you must find the correct property name in the RTF specification (version 1.6).

The following types of property values are supported:
  • long
  • double
  • boolean
  • Color
  • int[]
  • Point[]

version:
   $Id: RtfShapeProperty.java 2844 2007-06-19 11:41:07Z psoares33 $
author:
   Mark Hall (mhall@edu.uni-klu.ac.at)
author:
   Thomas Bickel (tmb99@inode.at)


Field Summary
final public static  StringPROPERTY_ADJUST_VALUE
     Property for defining the first adjust handle for shapes.
final public static  StringPROPERTY_FILL_COLOR
     Property for defining the fill color of the shape.
final public static  StringPROPERTY_FLIP_H
     Property for signalling a horizontal flip of the shape.
final public static  StringPROPERTY_FLIP_V
     Property for signalling a vertical flip of the shape.
final public static  StringPROPERTY_GEO_BOTTOM
     Property for defining the maximum vertical coordinate that is visible.
final public static  StringPROPERTY_GEO_LEFT
     Property for defining the minimum horizontal coordinate that is visible.
final public static  StringPROPERTY_GEO_RIGHT
     Property for defining the maximum horizontal coordinate that is visible.
final public static  StringPROPERTY_GEO_TOP
     Property for defining the minimum vertical coordinate that is visible.
final public static  StringPROPERTY_IMAGE
     Property for defining an image.
final public static  StringPROPERTY_LAYOUT_IN_CELL
     Property for defining that the shape is in a table cell.
final public static  StringPROPERTY_LINE_COLOR
     Property for defining the line color of the shape.
final public static  StringPROPERTY_VERTICIES
     Property for defining vertices in freeform shapes.

Constructor Summary
public  RtfShapeProperty(String name, long value)
     Constructs a RtfShapeProperty with a long value.
public  RtfShapeProperty(String name, double value)
     Constructs a RtfShapeProperty with a double value.
public  RtfShapeProperty(String name, boolean value)
     Constructs a RtfShapeProperty with a boolean value.
public  RtfShapeProperty(String name, Color value)
     Constructs a RtfShapeProperty with a Color value.
public  RtfShapeProperty(String name, int[] value)
     Constructs a RtfShapeProperty with an int array value.
public  RtfShapeProperty(String name, Point[] value)
     Constructs a RtfShapeProperty with a Point array value.
public  RtfShapeProperty(String name, Image value)
     Constructs a RtfShapeProperty with an Image value.

Method Summary
public  StringgetName()
     Gets the name of this RtfShapeProperty.
public  byte[]write()
     Writes the property definition.
public  voidwriteContent(OutputStream result)
     Writes the property definition.

Field Detail
PROPERTY_ADJUST_VALUE
final public static String PROPERTY_ADJUST_VALUE(Code)
Property for defining the first adjust handle for shapes. Used with the rounded rectangle. Requires a long value.



PROPERTY_FILL_COLOR
final public static String PROPERTY_FILL_COLOR(Code)
Property for defining the fill color of the shape. Requires a Color value.



PROPERTY_FLIP_H
final public static String PROPERTY_FLIP_H(Code)
Property for signalling a horizontal flip of the shape. Requires a boolean value.



PROPERTY_FLIP_V
final public static String PROPERTY_FLIP_V(Code)
Property for signalling a vertical flip of the shape. Requires a boolean value.



PROPERTY_GEO_BOTTOM
final public static String PROPERTY_GEO_BOTTOM(Code)
Property for defining the maximum vertical coordinate that is visible. Requires a long value.



PROPERTY_GEO_LEFT
final public static String PROPERTY_GEO_LEFT(Code)
Property for defining the minimum horizontal coordinate that is visible. Requires a long value.



PROPERTY_GEO_RIGHT
final public static String PROPERTY_GEO_RIGHT(Code)
Property for defining the maximum horizontal coordinate that is visible. Requires a long value.



PROPERTY_GEO_TOP
final public static String PROPERTY_GEO_TOP(Code)
Property for defining the minimum vertical coordinate that is visible. Requires a long value.



PROPERTY_IMAGE
final public static String PROPERTY_IMAGE(Code)
Property for defining an image.



PROPERTY_LAYOUT_IN_CELL
final public static String PROPERTY_LAYOUT_IN_CELL(Code)
Property for defining that the shape is in a table cell. Requires a boolean value.



PROPERTY_LINE_COLOR
final public static String PROPERTY_LINE_COLOR(Code)
Property for defining the line color of the shape. Requires a Color value.



PROPERTY_VERTICIES
final public static String PROPERTY_VERTICIES(Code)
Property for defining vertices in freeform shapes. Requires a Point array as the value.




Constructor Detail
RtfShapeProperty
public RtfShapeProperty(String name, long value)(Code)
Constructs a RtfShapeProperty with a long value.
Parameters:
  name - The property name to use.
Parameters:
  value - The long value to use.



RtfShapeProperty
public RtfShapeProperty(String name, double value)(Code)
Constructs a RtfShapeProperty with a double value.
Parameters:
  name - The property name to use.
Parameters:
  value - The double value to use.



RtfShapeProperty
public RtfShapeProperty(String name, boolean value)(Code)
Constructs a RtfShapeProperty with a boolean value.
Parameters:
  name - The property name to use.
Parameters:
  value - The boolean value to use.



RtfShapeProperty
public RtfShapeProperty(String name, Color value)(Code)
Constructs a RtfShapeProperty with a Color value.
Parameters:
  name - The property name to use.
Parameters:
  value - The Color value to use.



RtfShapeProperty
public RtfShapeProperty(String name, int[] value)(Code)
Constructs a RtfShapeProperty with an int array value.
Parameters:
  name - The property name to use.
Parameters:
  value - The int array to use.



RtfShapeProperty
public RtfShapeProperty(String name, Point[] value)(Code)
Constructs a RtfShapeProperty with a Point array value.
Parameters:
  name - The property name to use.
Parameters:
  value - The Point array to use.



RtfShapeProperty
public RtfShapeProperty(String name, Image value)(Code)
Constructs a RtfShapeProperty with an Image value.
Parameters:
  name - The property name to use.
Parameters:
  value - The Image to use.




Method Detail
getName
public String getName()(Code)
Gets the name of this RtfShapeProperty. The name of this RtfShapeProperty.



write
public byte[] write()(Code)
Writes the property definition. How the property is written depends on the property type. RtfShapeProperty.writeContent(OutputStream)



writeContent
public void writeContent(OutputStream result) throws IOException(Code)
Writes the property definition. How the property is written depends on the property type.



Fields inherited from com.lowagie.text.rtf.RtfAddableElement
protected RtfDocument doc(Code)(Java Doc)
protected boolean inHeader(Code)(Java Doc)
protected boolean inTable(Code)(Java Doc)

Methods inherited from com.lowagie.text.rtf.RtfAddableElement
public byte[] intToByteArray(int i)(Code)(Java Doc)
public boolean isEmpty()(Code)(Java Doc)
public void setInHeader(boolean inHeader)(Code)(Java Doc)
public void setInTable(boolean inTable)(Code)(Java Doc)
public void setRtfDocument(RtfDocument doc)(Code)(Java Doc)
abstract public byte[] write()(Code)(Java Doc)
public void writeContent(OutputStream out) throws IOException(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.