-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathGlobalsSubstream.h
35 lines (28 loc) · 912 Bytes
/
GlobalsSubstream.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#ifndef WORKGLOBAL_H
#define WORKGLOBAL_H
#include <QtCore>
#include "RecordReader.h"
#include "RecordParser.h"
namespace ExceLite
{
////////////////////////////////////////////////////////////////////////////////////////
class QGlobalsSubstream
{
public:
QGlobalsSubstream();
QString& getString(size_t index);
size_t appendString(QString str){_listString.append(str);return _listString.count()-1;}
size_t getStringCount(){return _listString.count();}
//private:
qint64 readGlobal(RecordIO& recIO);
size_t getSheetCount(){return _boundsheets.size();}
//bool getSheet(qint16& index,qint32&pos,QString& name);
QVector<Boundsheet> _boundsheets;
private:
QVector<Font> _fonts;
QVector<Xf> _xf;
QMap<qint16, QString> _formats;
QStringList _listString;
};
}// end name space
#endif // WORKGLOBAL_H