/[public]/psiconv/trunk/lib/psiconv/parse_routines.h
ViewVC logotype

Diff of /psiconv/trunk/lib/psiconv/parse_routines.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 71 Revision 121
19 19
20#ifndef PSICONV_PARSE_ROUTINES_H 20#ifndef PSICONV_PARSE_ROUTINES_H
21#define PSICONV_PARSE_ROUTINES_H 21#define PSICONV_PARSE_ROUTINES_H
22 22
23#include <psiconv/general.h> 23#include <psiconv/general.h>
24#include <psiconv/data.h>
25#include <psiconv/buffer.h>
24#include <psiconv/common.h> 26#include <psiconv/common.h>
25#include <psiconv/data.h>
26 27
27#ifdef __cplusplus 28#ifdef __cplusplus
28extern "C" { 29extern "C" {
29#endif /* __cplusplus */ 30#endif /* __cplusplus */
30 31
51 psiconv_u32 off, int *length, 52 psiconv_u32 off, int *length,
52 int *status); 53 int *status);
53extern psiconv_string_t psiconv_read_string(const psiconv_buffer buf,int lev, 54extern psiconv_string_t psiconv_read_string(const psiconv_buffer buf,int lev,
54 psiconv_u32 off,int *length, 55 psiconv_u32 off,int *length,
55 int *status); 56 int *status);
57extern psiconv_string_t psiconv_read_short_string(const psiconv_buffer buf,
58 int lev,psiconv_u32 off,
59 int *length,int *status);
56 60
57extern int psiconv_parse_bool(const psiconv_buffer buf, int lev, 61extern int psiconv_parse_bool(const psiconv_buffer buf, int lev,
58 psiconv_u32 off, int *length, 62 psiconv_u32 off, int *length,
59 psiconv_bool_t *result); 63 psiconv_bool_t *result);
64
65extern psiconv_float_t psiconv_read_float(const psiconv_buffer buf, int lev,
66 psiconv_u32 off, int *length, int *status);
67
60 68
61 69
62/* ****************** 70/* ******************
63 * parse_layout.c * 71 * parse_layout.c *
64 ****************** */ 72 ****************** */
130extern int psiconv_parse_text_section(const psiconv_buffer buf,int lev, 138extern int psiconv_parse_text_section(const psiconv_buffer buf,int lev,
131 psiconv_u32 off, int *length, 139 psiconv_u32 off, int *length,
132 psiconv_text_and_layout *result); 140 psiconv_text_and_layout *result);
133 141
134extern int psiconv_parse_styled_layout_section(const psiconv_buffer buf, 142extern int psiconv_parse_styled_layout_section(const psiconv_buffer buf,
135 int lev,psiconv_u32 off, 143 int lev,psiconv_u32 off,
136 int *length, 144 int *length,
137 psiconv_text_and_layout result, 145 psiconv_text_and_layout result,
138 psiconv_word_styles_section styles); 146 const psiconv_word_styles_section styles);
139extern int psiconv_parse_styleless_layout_section(const psiconv_buffer buf, 147extern int psiconv_parse_styleless_layout_section(const psiconv_buffer buf,
140 int lev,psiconv_u32 off, 148 int lev,psiconv_u32 off,
141 int *length, 149 int *length,
142 psiconv_text_and_layout result, 150 psiconv_text_and_layout result,
143 psiconv_character_layout base_char, 151 const psiconv_character_layout base_char,
144 psiconv_paragraph_layout base_para); 152 const psiconv_paragraph_layout base_para);
145 153
146 154
147/* ****************** 155/* ******************
148 * parse_texted.c * 156 * parse_texted.c *
149 ****************** */ 157 ****************** */
164 psiconv_word_status_section *result); 172 psiconv_word_status_section *result);
165 173
166extern int psiconv_parse_word_styles_section(const psiconv_buffer buf, int lev, 174extern int psiconv_parse_word_styles_section(const psiconv_buffer buf, int lev,
167 psiconv_u32 off, int *length, 175 psiconv_u32 off, int *length,
168 psiconv_word_styles_section *result); 176 psiconv_word_styles_section *result);
177
178
179/* *****************
180 * parse_sheet.c *
181 ***************** */
182
183extern int psiconv_parse_sheet_status_section(const psiconv_buffer buf, int lev,
184 psiconv_u32 off, int *length,
185 psiconv_sheet_status_section *result);
186
187extern int psiconv_parse_sheet_formula_table(const psiconv_buffer buf, int lev,
188 psiconv_u32 off, int *length,
189 psiconv_formula_list *result);
190
191extern int psiconv_parse_formula(const psiconv_buffer buf, int lev,
192 psiconv_u32 off, int *length,
193 psiconv_formula *result);
194
195extern int psiconv_parse_sheet_workbook_section(const psiconv_buffer buf,
196 int lev,
197 psiconv_u32 off, int *length,
198 psiconv_sheet_workbook_section *result);
199extern int psiconv_parse_sheet_cell(const psiconv_buffer buf, int lev,
200 psiconv_u32 off, int *length,
201 psiconv_sheet_cell *result,
202 const psiconv_sheet_cell_layout default_layout);
203extern int psiconv_parse_sheet_cell_list(const psiconv_buffer buf, int lev,
204 psiconv_u32 off, int *length,
205 psiconv_sheet_cell_list *result,
206 const psiconv_sheet_cell_layout default_layout);
207extern int psiconv_parse_sheet_worksheet_list( const psiconv_buffer buf,
208 int lev,
209 psiconv_u32 off, int *length,
210 psiconv_sheet_worksheet_list *result);
211extern int psiconv_parse_sheet_worksheet(const psiconv_buffer buf, int lev,
212 psiconv_u32 off, int *length,
213 psiconv_sheet_worksheet *result);
214extern int psiconv_parse_sheet_numberformat(const psiconv_buffer buf, int lev,
215 psiconv_u32 off, int *length,
216 psiconv_sheet_numberformat result);
217extern int psiconv_parse_sheet_cell_layout(const psiconv_buffer buf, int lev,
218 psiconv_u32 off, int *length,
219 psiconv_sheet_cell_layout result);
220
221
222
223
224
225
169 226
170 227
171/* ***************** 228/* *****************
172 * parse_image.c * 229 * parse_image.c *
173 ***************** */ 230 ***************** */
207extern int psiconv_parse_sketch_file(const psiconv_buffer buf,int lev, 264extern int psiconv_parse_sketch_file(const psiconv_buffer buf,int lev,
208 psiconv_u32 off, psiconv_sketch_f *result); 265 psiconv_u32 off, psiconv_sketch_f *result);
209 266
210extern int psiconv_parse_clipart_file(const psiconv_buffer buf,int lev, 267extern int psiconv_parse_clipart_file(const psiconv_buffer buf,int lev,
211 psiconv_u32 off, psiconv_clipart_f *result); 268 psiconv_u32 off, psiconv_clipart_f *result);
269extern int psiconv_parse_sheet_file(const psiconv_buffer buf,int lev,
270 psiconv_u32 off, psiconv_sheet_f *result);
271
212#ifdef __cplusplus 272#ifdef __cplusplus
213} 273}
214#endif /* __cplusplus */ 274#endif /* __cplusplus */
215 275
216#endif /* PSICONV_PARSE_ROUTINES_H */ 276#endif /* PSICONV_PARSE_ROUTINES_H */

Legend:
Removed from v.71  
changed lines
  Added in v.121

frodo@frodo.looijaard.name
ViewVC Help
Powered by ViewVC 1.1.26