Aspose::Words::ControlChar Class Reference

Control characters often encountered in documents. More...

#include "Aspose.Words.Cpp/Model/Text/ControlChar.h"

Static Public Member Functions

static System::StringCell ()
 End of a table cell or end of a table row character: "\\x0007" or "\\a". More...
 
static System::StringTab ()
 Tab character: "\\x0009" or "\\t". More...
 
static System::StringLf ()
 Line feed character: "\\x000a" or "\\n". Same as Aspose::Words::ControlChar::LineFeed. More...
 
static System::StringLineFeed ()
 Line feed character: "\\x000a" or "\\n". Same as Aspose::Words::ControlChar::Lf. More...
 
static System::StringLineBreak ()
 Line break character: "\\x000b" or "\\v". More...
 
static System::StringPageBreak ()
 Page break character: "\\x000c" or "\\f". Note it has the same value as Aspose::Words::ControlChar::SectionBreak. More...
 
static System::StringSectionBreak ()
 End of section character: "\\x000c" or "\\f". Note it has the same value as Aspose::Words::ControlChar::PageBreak. More...
 
static System::StringCr ()
 Carriage return character: "\\x000d" or "\\r". Same as Aspose::Words::ControlChar::ParagraphBreak. More...
 
static System::StringParagraphBreak ()
 End of paragraph character: "\\x000d" or "\\r". Same as Aspose::Words::ControlChar::Cr More...
 
static System::StringColumnBreak ()
 End of column character: "\\x000e". More...
 
static System::StringCrLf ()
 Carriage return followed by line feed character: "\\x000d\\x000a" or "\\r\\n". Not used as such in Microsoft Word documents, but commonly used in text files for paragraph breaks. More...
 
static System::StringNonBreakingSpace ()
 Non-breaking space character: "\\x00a0". More...
 

Static Public Attributes

static constexpr char16_t CellChar = (char16_t)7
 End of a table cell or end of a table row character: (char)7 or "\\a". More...
 
static constexpr char16_t TabChar = (char16_t)9
 Tab character: (char)9 or "\\t". More...
 
static constexpr char16_t LineFeedChar = (char16_t)10
 Line feed character: (char)10 or "\\n". More...
 
static constexpr char16_t LineBreakChar = (char16_t)11
 Line break character: (char)11 or "\\v". More...
 
static constexpr char16_t PageBreakChar = (char16_t)12
 Page break character: (char)12 or "\\f". More...
 
static constexpr char16_t SectionBreakChar = (char16_t)12
 End of section character: (char)12 or "\\f". More...
 
static constexpr char16_t ParagraphBreakChar = (char16_t)13
 End of paragraph character: (char)13 or "\\r". More...
 
static constexpr char16_t ColumnBreakChar = (char16_t)14
 End of column character: (char)14. More...
 
static constexpr char16_t FieldStartChar = (char16_t)19
 Start of MS Word field character: (char)19. More...
 
static constexpr char16_t FieldSeparatorChar = (char16_t)20
 Field separator character separates field code from field value. Optional in some fields. Value: (char)20. More...
 
static constexpr char16_t FieldEndChar = (char16_t)21
 End of MS Word field character: (char)21. More...
 
static constexpr char16_t NonBreakingHyphenChar = (char16_t)30
 Nonbreaking Hyphen in Microsoft Word is (char)30. More...
 
static constexpr char16_t OptionalHyphenChar = (char16_t)31
 Optional Hyphen in Microsoft Word is (char)31. More...
 
static constexpr char16_t SpaceChar = (char16_t)32
 Space character: (char)32. More...
 
static constexpr char16_t NonBreakingSpaceChar = u'\x00a0'
 Non-breaking space character: (char)160. More...
 
static constexpr char16_t DefaultTextInputChar = u'\x2002'
 This is the "o" character used as a default value in text input form fields. More...
 

Detailed Description

Control characters often encountered in documents.

Provides both char and string versions of the same constants. For example: string ControlChar.LineBreak and char ControlChar.LineBreakChar have the same value.

Member Function Documentation

◆ Cell()

static System::String& Aspose::Words::ControlChar::Cell ( )
static

End of a table cell or end of a table row character: "\\x0007" or "\\a".

◆ ColumnBreak()

static System::String& Aspose::Words::ControlChar::ColumnBreak ( )
static

End of column character: "\\x000e".

◆ Cr()

static System::String& Aspose::Words::ControlChar::Cr ( )
static

Carriage return character: "\\x000d" or "\\r". Same as Aspose::Words::ControlChar::ParagraphBreak.

◆ CrLf()

static System::String& Aspose::Words::ControlChar::CrLf ( )
static

Carriage return followed by line feed character: "\\x000d\\x000a" or "\\r\\n". Not used as such in Microsoft Word documents, but commonly used in text files for paragraph breaks.

◆ Lf()

static System::String& Aspose::Words::ControlChar::Lf ( )
static

Line feed character: "\\x000a" or "\\n". Same as Aspose::Words::ControlChar::LineFeed.

◆ LineBreak()

static System::String& Aspose::Words::ControlChar::LineBreak ( )
static

Line break character: "\\x000b" or "\\v".

◆ LineFeed()

static System::String& Aspose::Words::ControlChar::LineFeed ( )
static

Line feed character: "\\x000a" or "\\n". Same as Aspose::Words::ControlChar::Lf.

◆ NonBreakingSpace()

static System::String& Aspose::Words::ControlChar::NonBreakingSpace ( )
static

Non-breaking space character: "\\x00a0".

◆ PageBreak()

static System::String& Aspose::Words::ControlChar::PageBreak ( )
static

Page break character: "\\x000c" or "\\f". Note it has the same value as Aspose::Words::ControlChar::SectionBreak.

◆ ParagraphBreak()

static System::String& Aspose::Words::ControlChar::ParagraphBreak ( )
static

End of paragraph character: "\\x000d" or "\\r". Same as Aspose::Words::ControlChar::Cr

◆ SectionBreak()

static System::String& Aspose::Words::ControlChar::SectionBreak ( )
static

End of section character: "\\x000c" or "\\f". Note it has the same value as Aspose::Words::ControlChar::PageBreak.

◆ Tab()

static System::String& Aspose::Words::ControlChar::Tab ( )
static

Tab character: "\\x0009" or "\\t".

Member Data Documentation

◆ CellChar

constexpr char16_t Aspose::Words::ControlChar::CellChar = (char16_t)7
staticconstexpr

End of a table cell or end of a table row character: (char)7 or "\\a".

◆ ColumnBreakChar

constexpr char16_t Aspose::Words::ControlChar::ColumnBreakChar = (char16_t)14
staticconstexpr

End of column character: (char)14.

◆ DefaultTextInputChar

constexpr char16_t Aspose::Words::ControlChar::DefaultTextInputChar = u'\x2002'
staticconstexpr

This is the "o" character used as a default value in text input form fields.

◆ FieldEndChar

constexpr char16_t Aspose::Words::ControlChar::FieldEndChar = (char16_t)21
staticconstexpr

End of MS Word field character: (char)21.

◆ FieldSeparatorChar

constexpr char16_t Aspose::Words::ControlChar::FieldSeparatorChar = (char16_t)20
staticconstexpr

Field separator character separates field code from field value. Optional in some fields. Value: (char)20.

◆ FieldStartChar

constexpr char16_t Aspose::Words::ControlChar::FieldStartChar = (char16_t)19
staticconstexpr

Start of MS Word field character: (char)19.

◆ LineBreakChar

constexpr char16_t Aspose::Words::ControlChar::LineBreakChar = (char16_t)11
staticconstexpr

Line break character: (char)11 or "\\v".

◆ LineFeedChar

constexpr char16_t Aspose::Words::ControlChar::LineFeedChar = (char16_t)10
staticconstexpr

Line feed character: (char)10 or "\\n".

◆ NonBreakingHyphenChar

constexpr char16_t Aspose::Words::ControlChar::NonBreakingHyphenChar = (char16_t)30
staticconstexpr

Nonbreaking Hyphen in Microsoft Word is (char)30.

Nonbreaking Hyphen in Microsoft Word does not correspond to the Unicode character U+2011 non-breaking hyphen but instead represents internal information that tells Microsoft Word to display a hyphen and not to break a line.

Useful info: http://www.cs.tut.fi/~jkorpela/dashes.html#linebreaks.

◆ NonBreakingSpaceChar

constexpr char16_t Aspose::Words::ControlChar::NonBreakingSpaceChar = u'\x00a0'
staticconstexpr

Non-breaking space character: (char)160.

◆ OptionalHyphenChar

constexpr char16_t Aspose::Words::ControlChar::OptionalHyphenChar = (char16_t)31
staticconstexpr

Optional Hyphen in Microsoft Word is (char)31.

Optional Hyphen in Microsoft Word does not correspond to the Unicode character U+00AD soft hyphen. Instead, it inserts internal information that tells Word about a possible hyphenation point.

◆ PageBreakChar

constexpr char16_t Aspose::Words::ControlChar::PageBreakChar = (char16_t)12
staticconstexpr

Page break character: (char)12 or "\\f".

◆ ParagraphBreakChar

constexpr char16_t Aspose::Words::ControlChar::ParagraphBreakChar = (char16_t)13
staticconstexpr

End of paragraph character: (char)13 or "\\r".

◆ SectionBreakChar

constexpr char16_t Aspose::Words::ControlChar::SectionBreakChar = (char16_t)12
staticconstexpr

End of section character: (char)12 or "\\f".

◆ SpaceChar

constexpr char16_t Aspose::Words::ControlChar::SpaceChar = (char16_t)32
staticconstexpr

Space character: (char)32.

◆ TabChar

constexpr char16_t Aspose::Words::ControlChar::TabChar = (char16_t)9
staticconstexpr

Tab character: (char)9 or "\\t".