/[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 56 Revision 62
22 parse routines, and read by the generation routines. */ 22 parse routines, and read by the generation routines. */
23 23
24#ifndef PSICONV_DATA_H 24#ifndef PSICONV_DATA_H
25#define PSICONV_DATA_H 25#define PSICONV_DATA_H
26 26
27#include "general.h" 27#include <psiconv/general.h>
28#include "list.h" 28#include <psiconv/list.h>
29 29
30/* All types which end on _t are plain types; all other types are pointers 30/* All types which end on _t are plain types; all other types are pointers
31 to structs */ 31 to structs */
32 32
33#ifdef __cplusplus 33#ifdef __cplusplus
426#define PSICONV_ID_STYLE_REMOVABLE 0x1000004F 426#define PSICONV_ID_STYLE_REMOVABLE 0x1000004F
427#define PSICONV_ID_STYLE_BUILT_IN 0x1000004C 427#define PSICONV_ID_STYLE_BUILT_IN 0x1000004C
428#define PSICONV_ID_CLIPART_ITEM 0x10000040 428#define PSICONV_ID_CLIPART_ITEM 0x10000040
429 429
430 430
431/* Return a clean layout_status. You can modify it at will */ 431/* Return a clean layout_status. You can modify it at will. Returns NULL
432 if there is not enough memory. */
432extern psiconv_character_layout psiconv_basic_character_layout(void); 433extern psiconv_character_layout psiconv_basic_character_layout(void);
433 434
434/* Return a clean layout_status. You can modify it at will */ 435/* Return a clean layout_status. You can modify it at will. Returns NULL
436 if there is not enough memory. */
435extern psiconv_paragraph_layout psiconv_basic_paragraph_layout(void); 437extern psiconv_paragraph_layout psiconv_basic_paragraph_layout(void);
436 438
437/* Clone a layout_status: the new copy is completely independent of the 439/* Clone a layout_status: the new copy is completely independent of the
438 original one */ 440 original one. Returns NULL if there is not enough memory. */
439extern psiconv_paragraph_layout psiconv_clone_paragraph_layout 441extern psiconv_paragraph_layout psiconv_clone_paragraph_layout
440 (psiconv_paragraph_layout ls); 442 (psiconv_paragraph_layout ls);
441 443
442extern psiconv_character_layout psiconv_clone_character_layout 444extern psiconv_character_layout psiconv_clone_character_layout
443 (psiconv_character_layout ls); 445 (psiconv_character_layout ls);
444 446
445/* Get a numbered style */ 447/* Get a numbered style. Returns NULL if the style is unknown. */
446extern psiconv_word_style psiconv_get_style (psiconv_word_styles_section ss, int nr); 448extern psiconv_word_style psiconv_get_style (psiconv_word_styles_section ss, int nr);
447 449
448extern void psiconv_free_color(psiconv_color color); 450extern void psiconv_free_color(psiconv_color color);
449extern void psiconv_free_border(psiconv_border border); 451extern void psiconv_free_border(psiconv_border border);
450extern void psiconv_free_bullet(psiconv_bullet bullet); 452extern void psiconv_free_bullet(psiconv_bullet bullet);

Legend:
Removed from v.56  
changed lines
  Added in v.62

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