com.itextpdf.text.pdf.languages
Interface LanguageProcessor

All Known Implementing Classes:
ArabicLigaturizer, DevanagariLigaturizer, GujaratiLigaturizer, HebrewProcessor, IndicLigaturizer

public interface LanguageProcessor

Interface that needs to be implemented by classes that process bytes representing text in specific languages. Processing involves changing order to Right to Left and/or applying ligatures.


Method Summary
 boolean isRTL()
          Indicates if the rundirection is right-to-left.
 String process(String s)
          Processes a String
 

Method Detail

process

String process(String s)
Processes a String

Parameters:
s - the original String
Returns:
the processed String

isRTL

boolean isRTL()
Indicates if the rundirection is right-to-left.

Returns:
true if text needs to be rendered from right to left.


Copyright © 2013. All Rights Reserved.