-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathETTextTypes.h
97 lines (94 loc) · 2.6 KB
/
ETTextTypes.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
#import <EtoileFoundation/Macros.h>
@class NSString;
/** Constants for globally-defined types. */
/**
* The name of the style.
*/
EMIT_STRING(kETTextStyleName);
/**
* Heading type. The type may also have a ETTextHeadingLevel key representing
* the depth of the heading, with 0 indicating a top level heading.
*/
EMIT_STRING(ETTextHeadingType);
/**
* The depth of a specific heading. The interpretation of the depth is
* specific to the document type. For example, in a book it might be a part,
* chapter, section and so on, while in a short document it may be section,
* subsection, and so on.
*/
EMIT_STRING(kETTextHeadingLevel);
/**
* A paragraph of text.
*/
EMIT_STRING(ETTextParagraphType);
/**
* A reference to some other document, or part of this document. Should
* contain a value associated with the kETTextLinkName key providing the name
* of the target.
*/
EMIT_STRING(ETTextLinkType);
/**
* A section that may be referenced elsewhere.
*/
EMIT_STRING(ETTextLinkTargetType);
/**
* Text to be associated with this link in the index.
*/
EMIT_STRING(kETTextLinkIndexText);
/**
* A virtual index entry that should be cross-referenced to this one.
*/
EMIT_STRING(kETTextLinkIndexCrossReference);
/**
* Key indicating the name of this link. For link targets, this must be a
* string or UUID. For links, this may also be an NSURL indicating a foreign
* resource.
*/
EMIT_STRING(kETTextLinkName);
/**
* This node is imported from an external source. The text contents, if they
* exist, should not be regarded as the authoritative version.
*/
EMIT_STRING(ETTextForeignImportType);
/**
* The location of the original for a foreign import. This may be a CoreObject
* reference, a URL, or a path.
*/
EMIT_STRING(kETTextSourceLocation);
/**
* The first line to use when importing text from an external source.
*/
EMIT_STRING(kETTextFirstLine);
/**
* The last line to use when importing text from an external source.
*/
EMIT_STRING(kETTextLastLine);
/**
* A footnote. When typesetting, the text in this section should be replaced
* with a reference number and added to the end of the current page.
*/
EMIT_STRING(ETTextFootnoteType);
/**
* A simple list.
*/
EMIT_STRING(ETTextListType);
/**
* A numbered list.
*/
EMIT_STRING(ETTextNumberedListType);
/**
* A list of description-word pairs.
*/
EMIT_STRING(ETTextDescriptionListType);
/**
* The description title part of a description list item.
*/
EMIT_STRING(ETTextListDescriptionTitleType);
/**
* The body of a description list item.
*/
EMIT_STRING(ETTextListDescriptionItemType);
/**
* The body of a list item.
*/
EMIT_STRING(ETTextListItemType);