~ubuntu-branches/ubuntu/precise/koffice/precise

« back to all changes in this revision

Viewing changes to filters/kword/latex/export/anchor.h

  • Committer: Bazaar Package Importer
  • Author(s): Jonathan Riddell
  • Date: 2010-09-21 15:36:35 UTC
  • mfrom: (1.4.1 upstream) (60.2.11 maverick)
  • Revision ID: james.westby@ubuntu.com-20100921153635-6tejqkiro2u21ydi
Tags: 1:2.2.2-0ubuntu3
Add kubuntu_03_fix-crash-on-closing-sqlite-connection-2.2.2.diff and
kubuntu_04_support-large-memo-values-for-msaccess-2.2.2.diff as
recommended by upstream http://kexi-
project.org/wiki/wikiview/index.php@Kexi2.2_Patches.html#sqlite_stab
ility

Show diffs side-by-side

added added

removed removed

Lines of Context:
40
40
 */
41
41
class Anchor: public Format
42
42
{
43
 
        QString _type;
44
 
        QString _instance;
45
 
 
46
 
        public:
47
 
 
48
 
                /**
49
 
                 * Constructors
50
 
                 */
51
 
                
52
 
                /**
53
 
                 * Creates a new instances of Anchor.
54
 
                 *
55
 
                 * @param para the parent class.
56
 
                 */
57
 
                Anchor(Para* para = 0);
58
 
                //Anchor(TextZone);
59
 
 
60
 
                /**
61
 
                 * Destructor
62
 
                 *
63
 
                 * Nothing to do
64
 
                 */
65
 
                virtual ~Anchor();
66
 
 
67
 
                /**
68
 
                 * Accessors
69
 
                 */
70
 
                QString getType    () const { return _type; }
71
 
                QString getInstance() const { return _instance; }
72
 
 
73
 
                /**
74
 
                 * Modifiers
75
 
                 */
76
 
                void setType    (QString type) { _type   = type; }
77
 
                void setInstance(QString inst) { _instance = inst; }
78
 
 
79
 
                /**
80
 
                 * Helpful functions
81
 
                 */
82
 
 
83
 
                void analyze (const QDomNode);
84
 
 
85
 
                void generate(QTextStream&);
86
 
 
87
 
        //private:
 
43
    QString _type;
 
44
    QString _instance;
 
45
 
 
46
public:
 
47
 
 
48
    /**
 
49
     * Constructors
 
50
     */
 
51
 
 
52
    /**
 
53
     * Creates a new instances of Anchor.
 
54
     *
 
55
     * @param para the parent class.
 
56
     */
 
57
    Anchor(Para* para = 0);
 
58
    //Anchor(TextZone);
 
59
 
 
60
    /**
 
61
     * Destructor
 
62
     *
 
63
     * Nothing to do
 
64
     */
 
65
    virtual ~Anchor();
 
66
 
 
67
    /**
 
68
     * Accessors
 
69
     */
 
70
    QString getType() const {
 
71
        return _type;
 
72
    }
 
73
    QString getInstance() const {
 
74
        return _instance;
 
75
    }
 
76
 
 
77
    /**
 
78
     * Modifiers
 
79
     */
 
80
    void setType(QString type) {
 
81
        _type   = type;
 
82
    }
 
83
    void setInstance(QString inst) {
 
84
        _instance = inst;
 
85
    }
 
86
 
 
87
    /**
 
88
     * Helpful functions
 
89
     */
 
90
 
 
91
    void analyze(const QDomNode);
 
92
 
 
93
    void generate(QTextStream&);
 
94
 
 
95
    //private:
88
96
};
89
97
 
90
98