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

« back to all changes in this revision

Viewing changes to kugar/kudesigner_lib/canvdefs.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
                          candefs.h  -  description
 
3
                             -------------------
 
4
    begin                : 07.06.2002
 
5
    copyright            : (C) 2002 by Alexander Dymo
 
6
    email                : cloudtemple@mksat.net
 
7
 ***************************************************************************/
 
8
 
 
9
/***************************************************************************
 
10
 *                                                                         *
 
11
 *   This program is free software; you can redistribute it and/or modify  *
 
12
 *   it under the terms of the GNU Library General Public License as       *
 
13
 *   published by the Free Software Foundation; either version 2 of the    *
 
14
 *   License, or (at your option) any later version.                       *
 
15
 *                                                                         *
 
16
 ***************************************************************************/
 
17
#ifndef CANVDEFS_H
 
18
#define CANVDEFS_H
 
19
 
 
20
#include <qapplication.h>
 
21
#include <qcanvas.h>
 
22
#include <qstringlist.h>
 
23
 
 
24
enum KuDesignerCanvasRtti { KuDesignerRttiCanvasBox = 1700, KuDesignerRttiCanvasSection, KuDesignerRttiCanvasBand,
 
25
    KuDesignerRttiKugarTemplate=1800, KuDesignerRttiReportHeader, KuDesignerRttiPageHeader, KuDesignerRttiDetailHeader,
 
26
    KuDesignerRttiDetail, KuDesignerRttiDetailFooter, KuDesignerRttiPageFooter, KuDesignerRttiReportFooter,
 
27
    KuDesignerRttiTextBox=2000, KuDesignerRttiCanvasReportItem, KuDesignerRttiCanvasLabel, KuDesignerRttiCanvasField,
 
28
    KuDesignerRttiCanvasSpecial, KuDesignerRttiCanvasCalculated, KuDesignerRttiCanvasLine};
 
29
 
 
30
namespace KuDesigner{
 
31
    QString insertItemActionName(int rtti);
 
32
}
 
33
 
 
34
/**
 
35
    Holder size for report items. TODO: configurable
 
36
*/
 
37
const int HolderSize = 6;
 
38
 
 
39
const int defaultItemWidth = 50;
 
40
const int defaultItemHeight = 20;
 
41
 
 
42
#endif