40 @return flag indicating the availability of bold markup |
40 @return flag indicating the availability of bold markup |
41 @rtype bool |
41 @rtype bool |
42 """ |
42 """ |
43 return False |
43 return False |
44 |
44 |
|
45 def bold(self, editor): |
|
46 """ |
|
47 Public method to generate bold text. |
|
48 |
|
49 @param editor reference to the editor to work on |
|
50 @type Editor |
|
51 """ |
|
52 pass |
|
53 |
45 def hasItalic(self): |
54 def hasItalic(self): |
46 """ |
55 """ |
47 Public method to indicate the availability of italic markup. |
56 Public method to indicate the availability of italic markup. |
48 |
57 |
49 @return flag indicating the availability of italic markup |
58 @return flag indicating the availability of italic markup |
50 @rtype bool |
59 @rtype bool |
51 """ |
60 """ |
52 return False |
61 return False |
|
62 |
|
63 def italic(self, editor): |
|
64 """ |
|
65 Public method to generate italic text. |
|
66 |
|
67 @param editor reference to the editor to work on |
|
68 @type Editor |
|
69 """ |
|
70 pass |
53 |
71 |
54 def hasStrikethrough(self): |
72 def hasStrikethrough(self): |
55 """ |
73 """ |
56 Public method to indicate the availability of strikethrough markup. |
74 Public method to indicate the availability of strikethrough markup. |
57 |
75 |
58 @return flag indicating the availability of strikethrough markup |
76 @return flag indicating the availability of strikethrough markup |
59 @rtype bool |
77 @rtype bool |
60 """ |
78 """ |
61 return False |
79 return False |
62 |
80 |
|
81 def strikethrough(self, editor): |
|
82 """ |
|
83 Public method to generate strikethrough text. |
|
84 |
|
85 @param editor reference to the editor to work on |
|
86 @type Editor |
|
87 """ |
|
88 pass |
|
89 |
63 def headerLevels(self): |
90 def headerLevels(self): |
64 """ |
91 """ |
65 Public method to determine the available header levels. |
92 Public method to determine the available header levels. |
66 |
93 |
67 @return supported header levels |
94 @return supported header levels |
68 @rtype int |
95 @rtype int |
69 """ |
96 """ |
70 return 0 |
97 return 0 |
71 |
|
72 def bold(self, editor): |
|
73 """ |
|
74 Public method to generate bold text. |
|
75 |
|
76 @param editor reference to the editor to work on |
|
77 @type Editor |
|
78 """ |
|
79 pass |
|
80 |
|
81 def italic(self, editor): |
|
82 """ |
|
83 Public method to generate italic text. |
|
84 |
|
85 @param editor reference to the editor to work on |
|
86 @type Editor |
|
87 """ |
|
88 pass |
|
89 |
|
90 def strikethrough(self, editor): |
|
91 """ |
|
92 Public method to generate strikethrough text. |
|
93 |
|
94 @param editor reference to the editor to work on |
|
95 @type Editor |
|
96 """ |
|
97 pass |
|
98 |
98 |
99 def header(self, editor, level): |
99 def header(self, editor, level): |
100 """ |
100 """ |
101 Public method to generate a header. |
101 Public method to generate a header. |
102 |
102 |