LibEngsas
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
src
espreadsheetprovider
espreadsheetproviderms
excelsheet.h
Go to the documentation of this file.
1
#ifndef EXCELSHEET_H
2
#define EXCELSHEET_H
3
4
#include <
espreadsheet.h
>
5
6
class
ESpreadsheetProvider
;
7
8
class
QAxObject;
9
10
class
ExcelSheet
:
public
ESpreadsheet
11
{
12
Q_OBJECT
13
public
:
14
ExcelSheet
(QAxObject *sheet,
ESpreadsheetProvider
*
provider
, QObject *parent = NULL);
15
21
enum
UnderlineStyle
{
22
UnderlineStyleDouble
= -4119,
23
UnderlineStyleDoubleAccounting
= 5,
24
UnderlineStyleNone
= -4142,
25
UnderlineStyleSingle
= 2,
26
UnderlineStyleSingleAccounting
= 4
27
};
33
enum
VerticalAlignment
{
34
VerticalAlignmentBottom
= -4107,
35
VerticalAlignmentCenter
= -4108,
36
VerticalAlignmentDistributed
= -4117,
37
VerticalAlignmentJustify
= -4130,
38
VerticalAlignmentTop
= -4160
39
};
45
enum
HorizontalAlignment
{
46
HorizontalAlignmentCenter
= -4108,
47
HorizontalAlignmentCenterAcrossSelection
= 7,
48
HorizontalAlignmentDistributed
= -4117,
49
HorizontalAlignmentFill
= 5,
50
HorizontalAlignmentGeneral
= 1,
51
HorizontalAlignmentJustify
= -4130,
52
HorizontalAlignmentLeft
= -4131,
53
HorizontalAlignmentRight
= -4152
54
};
55
59
enum
CellType
{
60
CellTypeLastCell
= 11
61
};
62
68
enum
ColorIndex
{
69
ColorIndexAutomatic
= -4105,
70
ColorIndexNone
= -4142
71
};
72
73
void
setName
(QString
name
);
74
bool
setData
(
ESpreadsheetCell
cell);
75
ESpreadsheetCell
data
(
int
row,
int
column)
const
;
76
int
rowCount
()
const
;
77
int
columnCount
()
const
;
78
79
private
:
80
QColor
convertColor
(QString vbaColorString)
const
;
81
82
QAxObject *
mySheet
;
83
};
84
85
#endif // EXCELSHEET_H
Generated by
1.8.1.2