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

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

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

Revision 98 Revision 101
32 32
33#ifdef __cplusplus 33#ifdef __cplusplus
34extern "C" { 34extern "C" {
35#endif /* __cplusplus */ 35#endif /* __cplusplus */
36 36
37typedef double psiconv_float_t;
37 38
38typedef enum psiconv_file_type { 39typedef enum psiconv_file_type {
39 psiconv_unknown_file, 40 psiconv_unknown_file,
40 psiconv_word_file, 41 psiconv_word_file,
41 psiconv_texted_file, 42 psiconv_texted_file,
420 psiconv_triple_t show_vertical_scrollbar; 421 psiconv_triple_t show_vertical_scrollbar;
421} *psiconv_sheet_status_section; 422} *psiconv_sheet_status_section;
422 423
423typedef enum psiconv_formula_type 424typedef enum psiconv_formula_type
424{ 425{
425 psiconv_formula_unknown, 426 psiconv_formula_unknown,
426 psiconv_formula_int, 427 psiconv_formula_op_lt,
428 psiconv_formula_op_le,
429 psiconv_formula_op_gt,
430 psiconv_formula_op_ge,
431 psiconv_formula_op_ne,
432 psiconv_formula_op_eq,
433 psiconv_formula_op_add,
434 psiconv_formula_op_sub,
435 psiconv_formula_op_mul,
436 psiconv_formula_op_div,
437 psiconv_formula_op_pow,
438 psiconv_formula_op_pos,
439 psiconv_formula_op_neg,
440 psiconv_formula_op_con,
441 psiconv_formula_op_bra,
442 psiconv_formula_mark_eof,
427 psiconv_formula_float, 443 psiconv_formula_dat_float,
444 psiconv_formula_dat_int,
445 psiconv_formula_dat_var,
428 psiconv_formula_string 446 psiconv_formula_dat_string,
447 psiconv_formula_dat_cellref,
448 psiconv_formula_dat_cellblock,
449 psiconv_formula_dat_vcellblock,
450 psiconv_formula_mark_opsep,
451 psiconv_formula_mark_opend,
452 psiconv_formula_fun_false,
453 psiconv_formula_fun_if,
454 psiconv_formula_fun_true,
455 psiconv_formula_fun_cell,
456 psiconv_formula_fun_errortype,
457 psiconv_formula_fun_isblank,
458 psiconv_formula_fun_iserr,
459 psiconv_formula_fun_iserror,
460 psiconv_formula_fun_islogical,
461 psiconv_formula_fun_isna,
462 psiconv_formula_fun_isnontext,
463 psiconv_formula_fun_isnumber,
464 psiconv_formula_fun_istext,
465 psiconv_formula_fun_n,
466 psiconv_formula_fun_type,
467 psiconv_formula_fun_address,
468 psiconv_formula_fun_column,
469 psiconv_formula_fun_columns,
470 psiconv_formula_fun_hlookup,
471 psiconv_formula_fun_index,
472 psiconv_formula_fun_indirect,
473 psiconv_formula_fun_lookup,
474 psiconv_formula_fun_offset,
475 psiconv_formula_fun_row,
476 psiconv_formula_fun_rows,
477 psiconv_formula_fun_vlookup,
478 psiconv_formula_fun_char,
479 psiconv_formula_fun_code,
480 psiconv_formula_fun_exact,
481 psiconv_formula_fun_find,
482 psiconv_formula_fun_left,
483 psiconv_formula_fun_len,
484 psiconv_formula_fun_lower,
485 psiconv_formula_fun_mid,
486 psiconv_formula_fun_proper,
487 psiconv_formula_fun_replace,
488 psiconv_formula_fun_rept,
489 psiconv_formula_fun_right,
490 psiconv_formula_fun_string,
491 psiconv_formula_fun_t,
492 psiconv_formula_fun_trim,
493 psiconv_formula_fun_upper,
494 psiconv_formula_fun_value,
495 psiconv_formula_fun_date,
496 psiconv_formula_fun_datevalue,
497 psiconv_formula_fun_day,
498 psiconv_formula_fun_hour,
499 psiconv_formula_fun_minute,
500 psiconv_formula_fun_month,
501 psiconv_formula_fun_now,
502 psiconv_formula_fun_second,
503 psiconv_formula_fun_today,
504 psiconv_formula_fun_time,
505 psiconv_formula_fun_timevalue,
506 psiconv_formula_fun_year,
507 psiconv_formula_fun_abs,
508 psiconv_formula_fun_acos,
509 psiconv_formula_fun_asin,
510 psiconv_formula_fun_atan,
511 psiconv_formula_fun_atan2,
512 psiconv_formula_fun_cos,
513 psiconv_formula_fun_degrees,
514 psiconv_formula_fun_exp,
515 psiconv_formula_fun_fact,
516 psiconv_formula_fun_int,
517 psiconv_formula_fun_ln,
518 psiconv_formula_fun_log10,
519 psiconv_formula_fun_mod,
520 psiconv_formula_fun_pi,
521 psiconv_formula_fun_radians,
522 psiconv_formula_fun_rand,
523 psiconv_formula_fun_round,
524 psiconv_formula_fun_sign,
525 psiconv_formula_fun_sin,
526 psiconv_formula_fun_sqrt,
527 psiconv_formula_fun_sumproduct,
528 psiconv_formula_fun_tan,
529 psiconv_formula_fun_trunc,
530 psiconv_formula_fun_cterm,
531 psiconv_formula_fun_ddb,
532 psiconv_formula_fun_fv,
533 psiconv_formula_fun_irr,
534 psiconv_formula_fun_npv,
535 psiconv_formula_fun_pmt,
536 psiconv_formula_fun_pv,
537 psiconv_formula_fun_rate,
538 psiconv_formula_fun_sln,
539 psiconv_formula_fun_syd,
540 psiconv_formula_fun_term,
541 psiconv_formula_fun_combin,
542 psiconv_formula_fun_permut,
543 psiconv_formula_vfn_average,
544 psiconv_formula_vfn_choose,
545 psiconv_formula_vfn_count,
546 psiconv_formula_vfn_counta,
547 psiconv_formula_vfn_countblank,
548 psiconv_formula_vfn_max,
549 psiconv_formula_vfn_min,
550 psiconv_formula_vfn_product,
551 psiconv_formula_vfn_stdevp,
552 psiconv_formula_vfn_stdev,
553 psiconv_formula_vfn_sum,
554 psiconv_formula_vfn_sumsq,
555 psiconv_formula_vfn_varp,
556 psiconv_formula_vfn_var
429} psiconv_formula_type_t; 557} psiconv_formula_type_t;
430 558
431typedef psiconv_list psiconv_formula_list; /* Of struct psiconv_formula_s */ 559typedef psiconv_list psiconv_formula_list; /* Of struct psiconv_formula_s */
432 560
433typedef struct psiconv_formula_s 561typedef struct psiconv_formula_s
434{ 562{
435 psiconv_formula_type_t type; 563 psiconv_formula_type_t type;
436 union { 564 union {
437 psiconv_u32 d_int; 565 psiconv_u32 dat_int;
438 double d_real; 566 double dat_float;
439 char *d_string; 567 char *dat_string;
440 psiconv_formula_list d_subformulas; 568 psiconv_formula_list fun_operands;
441 } data; 569 } data;
442} *psiconv_formula; 570} *psiconv_formula;
443 571
444typedef struct psiconv_sheet_workbook_section_s 572typedef struct psiconv_sheet_workbook_section_s
445{ 573{

Legend:
Removed from v.98  
changed lines
  Added in v.101

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