Hi Aaditya,
The language of a piece of text can be determined by examining the
character properties of every run.
The property that determines the language is "lang"
See the code in src/text/fmt/xp/*.(h,cpp)
In particular see fp_TextRun.(h,cpp) where there is a specific method
fp_TextRun::getLanguage()
Best regards,
Martin Sevior
On Sat, Apr 2, 2011 at 6:12 PM, aaditya chauhan
<aadityachauhan1@gmail.com> wrote:
>
> Hi Devs,
>
> Loading of a particular Hyphenation dictionary would be dependent, on
> which Language is used.Can u please tell me, how does Abiword identify
> the Language, and change its
> Text Layout Correspondingly. If you can please tell me the functions
> or files concerned
> it would be of great help.
>
> Regards,
>
> Aaditya Chauhan
>
Received on Sun Apr 3 00:29:22 2011
This archive was generated by hypermail 2.1.8 : Sun Apr 03 2011 - 00:29:22 CEST