Scribus Developer Documentation - API
logo-pen

Scribus Developer Documentation - API

specialchars.h

Go to the documentation of this file.
00001 /*
00002  For general Scribus (>=1.3.2) copyright and licensing information please refer
00003  to the COPYING file provided with the program. Following this notice may exist
00004  a copyright and/or license notice that predates the release of Scribus 1.3.2
00005  for which a new license (GPL+exception) is in place.
00006  */
00007 /***************************************************************************
00008 pageitem.cpp  -  description
00009 -------------------
00010     begin                : Sat Apr 7 2001
00011     copyright            : (C) 2001 by Franz Schmid
00012     email                : Franz.Schmid@altmuehlnet.de
00013     ***************************************************************************/
00014 
00015 /***************************************************************************
00016 *                                                                         *
00017 *   This program is free software; you can redistribute it and/or modify  *
00018 *   it under the terms of the GNU General Public License as published by  *
00019 *   the Free Software Foundation; either version 2 of the License, or     *
00020 *   (at your option) any later version.                                   *
00021 *                                                                         *
00022 ***************************************************************************/
00023 
00024 
00025 #ifndef SPECIALCHARS_H
00026 #define SPECIALCHARS_H
00027 
00028 
00029 #include <QString>
00030 #include "scribusapi.h"
00031 
00032 class SCRIBUS_API SpecialChars {
00033 public:
00034     static QChar OBJECT;
00035     static QChar TAB;
00036     static QChar PARSEP;
00037     static QChar LINEBREAK;
00038     static QChar COLBREAK;
00039     static QChar FRAMEBREAK;
00040     static QChar SHYPHEN;
00041     static QChar OLD_NBHYPHEN;
00042     static QChar OLD_NBSPACE;
00043     static QChar NBHYPHEN;
00044     static QChar NBSPACE;
00045     static QChar ZWNBSPACE;
00046     static QChar ZWSPACE;
00047     static QChar PAGENUMBER;
00048     static QChar BLANK;
00049     
00050     static bool isBreak(QChar c, bool includeColBreak = true);
00051     static bool isBreakingSpace(QChar c);
00052     static bool isExpandingSpace(QChar c);
00053 
00054 };
00055 
00056 #endif
Created with personalized Doxygen. This is documentation for GPL software Scribus - Open Source Desktop Publishing.