#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
{
    /// <summary>
    /// Character table by name.
    /// </summary>
    public sealed class Chars
    {
        // ReSharper disable InconsistentNaming

        /// <summary>
        /// The EOF marker.
        /// </summary>
        public const char EOF = (char)65535; //unchecked((char)(-1));
        /// <summary>
        /// The null byte.
        /// </summary>
        public const char NUL = '\0';   // EOF
        /// <summary>
        /// The carriage return character (ignored by lexer).
        /// </summary>
        public const char CR = '\x0D'; // ignored by lexer
        /// <summary>
        /// The line feed character.
        /// </summary>
        public const char LF = '\x0A'; // Line feed
        /// <summary>
        /// The bell character.
        /// </summary>
        public const char BEL = '\a';   // Bell
        /// <summary>
        /// The backspace character.
        /// </summary>
        public const char BS = '\b';   // Backspace
        /// <summary>
        /// The form feed character.
        /// </summary>
        public const char FF = '\f';   // Form feed
        /// <summary>
        /// The horizontal tab character.
        /// </summary>
        public const char HT = '\t';   // Horizontal tab
        /// <summary>
        /// The vertical tab character.
        /// </summary>
        public const char VT = '\v';   // Vertical tab
        /// <summary>
        /// The non-breakable space character (aka no-break space or non-breaking space).
        /// </summary>
        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
        /// <summary>
        /// The space character.
        /// </summary>
        public const char SP = ' ';
        /// <summary>
        /// The double quote character.
        /// </summary>
        public const char QuoteDbl = '"';
        /// <summary>
        /// The single quote character.
        /// </summary>
        public const char QuoteSingle = '\'';
        /// <summary>
        /// The left parenthesis.
        /// </summary>
        public const char ParenLeft = '(';
        /// <summary>
        /// The right parenthesis.
        /// </summary>
        public const char ParenRight = ')';
        /// <summary>
        /// The left brace.
        /// </summary>
        public const char BraceLeft = '{';
        /// <summary>
        /// The right brace.
        /// </summary>
        public const char BraceRight = '}';
        /// <summary>
        /// The left bracket.
        /// </summary>
        public const char BracketLeft = '[';
        /// <summary>
        /// The right bracket.
        /// </summary>
        public const char BracketRight = ']';
        /// <summary>
        /// The less-than sign.
        /// </summary>
        public const char Less = '<';
        /// <summary>
        /// The greater-than sign.
        /// </summary>
        public const char Greater = '>';
        /// <summary>
        /// The equal sign.
        /// </summary>
        public const char Equal = '=';
        /// <summary>
        /// The period.
        /// </summary>
        public const char Period = '.';
        /// <summary>
        /// The semicolon.
        /// </summary>
        public const char Semicolon = ';';
        /// <summary>
        /// The colon.
        /// </summary>
        public const char Colon = ':';
        /// <summary>
        /// The slash.
        /// </summary>
        public const char Slash = '/';
        /// <summary>
        /// The bar character.
        /// </summary>
        public const char Bar = '|';
        /// <summary>
        /// The back slash.
        /// </summary>
        public const char BackSlash = '\\';
        /// <summary>
        /// The percent sign.
        /// </summary>
        public const char Percent = '%';
        /// <summary>
        /// The dollar sign.
        /// </summary>
        public const char Dollar = '$';
        /// <summary>
        /// The at sign.
        /// </summary>
        public const char At = '@';
        /// <summary>
        /// The number sign.
        /// </summary>
        public const char NumberSign = '#';
        /// <summary>
        /// The question mark.
        /// </summary>
        public const char Question = '?';
        /// <summary>
        /// The hyphen.
        /// </summary>
        public const char Hyphen = '-';  // char(45)
        /// <summary>
        /// The soft hyphen.
        /// </summary>
        public const char SoftHyphen = '­';  // char(173)
        /// <summary>
        /// The currency sign.
        /// </summary>
        public const char Currency = '¤';

        // ReSharper restore InconsistentNaming
    }
}
