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

« back to all changes in this revision

Viewing changes to lib/kformula/testformulaelement.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
 
#ifndef TESTFORMULAELEMENT_H
3
 
#define TESTFORMULAELEMENT_H
4
 
 
5
 
#include <TestCaller.h>
6
 
#include <TestCase.h>
7
 
#include <TestSuite.h>
8
 
 
9
 
#include "formuladefs.h"
10
 
 
11
 
class KCommandHistory;
12
 
 
13
 
KFORMULA_NAMESPACE_BEGIN
14
 
 
15
 
class BracketElement;
16
 
class FormulaElement;
17
 
class FormulaCursor;
18
 
class IndexElement;
19
 
class KFormulaContainer;
20
 
class KFormulaDocument;
21
 
class TextElement;
22
 
 
23
 
 
24
 
class TestFormulaElement : public TestCase {
25
 
public:
26
 
    TestFormulaElement(string name) : TestCase(name) {}
27
 
 
28
 
    static Test* suite();
29
 
 
30
 
    void setUp();
31
 
    void tearDown();
32
 
 
33
 
private:
34
 
 
35
 
    void testPosition();
36
 
 
37
 
    KCommandHistory* history;
38
 
    KFormulaDocument* document;
39
 
    KFormulaContainer* container;
40
 
    FormulaElement* rootElement;
41
 
    FormulaCursor* cursor;
42
 
 
43
 
    BracketElement* element1;
44
 
    TextElement* element2;
45
 
    IndexElement* element3;
46
 
    TextElement* element4;
47
 
    TextElement* element5;
48
 
};
49
 
 
50
 
KFORMULA_NAMESPACE_END
51
 
 
52
 
#endif // TESTFORMULAELEMENT_H