MSPUBBlockID.h Source File documentation

MSPUBBlockID.h
Go to the documentation of this file.
1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /*
3 * This file is part of the libmspub project.
4 *
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 */
9
10 #ifndef INCLUDED_MSPUBBLOCKID_H
11 #define INCLUDED_MSPUBBLOCKID_H
12
13 namespace libmspub
14 {
15 enum MSPUBBlockID // Don't be alarmed by multiple elements with the same value; they appear in different contexts.
16 {
17 DOCUMENT_SIZE = 0x12,
18 DOCUMENT_WIDTH = 0x1,
19 DOCUMENT_HEIGHT = 0x2,
20 DOCUMENT_PAGE_LIST = 0x2,
21 PAGE_BG_SHAPE = 0xa,
22 PAGE_SHAPES = 0x2,
23 CHUNK_TYPE = 0x2,
24 CHUNK_OFFSET = 0x4,
25 CHUNK_PARENT_SEQNUM = 0x5,
26 SHAPE_CROP = 0xb7,
27 SHAPE_WIDTH = 0xaa,
28 SHAPE_HEIGHT = 0xab,
29 SHAPE_DONT_STRETCH_BA = 0x07,
30 SHAPE_TEXT_ID = 0x27,
31 SHAPE_BORDER_IMAGE_ID = 0x09,
32 SUPER_SUB_TYPE_ID = 0x0F,
33 BOLD_1_ID = 0x02,
34 BOLD_2_ID = 0x37,
35 ITALIC_1_ID = 0x03,
36 ITALIC_2_ID = 0x38,
37 UNDERLINE_ID = 0x1E,
38 OUTLINE_ID = 0x4,
39 SHADOW_ID = 0x5,
40 LOCALE_ID = 0x12,
41 SMALL_CAPS_ID = 0x13,
42 ALL_CAPS_ID = 0x14,
43 EMBOSS_ID = 0x16,
44 ENGRAVE_ID = 0x17,
45 SCALING_ID = 0x20,
46 TEXT_SIZE_1_ID = 0x0C,
47 TEXT_SIZE_2_ID = 0x39,
48 COLOR_INDEX_CONTAINER_ID = 0x44,
49 BARE_COLOR_INDEX_ID = 0x2E,
50 FONT_INDEX_CONTAINER_ID = 0x24,
51 COLOR_INDEX_ID = 0x0,
52 PARAGRAPH_ALIGNMENT = 0x04,
53 PARAGRAPH_DEFAULT_CHAR_STYLE = 0x19,
54 PARAGRAPH_LINE_SPACING = 0x34,
55 PARAGRAPH_SPACE_BEFORE = 0x12,
56 PARAGRAPH_SPACE_AFTER = 0x13,
57 PARAGRAPH_FIRST_LINE_INDENT = 0xC,
58 PARAGRAPH_LEFT_INDENT = 0xD,
59 PARAGRAPH_RIGHT_INDENT = 0xE,
60 PARAGRAPH_DROP_CAP_LINES = 0x8,
61 PARAGRAPH_DROP_CAP_UP = 0x2C,
62 PARAGRAPH_DROP_CAP_LETTERS = 0x2D,
63 THIS_MASTER_NAME = 0xE,
64 APPLIED_MASTER_NAME = 0xD,
65 BA_ARRAY = 0x02,
66 BA_IMAGE_ARRAY = 0x0A,
67 BA_IMAGE_CONTAINER = 0x00,
68 BA_IMAGE = 0x01,
69 BA_OFFSET_CONTAINER = 0x08,
70 BA_OFFSET_ENTRY = 0x00,
71 PARAGRAPH_LIST_NUMBER_RESTART = 0x15,
72 PARAGRAPH_LIST_INFO = 0x57,
73 PARAGRAPH_LIST_BULLET_CHAR = 0x01,
74 PARAGRAPH_LIST_NUMBERING_TYPE = 0x00,
75 PARAGRAPH_LIST_NUMBERING_DELIMITER = 0x58,
76 SHAPE_VALIGN = 0x35,
77 TABLE_WIDTH = 0x68,
78 TABLE_HEIGHT = 0x69,
79 TABLE_CELLS_SEQNUM = 0x6B,
80 TABLE_NUM_ROWS = 0x66,
81 TABLE_NUM_COLS = 0x67,
82 TABLE_ROWCOL_ARRAY = 0x6D,
83 TABLE_ROWCOL_OFFSET = 0x01,
84 TABLE_ROWCOL_SIZE = 0x02,
85 FONT_CONTAINER_ARRAY = 0x02,
86 EMBEDDED_EOT = 0x0C,
87 EMBEDDED_FONT_NAME = 0x04,
88 PARAGRAPH_TABS = 0x32,
89 TAB_ARRAY = 0x28,
90 TAB_ENTRY = 0x0,
91 TAB_AMOUNT = 0x0
92 };
93 } // namespace libmspub
94
95 #endif /* INCLUDED_MSPUBBLOCKID_H */
96 /* vim:set shiftwidth=2 softtabstop=2 expandtab: */
libmspub::SHADOW_ID
@ SHADOW_ID
Definition: MSPUBBlockID.h:39
libmspub::SHAPE_WIDTH
@ SHAPE_WIDTH
Definition: MSPUBBlockID.h:27
libmspub::TAB_ENTRY
@ TAB_ENTRY
Definition: MSPUBBlockID.h:90
libmspub::DOCUMENT_WIDTH
@ DOCUMENT_WIDTH
Definition: MSPUBBlockID.h:18
libmspub::TABLE_HEIGHT
@ TABLE_HEIGHT
Definition: MSPUBBlockID.h:78
libmspub
Definition: Arrow.h:14
libmspub::SHAPE_CROP
@ SHAPE_CROP
Definition: MSPUBBlockID.h:26
libmspub::PARAGRAPH_DROP_CAP_LINES
@ PARAGRAPH_DROP_CAP_LINES
Definition: MSPUBBlockID.h:60
libmspub::PARAGRAPH_FIRST_LINE_INDENT
@ PARAGRAPH_FIRST_LINE_INDENT
Definition: MSPUBBlockID.h:57
libmspub::THIS_MASTER_NAME
@ THIS_MASTER_NAME
Definition: MSPUBBlockID.h:63
libmspub::UNDERLINE_ID
@ UNDERLINE_ID
Definition: MSPUBBlockID.h:37
libmspub::BOLD_1_ID
@ BOLD_1_ID
Definition: MSPUBBlockID.h:33
libmspub::SUPER_SUB_TYPE_ID
@ SUPER_SUB_TYPE_ID
Definition: MSPUBBlockID.h:32
libmspub::PARAGRAPH_DROP_CAP_UP
@ PARAGRAPH_DROP_CAP_UP
Definition: MSPUBBlockID.h:61
libmspub::CHUNK_PARENT_SEQNUM
@ CHUNK_PARENT_SEQNUM
Definition: MSPUBBlockID.h:25
libmspub::TABLE_NUM_COLS
@ TABLE_NUM_COLS
Definition: MSPUBBlockID.h:81
libmspub::BA_OFFSET_CONTAINER
@ BA_OFFSET_CONTAINER
Definition: MSPUBBlockID.h:69
libmspub::PARAGRAPH_RIGHT_INDENT
@ PARAGRAPH_RIGHT_INDENT
Definition: MSPUBBlockID.h:59
libmspub::CHUNK_OFFSET
@ CHUNK_OFFSET
Definition: MSPUBBlockID.h:24
libmspub::PARAGRAPH_ALIGNMENT
@ PARAGRAPH_ALIGNMENT
Definition: MSPUBBlockID.h:52
libmspub::PARAGRAPH_SPACE_AFTER
@ PARAGRAPH_SPACE_AFTER
Definition: MSPUBBlockID.h:56
libmspub::PARAGRAPH_LIST_NUMBER_RESTART
@ PARAGRAPH_LIST_NUMBER_RESTART
Definition: MSPUBBlockID.h:71
libmspub::BA_OFFSET_ENTRY
@ BA_OFFSET_ENTRY
Definition: MSPUBBlockID.h:70
libmspub::BA_IMAGE
@ BA_IMAGE
Definition: MSPUBBlockID.h:68
libmspub::FONT_INDEX_CONTAINER_ID
@ FONT_INDEX_CONTAINER_ID
Definition: MSPUBBlockID.h:50
libmspub::CHUNK_TYPE
@ CHUNK_TYPE
Definition: MSPUBBlockID.h:23
libmspub::PARAGRAPH_LIST_INFO
@ PARAGRAPH_LIST_INFO
Definition: MSPUBBlockID.h:72
libmspub::MSPUBBlockID
MSPUBBlockID
Definition: MSPUBBlockID.h:16
libmspub::TABLE_ROWCOL_SIZE
@ TABLE_ROWCOL_SIZE
Definition: MSPUBBlockID.h:84
libmspub::PARAGRAPH_LIST_NUMBERING_TYPE
@ PARAGRAPH_LIST_NUMBERING_TYPE
Definition: MSPUBBlockID.h:74
libmspub::APPLIED_MASTER_NAME
@ APPLIED_MASTER_NAME
Definition: MSPUBBlockID.h:64
libmspub::PAGE_BG_SHAPE
@ PAGE_BG_SHAPE
Definition: MSPUBBlockID.h:21
libmspub::EMBEDDED_EOT
@ EMBEDDED_EOT
Definition: MSPUBBlockID.h:86
libmspub::BA_ARRAY
@ BA_ARRAY
Definition: MSPUBBlockID.h:65
libmspub::TEXT_SIZE_1_ID
@ TEXT_SIZE_1_ID
Definition: MSPUBBlockID.h:46
libmspub::TABLE_NUM_ROWS
@ TABLE_NUM_ROWS
Definition: MSPUBBlockID.h:80
libmspub::EMBOSS_ID
@ EMBOSS_ID
Definition: MSPUBBlockID.h:43
libmspub::BARE_COLOR_INDEX_ID
@ BARE_COLOR_INDEX_ID
Definition: MSPUBBlockID.h:49
libmspub::PARAGRAPH_SPACE_BEFORE
@ PARAGRAPH_SPACE_BEFORE
Definition: MSPUBBlockID.h:55
libmspub::SHAPE_HEIGHT
@ SHAPE_HEIGHT
Definition: MSPUBBlockID.h:28
libmspub::TEXT_SIZE_2_ID
@ TEXT_SIZE_2_ID
Definition: MSPUBBlockID.h:47
libmspub::DOCUMENT_PAGE_LIST
@ DOCUMENT_PAGE_LIST
Definition: MSPUBBlockID.h:20
libmspub::PARAGRAPH_LEFT_INDENT
@ PARAGRAPH_LEFT_INDENT
Definition: MSPUBBlockID.h:58
libmspub::TABLE_WIDTH
@ TABLE_WIDTH
Definition: MSPUBBlockID.h:77
libmspub::SCALING_ID
@ SCALING_ID
Definition: MSPUBBlockID.h:45
libmspub::SHAPE_BORDER_IMAGE_ID
@ SHAPE_BORDER_IMAGE_ID
Definition: MSPUBBlockID.h:31
libmspub::OUTLINE_ID
@ OUTLINE_ID
Definition: MSPUBBlockID.h:38
libmspub::TAB_ARRAY
@ TAB_ARRAY
Definition: MSPUBBlockID.h:89
libmspub::LOCALE_ID
@ LOCALE_ID
Definition: MSPUBBlockID.h:40
libmspub::DOCUMENT_SIZE
@ DOCUMENT_SIZE
Definition: MSPUBBlockID.h:17
libmspub::ALL_CAPS_ID
@ ALL_CAPS_ID
Definition: MSPUBBlockID.h:42
libmspub::FONT_CONTAINER_ARRAY
@ FONT_CONTAINER_ARRAY
Definition: MSPUBBlockID.h:85
libmspub::PARAGRAPH_DROP_CAP_LETTERS
@ PARAGRAPH_DROP_CAP_LETTERS
Definition: MSPUBBlockID.h:62
libmspub::SMALL_CAPS_ID
@ SMALL_CAPS_ID
Definition: MSPUBBlockID.h:41
libmspub::BA_IMAGE_CONTAINER
@ BA_IMAGE_CONTAINER
Definition: MSPUBBlockID.h:67
libmspub::PARAGRAPH_LINE_SPACING
@ PARAGRAPH_LINE_SPACING
Definition: MSPUBBlockID.h:54
libmspub::COLOR_INDEX_CONTAINER_ID
@ COLOR_INDEX_CONTAINER_ID
Definition: MSPUBBlockID.h:48
libmspub::ITALIC_2_ID
@ ITALIC_2_ID
Definition: MSPUBBlockID.h:36
libmspub::SHAPE_VALIGN
@ SHAPE_VALIGN
Definition: MSPUBBlockID.h:76
libmspub::BOLD_2_ID
@ BOLD_2_ID
Definition: MSPUBBlockID.h:34
libmspub::ENGRAVE_ID
@ ENGRAVE_ID
Definition: MSPUBBlockID.h:44
libmspub::PAGE_SHAPES
@ PAGE_SHAPES
Definition: MSPUBBlockID.h:22
libmspub::COLOR_INDEX_ID
@ COLOR_INDEX_ID
Definition: MSPUBBlockID.h:51
libmspub::PARAGRAPH_LIST_NUMBERING_DELIMITER
@ PARAGRAPH_LIST_NUMBERING_DELIMITER
Definition: MSPUBBlockID.h:75
libmspub::BA_IMAGE_ARRAY
@ BA_IMAGE_ARRAY
Definition: MSPUBBlockID.h:66
libmspub::TAB_AMOUNT
@ TAB_AMOUNT
Definition: MSPUBBlockID.h:91
libmspub::TABLE_ROWCOL_OFFSET
@ TABLE_ROWCOL_OFFSET
Definition: MSPUBBlockID.h:83
libmspub::EMBEDDED_FONT_NAME
@ EMBEDDED_FONT_NAME
Definition: MSPUBBlockID.h:87
libmspub::SHAPE_TEXT_ID
@ SHAPE_TEXT_ID
Definition: MSPUBBlockID.h:30
libmspub::PARAGRAPH_LIST_BULLET_CHAR
@ PARAGRAPH_LIST_BULLET_CHAR
Definition: MSPUBBlockID.h:73
libmspub::ITALIC_1_ID
@ ITALIC_1_ID
Definition: MSPUBBlockID.h:35
libmspub::SHAPE_DONT_STRETCH_BA
@ SHAPE_DONT_STRETCH_BA
Definition: MSPUBBlockID.h:29
libmspub::TABLE_ROWCOL_ARRAY
@ TABLE_ROWCOL_ARRAY
Definition: MSPUBBlockID.h:82
libmspub::PARAGRAPH_TABS
@ PARAGRAPH_TABS
Definition: MSPUBBlockID.h:88
libmspub::TABLE_CELLS_SEQNUM
@ TABLE_CELLS_SEQNUM
Definition: MSPUBBlockID.h:79
libmspub::PARAGRAPH_DEFAULT_CHAR_STYLE
@ PARAGRAPH_DEFAULT_CHAR_STYLE
Definition: MSPUBBlockID.h:53
libmspub::DOCUMENT_HEIGHT
@ DOCUMENT_HEIGHT
Definition: MSPUBBlockID.h:19