1 | /* |
1 | /* |
2 | data.h - Part of psiconv, a PSION 5 file formats converter |
2 | data.h - Part of psiconv, a PSION 5 file formats converter |
3 | Copyright (c) 1999, 2000 Frodo Looijaard <frodol@dds.nl> |
3 | Copyright (c) 1999-2004 Frodo Looijaard <frodol@dds.nl> |
4 | |
4 | |
5 | This program is free software; you can redistribute it and/or modify |
5 | This program is free software; you can redistribute it and/or modify |
6 | it under the terms of the GNU General Public License as published by |
6 | it under the terms of the GNU General Public License as published by |
7 | the Free Software Foundation; either version 2 of the License, or |
7 | the Free Software Foundation; either version 2 of the License, or |
8 | (at your option) any later version. |
8 | (at your option) any later version. |
… | |
… | |
474 | } *psiconv_word_status_section; |
474 | } *psiconv_word_status_section; |
475 | |
475 | |
476 | /* A Word Style. |
476 | /* A Word Style. |
477 | All information about a single Style. |
477 | All information about a single Style. |
478 | A builtin style may not be changed in the Word program. |
478 | A builtin style may not be changed in the Word program. |
479 | Outline level is zero if unused. */ |
479 | Outline level is zero if unused. |
|
|
480 | The name may be NULL for the normal style! */ |
480 | typedef struct psiconv_word_style_s |
481 | typedef struct psiconv_word_style_s |
481 | { |
482 | { |
482 | psiconv_character_layout character; /* character-level layout */ |
483 | psiconv_character_layout character; /* character-level layout */ |
483 | psiconv_paragraph_layout paragraph; /* paragraph-level layout */ |
484 | psiconv_paragraph_layout paragraph; /* paragraph-level layout */ |
484 | psiconv_ucs2 hotkey; /* The hotkey */ |
485 | psiconv_ucs2 hotkey; /* The hotkey */ |
… | |
… | |
490 | /* A list of Word Styles */ |
491 | /* A list of Word Styles */ |
491 | typedef psiconv_list psiconv_word_style_list; |
492 | typedef psiconv_list psiconv_word_style_list; |
492 | /* Of struct psiconv_word_style_s */ |
493 | /* Of struct psiconv_word_style_s */ |
493 | |
494 | |
494 | /* A Word Styles Section |
495 | /* A Word Styles Section |
495 | All information about styles. */ |
496 | All information about styles. |
|
|
497 | Note that the name of the normal style is NULL! */ |
496 | typedef struct psiconv_word_styles_section_s |
498 | typedef struct psiconv_word_styles_section_s |
497 | { |
499 | { |
498 | psiconv_word_style normal; /* The normal (unspecified) style */ |
500 | psiconv_word_style normal; /* The normal (unspecified) style */ |
499 | psiconv_word_style_list styles; /* All other defined styles */ |
501 | psiconv_word_style_list styles; /* All other defined styles */ |
500 | } *psiconv_word_styles_section; |
502 | } *psiconv_word_styles_section; |