21 #ifndef ORIGIN_ANY_PARSER_H 22 #define ORIGIN_ANY_PARSER_H 25 #include "endianfstream.hh" 36 bool parse()
override;
39 unsigned int readObjectSize();
40 string readObjectAsString(
unsigned int);
41 void readFileVersion();
42 void readGlobalHeader();
43 bool readDataSetElement();
44 bool readWindowElement();
45 bool readLayerElement();
46 unsigned int readAnnotationList();
47 bool readAnnotationElement();
48 bool readCurveElement();
49 bool readAxisBreakElement();
50 bool readAxisParameterElement(
unsigned int);
51 bool readParameterElement();
52 bool readNoteElement();
53 void readProjectTree();
54 unsigned int readFolderTree(tree<ProjectNode>::iterator,
unsigned int);
55 void readProjectLeaf(tree<ProjectNode>::iterator);
56 void readAttachmentList();
57 bool getColumnInfoAndData(
const string&,
unsigned int,
const string&,
unsigned int);
58 void getMatrixValues(
const string&,
unsigned int,
short,
char,
char, vector<Origin::Matrix>::difference_type);
59 void getWindowProperties(
Origin::Window&,
const string&,
unsigned int);
60 void getLayerProperties(
const string&,
unsigned int);
62 void getAnnotationProperties(
const string&,
unsigned int,
const string&,
unsigned int,
const string&,
unsigned int,
const string&,
unsigned int);
63 void getCurveProperties(
const string&,
unsigned int,
const string&,
unsigned int);
64 void getAxisBreakProperties(
const string&,
unsigned int);
65 void getAxisParameterProperties(
const string&,
unsigned int,
int);
66 void getNoteProperties(
const string&,
unsigned int,
const string&,
unsigned int,
const string&,
unsigned int);
67 void getColorMap(
ColorMap&,
const string&,
unsigned int);
68 void getZcolorsMap(
ColorMap&,
const string&,
unsigned int);
69 void getProjectLeafProperties(tree<ProjectNode>::iterator,
const string&,
unsigned int);
70 void getProjectFolderProperties(tree<ProjectNode>::iterator,
const string&,
unsigned int);
71 void outputProjectTree();
76 return (time_t) floor((jdt - 2440587) * 86400. + 0.5);
85 vector<Origin::SpreadSheet>::difference_type
ispread;
86 vector<Origin::Matrix>::difference_type
imatrix;
87 vector<Origin::Excel>::difference_type
iexcel;
91 #endif // ORIGIN_ANY_PARSER_H streamsize d_file_size
Definition: OriginAnyParser.h:82
streamoff curpos
Definition: OriginAnyParser.h:83
unsigned int parseError
Definition: OriginAnyParser.h:84
vector< Origin::SpreadSheet >::difference_type ispread
Definition: OriginAnyParser.h:85
iendianfstream file
Definition: OriginAnyParser.h:79
Definition: OriginObj.h:77
int ilayer
Definition: OriginAnyParser.h:88
Definition: OriginObj.h:148
Definition: OriginParser.h:41
time_t doubleToPosixTime(double jdt)
Definition: OriginAnyParser.h:73
Definition: OriginObj.h:142
vector< Origin::Excel >::difference_type iexcel
Definition: OriginAnyParser.h:87
FILE * logfile
Definition: OriginAnyParser.h:80
Definition: OriginAnyParser.h:32
Definition: OriginObj.h:43
vector< Origin::Matrix >::difference_type imatrix
Definition: OriginAnyParser.h:86