~ubuntu-branches/ubuntu/breezy/koffice/breezy

« back to all changes in this revision

Viewing changes to filters/kword/rtf/import/KRTFToken.h

  • Committer: Bazaar Package Importer
  • Author(s): Ben Burton
  • Date: 2004-05-09 11:33:00 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20040509113300-vfrdadqsvjfuhn3b
Tags: 1:1.3.1-1
* New upstream bugfix release.
* Built against newer imagemagick (closes: #246623).
* Made koffice-libs/kformula recommend/depend on latex-xft-fonts, which
  provides mathematical fonts that the formula editor can use.  Also
  patched the kformula part to make these fonts the default.
* Changed kword menu hint from "WordProcessors" to "Word processors"
  (closes: #246209).
* Spellchecker configuration is now fixed (closes: #221256, #227568).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/**
2
 
 * $Id: KRTFToken.h,v 1.3 1999/10/20 10:26:22 kulow Exp $
3
 
 */
4
 
 
5
 
#ifndef __KRTFTOKEN_H__
6
 
#define __KRTFTOKEN_H__
7
 
 
8
 
#include <qstring.h>
9
 
#include <qobject.h>
10
 
 
11
 
enum KRTFTokenType { TokenEOF = -1, Unknown, ControlWord, ControlSymbol, OpenGroup, CloseGroup, PlainText };
12
 
 
13
 
class KRTFToken : public QObject
14
 
{
15
 
public:
16
 
    KRTFTokenType _type;
17
 
    QString _text;
18
 
    QString _param;
19
 
 
20
 
    KRTFToken( QObject* parent ) :
21
 
        QObject( parent ) 
22
 
        {
23
 
            _type = Unknown;
24
 
        }
25
 
};
26
 
 
27
 
 
28
 
 
29
 
#endif