home *** CD-ROM | disk | FTP | other *** search
/ Clickx 115 / Clickx 115.iso / software / tools / windows / tails-i386-0.16.iso / live / filesystem.squashfs / usr / include / scribus-ng / text / specialchars.h < prev    next >
Encoding:
C/C++ Source or Header  |  2008-02-22  |  1.9 KB  |  58 lines

  1. /*
  2.  For general Scribus (>=1.3.2) copyright and licensing information please refer
  3.  to the COPYING file provided with the program. Following this notice may exist
  4.  a copyright and/or license notice that predates the release of Scribus 1.3.2
  5.  for which a new license (GPL+exception) is in place.
  6.  */
  7. /***************************************************************************
  8. pageitem.cpp  -  description
  9. -------------------
  10.     begin                : Sat Apr 7 2001
  11.     copyright            : (C) 2001 by Franz Schmid
  12.     email                : Franz.Schmid@altmuehlnet.de
  13.     ***************************************************************************/
  14.  
  15. /***************************************************************************
  16. *                                                                         *
  17. *   This program is free software; you can redistribute it and/or modify  *
  18. *   it under the terms of the GNU General Public License as published by  *
  19. *   the Free Software Foundation; either version 2 of the License, or     *
  20. *   (at your option) any later version.                                   *
  21. *                                                                         *
  22. ***************************************************************************/
  23.  
  24.  
  25. #ifndef SPECIALCHARS_H
  26. #define SPECIALCHARS_H
  27.  
  28.  
  29. #include <QString>
  30. #include "scribusapi.h"
  31.  
  32. class SCRIBUS_API SpecialChars {
  33. public:
  34.     static QChar OBJECT;
  35.     static QChar TAB;
  36.     static QChar PARSEP;
  37.     static QChar LINEBREAK;
  38.     static QChar COLBREAK;
  39.     static QChar FRAMEBREAK;
  40.     static QChar SHYPHEN;
  41.     static QChar OLD_NBHYPHEN;
  42.     static QChar OLD_NBSPACE;
  43.     static QChar NBHYPHEN;
  44.     static QChar NBSPACE;
  45.     static QChar ZWNBSPACE;
  46.     static QChar ZWSPACE;
  47.     static QChar PAGENUMBER;
  48.     static QChar PAGECOUNT;
  49.     static QChar BLANK;
  50.     
  51.     static bool isBreak(QChar c, bool includeColBreak = true);
  52.     static bool isBreakingSpace(QChar c);
  53.     static bool isExpandingSpace(QChar c);
  54.  
  55. };
  56.  
  57. #endif
  58.