English:

The Free and Open Productivity Suite
Help us Help the World

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous


:: com :: sun :: star :: text ::

constants group ControlCharacter
Description
These constants are the codes for inserting control characters using XSimpleText::insertControlCharacter interface.
Developers Guide
Text - Editing Text - Control Characters

Constants
PARAGRAPH_BREAK This control character starts a new paragraph.  
LINE_BREAK This control character starts a new line in a paragraph.  
HARD_HYPHEN This control character equals a dash but prevents this position from being hyphenated.  
SOFT_HYPHEN This control character defines a special position as a hyphenation point. If a word containing a soft hyphen must be split at the end of a line, then this position is preferred.  
HARD_SPACE This control character is used to link two words and prevents this concatenation from being hyphenated. It is printed as a space.  
APPEND_PARAGRAPH This control character appends a new paragraph.  
Constants' Details
PARAGRAPH_BREAK
const short PARAGRAPH_BREAK = 0;
Description
This control character starts a new paragraph.
LINE_BREAK
const short LINE_BREAK = 1;
Description
This control character starts a new line in a paragraph.
HARD_HYPHEN
const short HARD_HYPHEN = 2;
Description
This control character equals a dash but prevents this position from being hyphenated.
SOFT_HYPHEN
const short SOFT_HYPHEN = 3;
Description
This control character defines a special position as a hyphenation point. If a word containing a soft hyphen must be split at the end of a line, then this position is preferred.
HARD_SPACE
const short HARD_SPACE = 4;
Description
This control character is used to link two words and prevents this concatenation from being hyphenated. It is printed as a space.
APPEND_PARAGRAPH
const short APPEND_PARAGRAPH = 5;
Description
This control character appends a new paragraph.
Top of Page

Logo ApacheCon Europe 2014

Apache Feather

Copyright & License | Privacy | Website Feedback | Contact Us | Donate | Thanks

Apache, the Apache feather logo, and OpenOffice are trademarks of The Apache Software Foundation. OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.