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


java.lang.Object
   com.lowagie.text.pdf.ArabicLigaturizer

ArabicLigaturizer
public class ArabicLigaturizer (Code)
Shape arabic characters. This code was converted from a C version at www.pango.org.
author:
   Paulo Soares (psoares@consiste.pt)

Inner Class :static class charstruct

Field Summary
final public static  intDIGITS_AN2EN
     Digit shaping option: Replace Arabic-Indic digits by European digits (U+0030...U+0039).
final public static  intDIGITS_EN2AN
     Digit shaping option: Replace European digits (U+0030...U+0039) by Arabic-Indic digits.
final public static  intDIGITS_EN2AN_INIT_AL
     Digit shaping option: Replace European digits (U+0030...U+0039) by Arabic-Indic digits if the most recent strongly directional character is an Arabic letter (its Bidi direction value is RIGHT_TO_LEFT_ARABIC).
final public static  intDIGITS_EN2AN_INIT_LR
     Digit shaping option: Replace European digits (U+0030...U+0039) by Arabic-Indic digits if the most recent strongly directional character is an Arabic letter (its Bidi direction value is RIGHT_TO_LEFT_ARABIC).
final public static  intDIGITS_MASK
     Bit mask for digit shaping options.
final public static  intDIGIT_TYPE_AN
     Digit type option: Use Arabic-Indic digits (U+0660...U+0669).
final public static  intDIGIT_TYPE_AN_EXTENDED
     Digit type option: Use Eastern (Extended) Arabic-Indic digits (U+06f0...U+06f9).
final public static  intDIGIT_TYPE_MASK
     Bit mask for digit type options.
final public static  intar_composedtashkeel
    
final public static  intar_lig
    
final public static  intar_nothing
    
final public static  intar_novowel
    


Method Summary
static  intarabic_shape(char src, int srcoffset, int srclength, char dest, int destoffset, int destlength, int level)
    
static  charcharshape(char s, int which)
    
static  booleanconnects_to_left(charstruct a)
    
static  voidcopycstostring(StringBuffer string, charstruct s, int level)
    
static  voiddoublelig(StringBuffer string, int level)
    
static  booleanisVowel(char s)
    
static  intligature(char newchar, charstruct oldchar)
    
static  voidprocessNumbers(char text, int offset, int length, int options)
    
static  voidshape(char text, StringBuffer string, int level)
    
static  voidshapeToArabicDigitsWithContext(char[] dest, int start, int length, char digitBase, boolean lastStrongWasAL)
    
static  intshapecount(char s)
    

Field Detail
DIGITS_AN2EN
final public static int DIGITS_AN2EN(Code)
Digit shaping option: Replace Arabic-Indic digits by European digits (U+0030...U+0039).



DIGITS_EN2AN
final public static int DIGITS_EN2AN(Code)
Digit shaping option: Replace European digits (U+0030...U+0039) by Arabic-Indic digits.



DIGITS_EN2AN_INIT_AL
final public static int DIGITS_EN2AN_INIT_AL(Code)
Digit shaping option: Replace European digits (U+0030...U+0039) by Arabic-Indic digits if the most recent strongly directional character is an Arabic letter (its Bidi direction value is RIGHT_TO_LEFT_ARABIC). The initial state at the start of the text is assumed to be an Arabic, letter, so European digits at the start of the text will change. Compare to DIGITS_ALEN2AN_INT_LR.



DIGITS_EN2AN_INIT_LR
final public static int DIGITS_EN2AN_INIT_LR(Code)
Digit shaping option: Replace European digits (U+0030...U+0039) by Arabic-Indic digits if the most recent strongly directional character is an Arabic letter (its Bidi direction value is RIGHT_TO_LEFT_ARABIC). The initial state at the start of the text is assumed to be not an Arabic, letter, so European digits at the start of the text will not change. Compare to DIGITS_ALEN2AN_INIT_AL.



DIGITS_MASK
final public static int DIGITS_MASK(Code)
Bit mask for digit shaping options.



DIGIT_TYPE_AN
final public static int DIGIT_TYPE_AN(Code)
Digit type option: Use Arabic-Indic digits (U+0660...U+0669).



DIGIT_TYPE_AN_EXTENDED
final public static int DIGIT_TYPE_AN_EXTENDED(Code)
Digit type option: Use Eastern (Extended) Arabic-Indic digits (U+06f0...U+06f9).



DIGIT_TYPE_MASK
final public static int DIGIT_TYPE_MASK(Code)
Bit mask for digit type options.



ar_composedtashkeel
final public static int ar_composedtashkeel(Code)



ar_lig
final public static int ar_lig(Code)



ar_nothing
final public static int ar_nothing(Code)



ar_novowel
final public static int ar_novowel(Code)





Method Detail
arabic_shape
static int arabic_shape(char src, int srcoffset, int srclength, char dest, int destoffset, int destlength, int level)(Code)



charshape
static char charshape(char s, int which)(Code)



connects_to_left
static boolean connects_to_left(charstruct a)(Code)



copycstostring
static void copycstostring(StringBuffer string, charstruct s, int level)(Code)



doublelig
static void doublelig(StringBuffer string, int level)(Code)



isVowel
static boolean isVowel(char s)(Code)



ligature
static int ligature(char newchar, charstruct oldchar)(Code)



processNumbers
static void processNumbers(char text, int offset, int length, int options)(Code)



shape
static void shape(char text, StringBuffer string, int level)(Code)



shapeToArabicDigitsWithContext
static void shapeToArabicDigitsWithContext(char[] dest, int start, int length, char digitBase, boolean lastStrongWasAL)(Code)



shapecount
static int shapecount(char s)(Code)



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.