forked from nekstrom/pyrtf-ng
-
Notifications
You must be signed in to change notification settings - Fork 0
/
TODO
113 lines (97 loc) · 3.47 KB
/
TODO
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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
Plan
----
* DONE - Migrate examples to unit tests.
* DONE - Add prototype parsing code and test sources.
* DONE - Move exceptions out of parser code into dedicated exceptions file.
* DONE - Split grammar out of parser base and into its own module.
* DONE - Rename package from pyrtfng to rtfng.
* DONE - Update the generate script to accept file names as parameters, thus only
generating RTF files for the make_() methods in those files (as opposed to
traversing the whole tree).
* DONE - Add tests for the unicode support.
* DONE - Increment to version 0.9.1
* Rename varaibles to remove underscores (convert to camelCase).
* Rename instance variables in PropertySets from UpperCamelCase to
lowerCamelCase.
* Remove extraneous spaces between operators, parens, etc.
* Add new lines where they should be (no run-ons after colons).
* Standardize indents to be 4 spaces.
* Remove deepcopy wherever possible.
* Increment to version 0.9.2
* Rename modules to accord with PEP-8/Twisted coding standard.
* Rename class methods to accord with PEP-8/Twisted coding standard.
* Reorganize package to something along the following lines:
rtfng
header
Version
Character Set
Font Table
Color Table
Stylesheet
List Table
Revisions
document
section
DONE - Section
Section Formatting
Header/Footer
paragraph
DONE - Paragraph
Formatting/Tabs
Bullets/Numbering
Borders/Shading
Objects/Frames
DONE - Table/Cell
character
Font/Formatting/Properties
Borders/Shading
Hilighting
Special Characters
bookmarks
objects
Pictures
Drawings
annotations
Footnotes
Comments
fields
indices
Index
Table of Contents
* Add support for a small subset of the API that does most of what people need,
letting users types as few lines as possible to create RTF docs.
* Increment to version 1.0.0.
* Make classes new-style.
* Unify the codes in constants.Languages to eliminate redundancy.
* Increment to version 1.0.1.
* Sort out the character TEXT and Text redundancy.
* Simplify rendering along the lines of the "write" idiom.
* Increment to version 1.0.2.
* Add append() method to doc that is a dispatcher, appending to appropriate
attrs based on type (e.g., instead of doc.Sections.append(section), one would
only need to do doc.append(section)).
* Increment to version 1.0.3.
* Refactor TabPropertySet leader types into a single attribute.
* Replace use of apply() with extended call syntax.
* Increment to version 1.0.4.
* Get parser to the point where it can parse everything the current code can
generate.
* Increment to version 1.1.0.
* Add more RTF-spec support to both the writer and the parser.
* Increment to version 1.2.0.
Completed
---------
* DONE - Rename package to pyrtfng.
* DONE - Clean up basic white space issues (mixed tab/space, file encodings,
DOS characters, etc.)
* DONE - Increment to version 0.9.0
Issues
------
* Tested the initial examples; they don't seem to render properly for TextEdit
on Mac OS X.
* RTF docs should not create any more structure by default than is absolutely
necessary:
o the auto-creation of the header needs to go;
o
Fixed
-----