#region PDFsharp - A .NET library for processing PDF // // Authors: // Stefan Lange // // Copyright (c) 2005-2017 empira Software GmbH, Cologne Area (Germany) // // http://www.pdfsharp.com // http://sourceforge.net/projects/pdfsharp // // Permission is hereby granted, free of charge, to any person obtaining a // copy of this software and associated documentation files (the "Software"), // to deal in the Software without restriction, including without limitation // the rights to use, copy, modify, merge, publish, distribute, sublicense, // and/or sell copies of the Software, and to permit persons to whom the // Software is furnished to do so, subject to the following conditions: // // The above copyright notice and this permission notice shall be included // in all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL // THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. #endregion namespace PdfSharp.Pdf.IO { /// /// Character table by name. /// public sealed class Chars { // ReSharper disable InconsistentNaming /// /// The EOF marker. /// public const char EOF = (char)65535; //unchecked((char)(-1)); /// /// The null byte. /// public const char NUL = '\0'; // EOF /// /// The carriage return character (ignored by lexer). /// public const char CR = '\x0D'; // ignored by lexer /// /// The line feed character. /// public const char LF = '\x0A'; // Line feed /// /// The bell character. /// public const char BEL = '\a'; // Bell /// /// The backspace character. /// public const char BS = '\b'; // Backspace /// /// The form feed character. /// public const char FF = '\f'; // Form feed /// /// The horizontal tab character. /// public const char HT = '\t'; // Horizontal tab /// /// The vertical tab character. /// public const char VT = '\v'; // Vertical tab /// /// The non-breakable space character (aka no-break space or non-breaking space). /// public const char NonBreakableSpace = (char)160; // char(160) // The following names come from "PDF Reference Third Edition" // Appendix D.1, Latin Character Set and Encoding /// /// The space character. /// public const char SP = ' '; /// /// The double quote character. /// public const char QuoteDbl = '"'; /// /// The single quote character. /// public const char QuoteSingle = '\''; /// /// The left parenthesis. /// public const char ParenLeft = '('; /// /// The right parenthesis. /// public const char ParenRight = ')'; /// /// The left brace. /// public const char BraceLeft = '{'; /// /// The right brace. /// public const char BraceRight = '}'; /// /// The left bracket. /// public const char BracketLeft = '['; /// /// The right bracket. /// public const char BracketRight = ']'; /// /// The less-than sign. /// public const char Less = '<'; /// /// The greater-than sign. /// public const char Greater = '>'; /// /// The equal sign. /// public const char Equal = '='; /// /// The period. /// public const char Period = '.'; /// /// The semicolon. /// public const char Semicolon = ';'; /// /// The colon. /// public const char Colon = ':'; /// /// The slash. /// public const char Slash = '/'; /// /// The bar character. /// public const char Bar = '|'; /// /// The back slash. /// public const char BackSlash = '\\'; /// /// The percent sign. /// public const char Percent = '%'; /// /// The dollar sign. /// public const char Dollar = '$'; /// /// The at sign. /// public const char At = '@'; /// /// The number sign. /// public const char NumberSign = '#'; /// /// The question mark. /// public const char Question = '?'; /// /// The hyphen. /// public const char Hyphen = '-'; // char(45) /// /// The soft hyphen. /// public const char SoftHyphen = '­'; // char(173) /// /// The currency sign. /// public const char Currency = '¤'; // ReSharper restore InconsistentNaming } }