libunibreak: linebreakdef.c File Reference

libunibreak 4.3

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

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

## Detailed Description

Definition of language-specific data.

Author
  Wu Yongwei

## Variable Documentation

## ◆ lb_prop_Chinese

const 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.

## ◆ lb_prop_English

const 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.

## ◆ lb_prop_French

const 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.

## ◆ lb_prop_German

const struct LineBreakProperties lb_prop_German[]
| static

Initial value:
= {
{ 0x00AB, 0x00AB, LBP_CL },
{ 0x00BB, 0x00BB, LBP_OP },
{ 0x2018, 0x2018, LBP_CL },
{ 0x2019, 0x2019, LBP_GL },
{ 0x201C, 0x201C, LBP_CL },
{ 0x2039, 0x2039, LBP_CL },
{ 0x203A, 0x203A, LBP_OP },
{ 0, 0, LBP_Undefined }
}

German-specifc data over the default Unicode rules.

## ◆ lb_prop_lang_map

const 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.

## ◆ lb_prop_Russian

const 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.

## ◆ lb_prop_Spanish

const 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.

LBP_Undefined
@ LBP_Undefined
Undefined.
Definition: linebreakdef.h:61
LBP_GL
@ LBP_GL
Glue.
Definition: linebreakdef.h:68
lb_prop_German
static const struct LineBreakProperties lb_prop_German[]
German-specifc data over the default Unicode rules.
Definition: linebreakdef.c:51
lb_prop_Spanish
static const struct LineBreakProperties lb_prop_Spanish[]
Spanish-specifc data over the default Unicode rules.
Definition: linebreakdef.c:65
LBP_OP
@ LBP_OP
Opening punctuation.
Definition: linebreakdef.h:64
LBP_CL
@ LBP_CL
Closing punctuation.
Definition: linebreakdef.h:65
lb_prop_English
static const struct LineBreakProperties lb_prop_English[]
English-specifc data over the default Unicode rules.
Definition: linebreakdef.c:41
lb_prop_Russian
static const struct LineBreakProperties lb_prop_Russian[]
Russian-specifc data over the default Unicode rules.
Definition: linebreakdef.c:93
lb_prop_Chinese
static const struct LineBreakProperties lb_prop_Chinese[]
Chinese-specifc data over the default Unicode rules.
Definition: linebreakdef.c:103
lb_prop_French
static const struct LineBreakProperties lb_prop_French[]
French-specifc data over the default Unicode rules.
Definition: linebreakdef.c:79