libunibreak: src/linebreakdef.c File Reference

# src/linebreakdef.c File Reference

Definition of language-specific data. More...

`#include "linebreak.h"`
`#include "linebreakdef.h"`
Include dependency graph for linebreakdef.c:

## Variables
static struct LineBreakProperties | lb_prop_English []
| English-specifc data over the default Unicode rules.
static struct LineBreakProperties | lb_prop_German []
| German-specifc data over the default Unicode rules.
static struct LineBreakProperties | lb_prop_Spanish []
| Spanish-specifc data over the default Unicode rules.
static struct LineBreakProperties | lb_prop_French []
| French-specifc data over the default Unicode rules.
static struct LineBreakProperties | lb_prop_Russian []
| Russian-specifc data over the default Unicode rules.
static struct LineBreakProperties | lb_prop_Chinese []
| Chinese-specifc data over the default Unicode rules.
struct LineBreakPropertiesLang | lb_prop_lang_map []
| Association data of language-specific line breaking properties with language names.

## Detailed Description

Definition of language-specific data.

Version:
  2.2, 2012/10/06

Author:
  Wu Yongwei

## Variable Documentation

struct LineBreakProperties lb_prop_Chinese[]`[static]`

Initial value:

     {
        { 0x2018, 0x2018, LBP_OP },
        { 0x2019, 0x2019, LBP_CL },
        { 0x201C, 0x201C, LBP_OP },
        { 0x201D, 0x201D, LBP_CL },
        { 0, 0, LBP_Undefined }
    }

Chinese-specifc data over the default Unicode rules.

struct LineBreakProperties lb_prop_English[]`[static]`

Initial value:

     {
        { 0x2018, 0x2018, LBP_OP },
        { 0x201C, 0x201C, LBP_OP },
        { 0x201D, 0x201D, LBP_CL },
        { 0, 0, LBP_Undefined }
    }

English-specifc data over the default Unicode rules.

struct LineBreakProperties lb_prop_French[]`[static]`

Initial value:

     {
        { 0x00AB, 0x00AB, LBP_OP },
        { 0x00BB, 0x00BB, LBP_CL },
        { 0x2018, 0x2018, LBP_OP },
        { 0x201C, 0x201C, LBP_OP },
        { 0x201D, 0x201D, LBP_CL },
        { 0x2039, 0x2039, LBP_OP },
        { 0x203A, 0x203A, LBP_CL },
        { 0, 0, LBP_Undefined }
    }

French-specifc data over the default Unicode rules.

struct LineBreakProperties lb_prop_German[]`[static]`

Initial value:

     {
        { 0x00AB, 0x00AB, LBP_CL },
        { 0x00BB, 0x00BB, LBP_OP },
        { 0x2018, 0x2018, LBP_CL },
        { 0x201C, 0x201C, LBP_CL },
        { 0x2039, 0x2039, LBP_CL },
        { 0x203A, 0x203A, LBP_OP },
        { 0, 0, LBP_Undefined }
    }

German-specifc data over the default Unicode rules.

struct LineBreakPropertiesLang lb_prop_lang_map[]

Initial value:

     {
        { "en", 2, lb_prop_English },
        { "de", 2, lb_prop_German },
        { "es", 2, lb_prop_Spanish },
        { "fr", 2, lb_prop_French },
        { "ru", 2, lb_prop_Russian },
        { "zh", 2, lb_prop_Chinese },
        { NULL, 0, NULL }
    }

Association data of language-specific line breaking properties with language names.

This is the definition for the static data in this file. If you want more flexibility, or do not need the data here, you may want to redefine lb_prop_lang_map in your C source file.

struct LineBreakProperties lb_prop_Russian[]`[static]`

Initial value:

     {
        { 0x00AB, 0x00AB, LBP_OP },
        { 0x00BB, 0x00BB, LBP_CL },
        { 0x201C, 0x201C, LBP_CL },
        { 0, 0, LBP_Undefined }
    }

Russian-specifc data over the default Unicode rules.

struct LineBreakProperties lb_prop_Spanish[]`[static]`

Initial value:

     {
        { 0x00AB, 0x00AB, LBP_OP },
        { 0x00BB, 0x00BB, LBP_CL },
        { 0x2018, 0x2018, LBP_OP },
        { 0x201C, 0x201C, LBP_OP },
        { 0x201D, 0x201D, LBP_CL },
        { 0x2039, 0x2039, LBP_OP },
        { 0x203A, 0x203A, LBP_CL },
        { 0, 0, LBP_Undefined }
    }

Spanish-specifc data over the default Unicode rules.