1 /*
2 * Interface wrapper code.
3 *
4 * Generated by SIP 4.19.16
5 *
6 * Copyright: (c) 2018 by Total Control Software
7 * License: wxWindows License
8 */
9
10 #include "sipAPI_richtext.h"
11
12 #include <wx/richtext/richtextbuffer.h>
13
14 #include <wx/richtext/richtextbuffer.h>
15 #include <wx/richtext/richtextbuffer.h>
16 #include <wx/richtext/richtextbuffer.h>
17 #include <wx/position.h>
18 #include <wx/richtext/richtextbuffer.h>
19 #include <wx/window.h>
20 #include <wx/richtext/richtextbuffer.h>
21 #include <wx/dc.h>
22 #include <wx/richtext/richtextbuffer.h>
23 #include <wx/gdicmn.h>
24 #include <wx/xml/xml.h>
25 #include <wx/richtext/richtextxml.h>
26 #include <wx/richtext/richtextbuffer.h>
27 #include <wx/gdicmn.h>
28 #include <wx/gdicmn.h>
29
30 #include <wx/richtext/richtextstyles.h>
31 #include <wx/richtext/richtextbuffer.h>
32 #include <wx/richtext/richtextbuffer.h>
33 #include <wx/richtext/richtextbuffer.h>
34 #include <wx/richtext/richtextstyles.h>
35 #include <wx/richtext/richtextbuffer.h>
36 #include <wx/image.h>
37 #include <wx/richtext/richtextctrl.h>
38 #include <wx/richtext/richtextbuffer.h>
39 #include <wx/richtext/richtextbuffer.h>
40 #include <wx/richtext/richtextbuffer.h>
41 #include <wx/richtext/richtextbuffer.h>
42 #include <wx/object.h>
43 #include <wx/object.h>
44 #include <wx/object.h>
45
46
47 class sipwxRichTextTable : public ::wxRichTextTable
48 {
49 public:
50 sipwxRichTextTable( ::wxRichTextObject*);
51 sipwxRichTextTable(const ::wxRichTextTable&);
52 virtual ~sipwxRichTextTable();
53
54 /*
55 * There is a protected method for every virtual method visible from
56 * this class.
57 */
58 protected:
59 bool AddColumns(int,int,const ::wxRichTextAttr&) SIP_OVERRIDE;
60 bool AddRows(int,int,const ::wxRichTextAttr&) SIP_OVERRIDE;
61 bool DeleteColumns(int,int) SIP_OVERRIDE;
62 bool DeleteRows(int,int) SIP_OVERRIDE;
63 bool SetCellStyle(const ::wxRichTextSelection&,const ::wxRichTextAttr&,int) SIP_OVERRIDE;
64 bool CreateTable(int,int) SIP_OVERRIDE;
65 void ClearTable() SIP_OVERRIDE;
66 ::wxPosition GetFocusedCell() const SIP_OVERRIDE;
67 bool GetCellRowColumnPosition(long,int&,int&) const SIP_OVERRIDE;
68 ::wxRichTextCell* GetCell(long) const SIP_OVERRIDE;
69 ::wxRichTextCell* GetCell(int,int) const SIP_OVERRIDE;
70 bool UpdateFloatingObjects(const ::wxRect&, ::wxRichTextObject*) SIP_OVERRIDE;
71 void InvalidateHierarchy(const ::wxRichTextRange&) SIP_OVERRIDE;
72 void DoInvalidate(const ::wxRichTextRange&) SIP_OVERRIDE;
73 const ::wxRichTextAttr& GetBasicStyle() const SIP_OVERRIDE;
74 void SetBasicStyle(const ::wxRichTextAttr&) SIP_OVERRIDE;
75 const ::wxRichTextAttr& GetDefaultStyle() const SIP_OVERRIDE;
76 bool SetDefaultStyle(const ::wxRichTextAttr&) SIP_OVERRIDE;
77 ::wxString GetText() const SIP_OVERRIDE;
78 void UpdateRanges() SIP_OVERRIDE;
79 bool ApplyStyleSheet( ::wxRichTextStyleSheet*) SIP_OVERRIDE;
80 bool CopyFragment(const ::wxRichTextRange&, ::wxRichTextParagraphLayoutBox&) SIP_OVERRIDE;
81 bool InsertFragment(long, ::wxRichTextParagraphLayoutBox&) SIP_OVERRIDE;
82 void PrepareContent( ::wxRichTextParagraphLayoutBox&) SIP_OVERRIDE;
83 bool HasParagraphAttributes(const ::wxRichTextRange&,const ::wxRichTextAttr&) const SIP_OVERRIDE;
84 bool HasCharacterAttributes(const ::wxRichTextRange&,const ::wxRichTextAttr&) const SIP_OVERRIDE;
85 bool SetObjectPropertiesWithUndo( ::wxRichTextObject&,const ::wxRichTextProperties&, ::wxRichTextObject*) SIP_OVERRIDE;
86 bool SetProperties(const ::wxRichTextRange&,const ::wxRichTextProperties&,int) SIP_OVERRIDE;
87 bool FindNextParagraphNumber( ::wxRichTextParagraph*, ::wxRichTextAttr&) const SIP_OVERRIDE;
88 bool DoNumberList(const ::wxRichTextRange&,const ::wxRichTextRange&,int, ::wxRichTextListStyleDefinition*,int,int,int) SIP_OVERRIDE;
89 bool ClearListStyle(const ::wxRichTextRange&,int) SIP_OVERRIDE;
90 bool GetStyleForRange(const ::wxRichTextRange&, ::wxRichTextAttr&) SIP_OVERRIDE;
91 bool DoGetStyle(long, ::wxRichTextAttr&,bool) SIP_OVERRIDE;
92 bool GetUncombinedStyle(long, ::wxRichTextAttr&) SIP_OVERRIDE;
93 bool GetStyle(long, ::wxRichTextAttr&) SIP_OVERRIDE;
94 void SetStyle( ::wxRichTextObject*,const ::wxRichTextAttr&,int) SIP_OVERRIDE;
95 bool SetStyle(const ::wxRichTextRange&,const ::wxRichTextAttr&,int) SIP_OVERRIDE;
96 bool PositionToXY(long,long*,long*) const SIP_OVERRIDE;
97 long XYToPosition(long,long) const SIP_OVERRIDE;
98 ::wxString GetParagraphText(long) const SIP_OVERRIDE;
99 int GetLineCount() const SIP_OVERRIDE;
100 int GetParagraphCount() const SIP_OVERRIDE;
101 int GetParagraphLength(long) const SIP_OVERRIDE;
102 ::wxRichTextParagraph* GetParagraphForLine( ::wxRichTextLine*) const SIP_OVERRIDE;
103 ::wxRichTextParagraph* GetParagraphAtLine(long) const SIP_OVERRIDE;
104 ::wxRichTextObject* GetLeafObjectAtPosition(long) const SIP_OVERRIDE;
105 ::wxRichTextLine* GetLineForVisibleLineNumber(long) const SIP_OVERRIDE;
106 long GetVisibleLineNumber(long,bool,bool) const SIP_OVERRIDE;
107 ::wxSize GetLineSizeAtPosition(long,bool) const SIP_OVERRIDE;
108 ::wxRichTextParagraph* GetParagraphAtPosition(long,bool) const SIP_OVERRIDE;
109 ::wxRichTextLine* GetLineAtYPosition(int) const SIP_OVERRIDE;
110 ::wxRichTextLine* GetLineAtPosition(long,bool) const SIP_OVERRIDE;
111 ::wxRichTextRange AddParagraphs(const ::wxString&, ::wxRichTextAttr*) SIP_OVERRIDE;
112 ::wxRichTextRange AddImage(const ::wxImage&, ::wxRichTextAttr*) SIP_OVERRIDE;
113 ::wxRichTextRange AddParagraph(const ::wxString&, ::wxRichTextAttr*) SIP_OVERRIDE;
114 void Reset() SIP_OVERRIDE;
115 void Clear() SIP_OVERRIDE;
116 ::wxRichTextStyleSheet* GetStyleSheet() const SIP_OVERRIDE;
117 bool PromoteList(int,const ::wxRichTextRange&,const ::wxString&,int,int) SIP_OVERRIDE;
118 bool PromoteList(int,const ::wxRichTextRange&, ::wxRichTextListStyleDefinition*,int,int) SIP_OVERRIDE;
119 bool NumberList(const ::wxRichTextRange&,const ::wxString&,int,int,int) SIP_OVERRIDE;
120 bool NumberList(const ::wxRichTextRange&, ::wxRichTextListStyleDefinition*,int,int,int) SIP_OVERRIDE;
121 bool SetListStyle(const ::wxRichTextRange&,const ::wxString&,int,int,int) SIP_OVERRIDE;
122 bool SetListStyle(const ::wxRichTextRange&, ::wxRichTextListStyleDefinition*,int,int,int) SIP_OVERRIDE;
123 void Move(const ::wxPoint&) SIP_OVERRIDE;
124 ::wxRichTextObject* Clone() const SIP_OVERRIDE;
125 void Show(bool) SIP_OVERRIDE;
126 bool IsTopLevel() const SIP_OVERRIDE;
127 bool AdjustAttributes( ::wxRichTextAttr&, ::wxRichTextDrawingContext&) SIP_OVERRIDE;
128 bool LayoutToBestSize( ::wxDC&, ::wxRichTextDrawingContext&, ::wxRichTextBuffer*,const ::wxRichTextAttr&,const ::wxRichTextAttr&,const ::wxRect&,const ::wxRect&,int) SIP_OVERRIDE;
129 ::wxRect GetAvailableContentArea( ::wxDC&, ::wxRichTextDrawingContext&,const ::wxRect&) const SIP_OVERRIDE;
130 int GetBottomMargin() const SIP_OVERRIDE;
131 int GetTopMargin() const SIP_OVERRIDE;
132 int GetRightMargin() const SIP_OVERRIDE;
133 int GetLeftMargin() const SIP_OVERRIDE;
134 void SetMargins(int,int,int,int) SIP_OVERRIDE;
135 void SetMargins(int) SIP_OVERRIDE;
136 ::wxRichTextParagraphLayoutBox* GetParentContainer() const SIP_OVERRIDE;
137 ::wxRichTextParagraphLayoutBox* GetContainer() const SIP_OVERRIDE;
138 void SetParent( ::wxRichTextObject*) SIP_OVERRIDE;
139 ::wxRichTextObject* GetParent() const SIP_OVERRIDE;
140 bool IsAtomic() const SIP_OVERRIDE;
141 bool IsComposite() const SIP_OVERRIDE;
142 ::wxRect GetRect() const SIP_OVERRIDE;
143 ::wxPoint GetAbsolutePosition() const SIP_OVERRIDE;
144 void SetPosition(const ::wxPoint&) SIP_OVERRIDE;
145 ::wxPoint GetPosition() const SIP_OVERRIDE;
146 ::wxTextAttrSize GetNaturalSize() const SIP_OVERRIDE;
147 void SetMinSize(const ::wxSize&) SIP_OVERRIDE;
148 ::wxSize GetMinSize() const SIP_OVERRIDE;
149 void SetMaxSize(const ::wxSize&) SIP_OVERRIDE;
150 ::wxSize GetMaxSize() const SIP_OVERRIDE;
151 void SetCachedSize(const ::wxSize&) SIP_OVERRIDE;
152 ::wxSize GetCachedSize() const SIP_OVERRIDE;
153 ::wxRichTextSelection GetSelection(long,long) const SIP_OVERRIDE;
154 bool HandlesChildSelections() const SIP_OVERRIDE;
155 void Invalidate(const ::wxRichTextRange&) SIP_OVERRIDE;
156 ::wxString GetXMLNodeName() const SIP_OVERRIDE;
157 bool UsesParagraphAttributes() const SIP_OVERRIDE;
158 bool ImportFromXML( ::wxRichTextBuffer*, ::wxXmlNode*, ::wxRichTextXMLHandler*,bool*) SIP_OVERRIDE;
159 bool AcceptsFocus() const SIP_OVERRIDE;
160 ::wxString GetPropertiesMenuLabel() const SIP_OVERRIDE;
161 bool EditProperties( ::wxWindow*, ::wxRichTextBuffer*) SIP_OVERRIDE;
162 bool CanEditProperties() const SIP_OVERRIDE;
163 ::wxRichTextObject* Split( ::wxRichTextDrawingContext&) SIP_OVERRIDE;
164 bool CanSplit( ::wxRichTextDrawingContext&) const SIP_OVERRIDE;
165 bool Merge( ::wxRichTextObject*, ::wxRichTextDrawingContext&) SIP_OVERRIDE;
166 bool CanMerge( ::wxRichTextObject*, ::wxRichTextDrawingContext&) const SIP_OVERRIDE;
167 ::wxString GetTextForRange(const ::wxRichTextRange&) const SIP_OVERRIDE;
168 int GetFloatDirection() const SIP_OVERRIDE;
169 bool IsFloating() const SIP_OVERRIDE;
170 bool IsFloatable() const SIP_OVERRIDE;
171 bool IsEmpty() const SIP_OVERRIDE;
172 bool DeleteRange(const ::wxRichTextRange&) SIP_OVERRIDE;
173 void CalculateRange(long,long&) SIP_OVERRIDE;
174 ::wxRichTextObject* DoSplit(long) SIP_OVERRIDE;
175 bool GetRangeSize(const ::wxRichTextRange&, ::wxSize&,int&, ::wxDC&, ::wxRichTextDrawingContext&,int,const ::wxPoint&,const ::wxSize&, ::wxArrayInt*) const SIP_OVERRIDE;
176 ::wxSize GetBestSize() const SIP_OVERRIDE;
177 bool FindPosition( ::wxDC&, ::wxRichTextDrawingContext&,long, ::wxPoint&,int*,bool) SIP_OVERRIDE;
178 int HitTest( ::wxDC&, ::wxRichTextDrawingContext&,const ::wxPoint&,long&, ::wxRichTextObject**, ::wxRichTextObject**,int) SIP_OVERRIDE;
179 bool Layout( ::wxDC&, ::wxRichTextDrawingContext&,const ::wxRect&,const ::wxRect&,int) SIP_OVERRIDE;
180 bool Draw( ::wxDC&, ::wxRichTextDrawingContext&,const ::wxRichTextRange&,const ::wxRichTextSelection&,const ::wxRect&,int,int) SIP_OVERRIDE;
181 ::wxRichTextObject* GetChildAtPosition(long) const SIP_OVERRIDE;
182
183 public:
184 sipSimpleWrapper *sipPySelf;
185
186 private:
187 sipwxRichTextTable(const sipwxRichTextTable &);
188 sipwxRichTextTable &operator = (const sipwxRichTextTable &);
189
190 char sipPyMethods[123];
191 };
192
sipwxRichTextTable(::wxRichTextObject * parent)193 sipwxRichTextTable::sipwxRichTextTable( ::wxRichTextObject*parent): ::wxRichTextTable(parent), sipPySelf(SIP_NULLPTR)
194 {
195 memset(sipPyMethods, 0, sizeof (sipPyMethods));
196 }
197
sipwxRichTextTable(const::wxRichTextTable & obj)198 sipwxRichTextTable::sipwxRichTextTable(const ::wxRichTextTable& obj): ::wxRichTextTable(obj), sipPySelf(SIP_NULLPTR)
199 {
200 memset(sipPyMethods, 0, sizeof (sipPyMethods));
201 }
202
~sipwxRichTextTable()203 sipwxRichTextTable::~sipwxRichTextTable()
204 {
205 sipInstanceDestroyedEx(&sipPySelf);
206 }
207
AddColumns(int startCol,int noCols,const::wxRichTextAttr & attr)208 bool sipwxRichTextTable::AddColumns(int startCol,int noCols,const ::wxRichTextAttr& attr)
209 {
210 sip_gilstate_t sipGILState;
211 PyObject *sipMeth;
212
213 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,SIP_NULLPTR,sipName_AddColumns);
214
215 if (!sipMeth)
216 return ::wxRichTextTable::AddColumns(startCol,noCols,attr);
217
218 extern bool sipVH__richtext_106(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const ::wxRichTextAttr&);
219
220 return sipVH__richtext_106(sipGILState, 0, sipPySelf, sipMeth, startCol, noCols, attr);
221 }
222
AddRows(int startRow,int noRows,const::wxRichTextAttr & attr)223 bool sipwxRichTextTable::AddRows(int startRow,int noRows,const ::wxRichTextAttr& attr)
224 {
225 sip_gilstate_t sipGILState;
226 PyObject *sipMeth;
227
228 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,SIP_NULLPTR,sipName_AddRows);
229
230 if (!sipMeth)
231 return ::wxRichTextTable::AddRows(startRow,noRows,attr);
232
233 extern bool sipVH__richtext_106(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const ::wxRichTextAttr&);
234
235 return sipVH__richtext_106(sipGILState, 0, sipPySelf, sipMeth, startRow, noRows, attr);
236 }
237
DeleteColumns(int startCol,int noCols)238 bool sipwxRichTextTable::DeleteColumns(int startCol,int noCols)
239 {
240 sip_gilstate_t sipGILState;
241 PyObject *sipMeth;
242
243 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,SIP_NULLPTR,sipName_DeleteColumns);
244
245 if (!sipMeth)
246 return ::wxRichTextTable::DeleteColumns(startCol,noCols);
247
248 extern bool sipVH__richtext_104(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int);
249
250 return sipVH__richtext_104(sipGILState, 0, sipPySelf, sipMeth, startCol, noCols);
251 }
252
DeleteRows(int startRow,int noRows)253 bool sipwxRichTextTable::DeleteRows(int startRow,int noRows)
254 {
255 sip_gilstate_t sipGILState;
256 PyObject *sipMeth;
257
258 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,SIP_NULLPTR,sipName_DeleteRows);
259
260 if (!sipMeth)
261 return ::wxRichTextTable::DeleteRows(startRow,noRows);
262
263 extern bool sipVH__richtext_104(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int);
264
265 return sipVH__richtext_104(sipGILState, 0, sipPySelf, sipMeth, startRow, noRows);
266 }
267
SetCellStyle(const::wxRichTextSelection & selection,const::wxRichTextAttr & style,int flags)268 bool sipwxRichTextTable::SetCellStyle(const ::wxRichTextSelection& selection,const ::wxRichTextAttr& style,int flags)
269 {
270 sip_gilstate_t sipGILState;
271 PyObject *sipMeth;
272
273 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,SIP_NULLPTR,sipName_SetCellStyle);
274
275 if (!sipMeth)
276 return ::wxRichTextTable::SetCellStyle(selection,style,flags);
277
278 extern bool sipVH__richtext_105(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const ::wxRichTextSelection&,const ::wxRichTextAttr&,int);
279
280 return sipVH__richtext_105(sipGILState, 0, sipPySelf, sipMeth, selection, style, flags);
281 }
282
CreateTable(int rows,int cols)283 bool sipwxRichTextTable::CreateTable(int rows,int cols)
284 {
285 sip_gilstate_t sipGILState;
286 PyObject *sipMeth;
287
288 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,SIP_NULLPTR,sipName_CreateTable);
289
290 if (!sipMeth)
291 return ::wxRichTextTable::CreateTable(rows,cols);
292
293 extern bool sipVH__richtext_104(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int);
294
295 return sipVH__richtext_104(sipGILState, 0, sipPySelf, sipMeth, rows, cols);
296 }
297
ClearTable()298 void sipwxRichTextTable::ClearTable()
299 {
300 sip_gilstate_t sipGILState;
301 PyObject *sipMeth;
302
303 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,SIP_NULLPTR,sipName_ClearTable);
304
305 if (!sipMeth)
306 {
307 ::wxRichTextTable::ClearTable();
308 return;
309 }
310
311 extern void sipVH__richtext_40(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
312
313 sipVH__richtext_40(sipGILState, 0, sipPySelf, sipMeth);
314 }
315
GetFocusedCell() const316 ::wxPosition sipwxRichTextTable::GetFocusedCell() const
317 {
318 sip_gilstate_t sipGILState;
319 PyObject *sipMeth;
320
321 sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[7]),sipPySelf,SIP_NULLPTR,sipName_GetFocusedCell);
322
323 if (!sipMeth)
324 return ::wxRichTextTable::GetFocusedCell();
325
326 extern ::wxPosition sipVH__richtext_103(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
327
328 return sipVH__richtext_103(sipGILState, 0, sipPySelf, sipMeth);
329 }
330
GetCellRowColumnPosition(long pos,int & row,int & col) const331 bool sipwxRichTextTable::GetCellRowColumnPosition(long pos,int& row,int& col) const
332 {
333 sip_gilstate_t sipGILState;
334 PyObject *sipMeth;
335
336 sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[8]),sipPySelf,SIP_NULLPTR,sipName_GetCellRowColumnPosition);
337
338 if (!sipMeth)
339 return ::wxRichTextTable::GetCellRowColumnPosition(pos,row,col);
340
341 extern bool sipVH__richtext_102(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, long,int&,int&);
342
343 return sipVH__richtext_102(sipGILState, 0, sipPySelf, sipMeth, pos, row, col);
344 }
345
GetCell(long pos) const346 ::wxRichTextCell* sipwxRichTextTable::GetCell(long pos) const
347 {
348 sip_gilstate_t sipGILState;
349 PyObject *sipMeth;
350
351 sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[9]),sipPySelf,SIP_NULLPTR,sipName_GetCell);
352
353 if (!sipMeth)
354 return ::wxRichTextTable::GetCell(pos);
355
356 extern ::wxRichTextCell* sipVH__richtext_101(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, long);
357
358 return sipVH__richtext_101(sipGILState, 0, sipPySelf, sipMeth, pos);
359 }
360
GetCell(int row,int col) const361 ::wxRichTextCell* sipwxRichTextTable::GetCell(int row,int col) const
362 {
363 sip_gilstate_t sipGILState;
364 PyObject *sipMeth;
365
366 sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[10]),sipPySelf,SIP_NULLPTR,sipName_GetCell);
367
368 if (!sipMeth)
369 return ::wxRichTextTable::GetCell(row,col);
370
371 extern ::wxRichTextCell* sipVH__richtext_100(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int);
372
373 return sipVH__richtext_100(sipGILState, 0, sipPySelf, sipMeth, row, col);
374 }
375
UpdateFloatingObjects(const::wxRect & availableRect,::wxRichTextObject * untilObj)376 bool sipwxRichTextTable::UpdateFloatingObjects(const ::wxRect& availableRect, ::wxRichTextObject*untilObj)
377 {
378 sip_gilstate_t sipGILState;
379 PyObject *sipMeth;
380
381 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,SIP_NULLPTR,sipName_UpdateFloatingObjects);
382
383 if (!sipMeth)
384 return ::wxRichTextTable::UpdateFloatingObjects(availableRect,untilObj);
385
386 extern bool sipVH__richtext_73(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const ::wxRect&, ::wxRichTextObject*);
387
388 return sipVH__richtext_73(sipGILState, 0, sipPySelf, sipMeth, availableRect, untilObj);
389 }
390
InvalidateHierarchy(const::wxRichTextRange & invalidRange)391 void sipwxRichTextTable::InvalidateHierarchy(const ::wxRichTextRange& invalidRange)
392 {
393 sip_gilstate_t sipGILState;
394 PyObject *sipMeth;
395
396 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,SIP_NULLPTR,sipName_InvalidateHierarchy);
397
398 if (!sipMeth)
399 {
400 ::wxRichTextTable::InvalidateHierarchy(invalidRange);
401 return;
402 }
403
404 extern void sipVH__richtext_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const ::wxRichTextRange&);
405
406 sipVH__richtext_18(sipGILState, 0, sipPySelf, sipMeth, invalidRange);
407 }
408
DoInvalidate(const::wxRichTextRange & invalidRange)409 void sipwxRichTextTable::DoInvalidate(const ::wxRichTextRange& invalidRange)
410 {
411 sip_gilstate_t sipGILState;
412 PyObject *sipMeth;
413
414 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,SIP_NULLPTR,sipName_DoInvalidate);
415
416 if (!sipMeth)
417 {
418 ::wxRichTextTable::DoInvalidate(invalidRange);
419 return;
420 }
421
422 extern void sipVH__richtext_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const ::wxRichTextRange&);
423
424 sipVH__richtext_18(sipGILState, 0, sipPySelf, sipMeth, invalidRange);
425 }
426
GetBasicStyle() const427 const ::wxRichTextAttr& sipwxRichTextTable::GetBasicStyle() const
428 {
429 sip_gilstate_t sipGILState;
430 PyObject *sipMeth;
431
432 sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[14]),sipPySelf,SIP_NULLPTR,sipName_GetBasicStyle);
433
434 if (!sipMeth)
435 return ::wxRichTextTable::GetBasicStyle();
436
437 extern const ::wxRichTextAttr& sipVH__richtext_71(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
438
439 return sipVH__richtext_71(sipGILState, 0, sipPySelf, sipMeth);
440 }
441
SetBasicStyle(const::wxRichTextAttr & style)442 void sipwxRichTextTable::SetBasicStyle(const ::wxRichTextAttr& style)
443 {
444 sip_gilstate_t sipGILState;
445 PyObject *sipMeth;
446
447 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,SIP_NULLPTR,sipName_SetBasicStyle);
448
449 if (!sipMeth)
450 {
451 ::wxRichTextTable::SetBasicStyle(style);
452 return;
453 }
454
455 extern void sipVH__richtext_72(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const ::wxRichTextAttr&);
456
457 sipVH__richtext_72(sipGILState, 0, sipPySelf, sipMeth, style);
458 }
459
GetDefaultStyle() const460 const ::wxRichTextAttr& sipwxRichTextTable::GetDefaultStyle() const
461 {
462 sip_gilstate_t sipGILState;
463 PyObject *sipMeth;
464
465 sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[16]),sipPySelf,SIP_NULLPTR,sipName_GetDefaultStyle);
466
467 if (!sipMeth)
468 return ::wxRichTextTable::GetDefaultStyle();
469
470 extern const ::wxRichTextAttr& sipVH__richtext_71(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
471
472 return sipVH__richtext_71(sipGILState, 0, sipPySelf, sipMeth);
473 }
474
SetDefaultStyle(const::wxRichTextAttr & style)475 bool sipwxRichTextTable::SetDefaultStyle(const ::wxRichTextAttr& style)
476 {
477 sip_gilstate_t sipGILState;
478 PyObject *sipMeth;
479
480 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,SIP_NULLPTR,sipName_SetDefaultStyle);
481
482 if (!sipMeth)
483 return ::wxRichTextTable::SetDefaultStyle(style);
484
485 extern bool sipVH__richtext_70(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const ::wxRichTextAttr&);
486
487 return sipVH__richtext_70(sipGILState, 0, sipPySelf, sipMeth, style);
488 }
489
GetText() const490 ::wxString sipwxRichTextTable::GetText() const
491 {
492 sip_gilstate_t sipGILState;
493 PyObject *sipMeth;
494
495 sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[18]),sipPySelf,SIP_NULLPTR,sipName_GetText);
496
497 if (!sipMeth)
498 return ::wxRichTextTable::GetText();
499
500 extern ::wxString sipVH__richtext_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
501
502 return sipVH__richtext_16(sipGILState, 0, sipPySelf, sipMeth);
503 }
504
UpdateRanges()505 void sipwxRichTextTable::UpdateRanges()
506 {
507 sip_gilstate_t sipGILState;
508 PyObject *sipMeth;
509
510 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,SIP_NULLPTR,sipName_UpdateRanges);
511
512 if (!sipMeth)
513 {
514 ::wxRichTextTable::UpdateRanges();
515 return;
516 }
517
518 extern void sipVH__richtext_40(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
519
520 sipVH__richtext_40(sipGILState, 0, sipPySelf, sipMeth);
521 }
522
ApplyStyleSheet(::wxRichTextStyleSheet * styleSheet)523 bool sipwxRichTextTable::ApplyStyleSheet( ::wxRichTextStyleSheet*styleSheet)
524 {
525 sip_gilstate_t sipGILState;
526 PyObject *sipMeth;
527
528 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,SIP_NULLPTR,sipName_ApplyStyleSheet);
529
530 if (!sipMeth)
531 return ::wxRichTextTable::ApplyStyleSheet(styleSheet);
532
533 extern bool sipVH__richtext_69(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, ::wxRichTextStyleSheet*);
534
535 return sipVH__richtext_69(sipGILState, 0, sipPySelf, sipMeth, styleSheet);
536 }
537
CopyFragment(const::wxRichTextRange & range,::wxRichTextParagraphLayoutBox & fragment)538 bool sipwxRichTextTable::CopyFragment(const ::wxRichTextRange& range, ::wxRichTextParagraphLayoutBox& fragment)
539 {
540 sip_gilstate_t sipGILState;
541 PyObject *sipMeth;
542
543 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,SIP_NULLPTR,sipName_CopyFragment);
544
545 if (!sipMeth)
546 return ::wxRichTextTable::CopyFragment(range,fragment);
547
548 extern bool sipVH__richtext_68(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const ::wxRichTextRange&, ::wxRichTextParagraphLayoutBox&);
549
550 return sipVH__richtext_68(sipGILState, 0, sipPySelf, sipMeth, range, fragment);
551 }
552
InsertFragment(long position,::wxRichTextParagraphLayoutBox & fragment)553 bool sipwxRichTextTable::InsertFragment(long position, ::wxRichTextParagraphLayoutBox& fragment)
554 {
555 sip_gilstate_t sipGILState;
556 PyObject *sipMeth;
557
558 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,SIP_NULLPTR,sipName_InsertFragment);
559
560 if (!sipMeth)
561 return ::wxRichTextTable::InsertFragment(position,fragment);
562
563 extern bool sipVH__richtext_67(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, long, ::wxRichTextParagraphLayoutBox&);
564
565 return sipVH__richtext_67(sipGILState, 0, sipPySelf, sipMeth, position, fragment);
566 }
567
PrepareContent(::wxRichTextParagraphLayoutBox & container)568 void sipwxRichTextTable::PrepareContent( ::wxRichTextParagraphLayoutBox& container)
569 {
570 sip_gilstate_t sipGILState;
571 PyObject *sipMeth;
572
573 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,SIP_NULLPTR,sipName_PrepareContent);
574
575 if (!sipMeth)
576 {
577 ::wxRichTextTable::PrepareContent(container);
578 return;
579 }
580
581 extern void sipVH__richtext_66(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, ::wxRichTextParagraphLayoutBox&);
582
583 sipVH__richtext_66(sipGILState, 0, sipPySelf, sipMeth, container);
584 }
585
HasParagraphAttributes(const::wxRichTextRange & range,const::wxRichTextAttr & style) const586 bool sipwxRichTextTable::HasParagraphAttributes(const ::wxRichTextRange& range,const ::wxRichTextAttr& style) const
587 {
588 sip_gilstate_t sipGILState;
589 PyObject *sipMeth;
590
591 sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[24]),sipPySelf,SIP_NULLPTR,sipName_HasParagraphAttributes);
592
593 if (!sipMeth)
594 return ::wxRichTextTable::HasParagraphAttributes(range,style);
595
596 extern bool sipVH__richtext_65(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const ::wxRichTextRange&,const ::wxRichTextAttr&);
597
598 return sipVH__richtext_65(sipGILState, 0, sipPySelf, sipMeth, range, style);
599 }
600
HasCharacterAttributes(const::wxRichTextRange & range,const::wxRichTextAttr & style) const601 bool sipwxRichTextTable::HasCharacterAttributes(const ::wxRichTextRange& range,const ::wxRichTextAttr& style) const
602 {
603 sip_gilstate_t sipGILState;
604 PyObject *sipMeth;
605
606 sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[25]),sipPySelf,SIP_NULLPTR,sipName_HasCharacterAttributes);
607
608 if (!sipMeth)
609 return ::wxRichTextTable::HasCharacterAttributes(range,style);
610
611 extern bool sipVH__richtext_65(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const ::wxRichTextRange&,const ::wxRichTextAttr&);
612
613 return sipVH__richtext_65(sipGILState, 0, sipPySelf, sipMeth, range, style);
614 }
615
SetObjectPropertiesWithUndo(::wxRichTextObject & obj,const::wxRichTextProperties & properties,::wxRichTextObject * objToSet)616 bool sipwxRichTextTable::SetObjectPropertiesWithUndo( ::wxRichTextObject& obj,const ::wxRichTextProperties& properties, ::wxRichTextObject*objToSet)
617 {
618 sip_gilstate_t sipGILState;
619 PyObject *sipMeth;
620
621 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,SIP_NULLPTR,sipName_SetObjectPropertiesWithUndo);
622
623 if (!sipMeth)
624 return ::wxRichTextTable::SetObjectPropertiesWithUndo(obj,properties,objToSet);
625
626 extern bool sipVH__richtext_64(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, ::wxRichTextObject&,const ::wxRichTextProperties&, ::wxRichTextObject*);
627
628 return sipVH__richtext_64(sipGILState, 0, sipPySelf, sipMeth, obj, properties, objToSet);
629 }
630
SetProperties(const::wxRichTextRange & range,const::wxRichTextProperties & properties,int flags)631 bool sipwxRichTextTable::SetProperties(const ::wxRichTextRange& range,const ::wxRichTextProperties& properties,int flags)
632 {
633 sip_gilstate_t sipGILState;
634 PyObject *sipMeth;
635
636 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,SIP_NULLPTR,sipName_SetProperties);
637
638 if (!sipMeth)
639 return ::wxRichTextTable::SetProperties(range,properties,flags);
640
641 extern bool sipVH__richtext_63(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const ::wxRichTextRange&,const ::wxRichTextProperties&,int);
642
643 return sipVH__richtext_63(sipGILState, 0, sipPySelf, sipMeth, range, properties, flags);
644 }
645
FindNextParagraphNumber(::wxRichTextParagraph * previousParagraph,::wxRichTextAttr & attr) const646 bool sipwxRichTextTable::FindNextParagraphNumber( ::wxRichTextParagraph*previousParagraph, ::wxRichTextAttr& attr) const
647 {
648 sip_gilstate_t sipGILState;
649 PyObject *sipMeth;
650
651 sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[28]),sipPySelf,SIP_NULLPTR,sipName_FindNextParagraphNumber);
652
653 if (!sipMeth)
654 return ::wxRichTextTable::FindNextParagraphNumber(previousParagraph,attr);
655
656 extern bool sipVH__richtext_62(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, ::wxRichTextParagraph*, ::wxRichTextAttr&);
657
658 return sipVH__richtext_62(sipGILState, 0, sipPySelf, sipMeth, previousParagraph, attr);
659 }
660
DoNumberList(const::wxRichTextRange & range,const::wxRichTextRange & promotionRange,int promoteBy,::wxRichTextListStyleDefinition * styleDef,int flags,int startFrom,int specifiedLevel)661 bool sipwxRichTextTable::DoNumberList(const ::wxRichTextRange& range,const ::wxRichTextRange& promotionRange,int promoteBy, ::wxRichTextListStyleDefinition*styleDef,int flags,int startFrom,int specifiedLevel)
662 {
663 sip_gilstate_t sipGILState;
664 PyObject *sipMeth;
665
666 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,SIP_NULLPTR,sipName_DoNumberList);
667
668 if (!sipMeth)
669 return ::wxRichTextTable::DoNumberList(range,promotionRange,promoteBy,styleDef,flags,startFrom,specifiedLevel);
670
671 extern bool sipVH__richtext_61(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const ::wxRichTextRange&,const ::wxRichTextRange&,int, ::wxRichTextListStyleDefinition*,int,int,int);
672
673 return sipVH__richtext_61(sipGILState, 0, sipPySelf, sipMeth, range, promotionRange, promoteBy, styleDef, flags, startFrom, specifiedLevel);
674 }
675
ClearListStyle(const::wxRichTextRange & range,int flags)676 bool sipwxRichTextTable::ClearListStyle(const ::wxRichTextRange& range,int flags)
677 {
678 sip_gilstate_t sipGILState;
679 PyObject *sipMeth;
680
681 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,SIP_NULLPTR,sipName_ClearListStyle);
682
683 if (!sipMeth)
684 return ::wxRichTextTable::ClearListStyle(range,flags);
685
686 extern bool sipVH__richtext_60(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const ::wxRichTextRange&,int);
687
688 return sipVH__richtext_60(sipGILState, 0, sipPySelf, sipMeth, range, flags);
689 }
690
GetStyleForRange(const::wxRichTextRange & range,::wxRichTextAttr & style)691 bool sipwxRichTextTable::GetStyleForRange(const ::wxRichTextRange& range, ::wxRichTextAttr& style)
692 {
693 sip_gilstate_t sipGILState;
694 PyObject *sipMeth;
695
696 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,SIP_NULLPTR,sipName_GetStyleForRange);
697
698 if (!sipMeth)
699 return ::wxRichTextTable::GetStyleForRange(range,style);
700
701 extern bool sipVH__richtext_59(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const ::wxRichTextRange&, ::wxRichTextAttr&);
702
703 return sipVH__richtext_59(sipGILState, 0, sipPySelf, sipMeth, range, style);
704 }
705
DoGetStyle(long position,::wxRichTextAttr & style,bool combineStyles)706 bool sipwxRichTextTable::DoGetStyle(long position, ::wxRichTextAttr& style,bool combineStyles)
707 {
708 sip_gilstate_t sipGILState;
709 PyObject *sipMeth;
710
711 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,SIP_NULLPTR,sipName_DoGetStyle);
712
713 if (!sipMeth)
714 return ::wxRichTextTable::DoGetStyle(position,style,combineStyles);
715
716 extern bool sipVH__richtext_58(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, long, ::wxRichTextAttr&,bool);
717
718 return sipVH__richtext_58(sipGILState, 0, sipPySelf, sipMeth, position, style, combineStyles);
719 }
720
GetUncombinedStyle(long position,::wxRichTextAttr & style)721 bool sipwxRichTextTable::GetUncombinedStyle(long position, ::wxRichTextAttr& style)
722 {
723 sip_gilstate_t sipGILState;
724 PyObject *sipMeth;
725
726 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,SIP_NULLPTR,sipName_GetUncombinedStyle);
727
728 if (!sipMeth)
729 return ::wxRichTextTable::GetUncombinedStyle(position,style);
730
731 extern bool sipVH__richtext_57(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, long, ::wxRichTextAttr&);
732
733 return sipVH__richtext_57(sipGILState, 0, sipPySelf, sipMeth, position, style);
734 }
735
GetStyle(long position,::wxRichTextAttr & style)736 bool sipwxRichTextTable::GetStyle(long position, ::wxRichTextAttr& style)
737 {
738 sip_gilstate_t sipGILState;
739 PyObject *sipMeth;
740
741 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,SIP_NULLPTR,sipName_GetStyle);
742
743 if (!sipMeth)
744 return ::wxRichTextTable::GetStyle(position,style);
745
746 extern bool sipVH__richtext_57(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, long, ::wxRichTextAttr&);
747
748 return sipVH__richtext_57(sipGILState, 0, sipPySelf, sipMeth, position, style);
749 }
750
SetStyle(::wxRichTextObject * obj,const::wxRichTextAttr & textAttr,int flags)751 void sipwxRichTextTable::SetStyle( ::wxRichTextObject*obj,const ::wxRichTextAttr& textAttr,int flags)
752 {
753 sip_gilstate_t sipGILState;
754 PyObject *sipMeth;
755
756 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,SIP_NULLPTR,sipName_SetStyle);
757
758 if (!sipMeth)
759 {
760 ::wxRichTextTable::SetStyle(obj,textAttr,flags);
761 return;
762 }
763
764 extern void sipVH__richtext_56(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, ::wxRichTextObject*,const ::wxRichTextAttr&,int);
765
766 sipVH__richtext_56(sipGILState, 0, sipPySelf, sipMeth, obj, textAttr, flags);
767 }
768
SetStyle(const::wxRichTextRange & range,const::wxRichTextAttr & style,int flags)769 bool sipwxRichTextTable::SetStyle(const ::wxRichTextRange& range,const ::wxRichTextAttr& style,int flags)
770 {
771 sip_gilstate_t sipGILState;
772 PyObject *sipMeth;
773
774 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,SIP_NULLPTR,sipName_SetStyle);
775
776 if (!sipMeth)
777 return ::wxRichTextTable::SetStyle(range,style,flags);
778
779 extern bool sipVH__richtext_55(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const ::wxRichTextRange&,const ::wxRichTextAttr&,int);
780
781 return sipVH__richtext_55(sipGILState, 0, sipPySelf, sipMeth, range, style, flags);
782 }
783
PositionToXY(long pos,long * x,long * y) const784 bool sipwxRichTextTable::PositionToXY(long pos,long*x,long*y) const
785 {
786 sip_gilstate_t sipGILState;
787 PyObject *sipMeth;
788
789 sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[37]),sipPySelf,SIP_NULLPTR,sipName_PositionToXY);
790
791 if (!sipMeth)
792 return ::wxRichTextTable::PositionToXY(pos,x,y);
793
794 extern bool sipVH__richtext_54(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, long,long*,long*);
795
796 return sipVH__richtext_54(sipGILState, 0, sipPySelf, sipMeth, pos, x, y);
797 }
798
XYToPosition(long x,long y) const799 long sipwxRichTextTable::XYToPosition(long x,long y) const
800 {
801 sip_gilstate_t sipGILState;
802 PyObject *sipMeth;
803
804 sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[38]),sipPySelf,SIP_NULLPTR,sipName_XYToPosition);
805
806 if (!sipMeth)
807 return ::wxRichTextTable::XYToPosition(x,y);
808
809 extern long sipVH__richtext_53(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, long,long);
810
811 return sipVH__richtext_53(sipGILState, 0, sipPySelf, sipMeth, x, y);
812 }
813
GetParagraphText(long paragraphNumber) const814 ::wxString sipwxRichTextTable::GetParagraphText(long paragraphNumber) const
815 {
816 sip_gilstate_t sipGILState;
817 PyObject *sipMeth;
818
819 sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[39]),sipPySelf,SIP_NULLPTR,sipName_GetParagraphText);
820
821 if (!sipMeth)
822 return ::wxRichTextTable::GetParagraphText(paragraphNumber);
823
824 extern ::wxString sipVH__richtext_52(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, long);
825
826 return sipVH__richtext_52(sipGILState, 0, sipPySelf, sipMeth, paragraphNumber);
827 }
828
GetLineCount() const829 int sipwxRichTextTable::GetLineCount() const
830 {
831 sip_gilstate_t sipGILState;
832 PyObject *sipMeth;
833
834 sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[40]),sipPySelf,SIP_NULLPTR,sipName_GetLineCount);
835
836 if (!sipMeth)
837 return ::wxRichTextTable::GetLineCount();
838
839 extern int sipVH__richtext_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
840
841 return sipVH__richtext_10(sipGILState, 0, sipPySelf, sipMeth);
842 }
843
GetParagraphCount() const844 int sipwxRichTextTable::GetParagraphCount() const
845 {
846 sip_gilstate_t sipGILState;
847 PyObject *sipMeth;
848
849 sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[41]),sipPySelf,SIP_NULLPTR,sipName_GetParagraphCount);
850
851 if (!sipMeth)
852 return ::wxRichTextTable::GetParagraphCount();
853
854 extern int sipVH__richtext_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
855
856 return sipVH__richtext_10(sipGILState, 0, sipPySelf, sipMeth);
857 }
858
GetParagraphLength(long paragraphNumber) const859 int sipwxRichTextTable::GetParagraphLength(long paragraphNumber) const
860 {
861 sip_gilstate_t sipGILState;
862 PyObject *sipMeth;
863
864 sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[42]),sipPySelf,SIP_NULLPTR,sipName_GetParagraphLength);
865
866 if (!sipMeth)
867 return ::wxRichTextTable::GetParagraphLength(paragraphNumber);
868
869 extern int sipVH__richtext_51(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, long);
870
871 return sipVH__richtext_51(sipGILState, 0, sipPySelf, sipMeth, paragraphNumber);
872 }
873
GetParagraphForLine(::wxRichTextLine * line) const874 ::wxRichTextParagraph* sipwxRichTextTable::GetParagraphForLine( ::wxRichTextLine*line) const
875 {
876 sip_gilstate_t sipGILState;
877 PyObject *sipMeth;
878
879 sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[43]),sipPySelf,SIP_NULLPTR,sipName_GetParagraphForLine);
880
881 if (!sipMeth)
882 return ::wxRichTextTable::GetParagraphForLine(line);
883
884 extern ::wxRichTextParagraph* sipVH__richtext_50(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, ::wxRichTextLine*);
885
886 return sipVH__richtext_50(sipGILState, 0, sipPySelf, sipMeth, line);
887 }
888
GetParagraphAtLine(long paragraphNumber) const889 ::wxRichTextParagraph* sipwxRichTextTable::GetParagraphAtLine(long paragraphNumber) const
890 {
891 sip_gilstate_t sipGILState;
892 PyObject *sipMeth;
893
894 sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[44]),sipPySelf,SIP_NULLPTR,sipName_GetParagraphAtLine);
895
896 if (!sipMeth)
897 return ::wxRichTextTable::GetParagraphAtLine(paragraphNumber);
898
899 extern ::wxRichTextParagraph* sipVH__richtext_49(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, long);
900
901 return sipVH__richtext_49(sipGILState, 0, sipPySelf, sipMeth, paragraphNumber);
902 }
903
GetLeafObjectAtPosition(long position) const904 ::wxRichTextObject* sipwxRichTextTable::GetLeafObjectAtPosition(long position) const
905 {
906 sip_gilstate_t sipGILState;
907 PyObject *sipMeth;
908
909 sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[45]),sipPySelf,SIP_NULLPTR,sipName_GetLeafObjectAtPosition);
910
911 if (!sipMeth)
912 return ::wxRichTextTable::GetLeafObjectAtPosition(position);
913
914 extern ::wxRichTextObject* sipVH__richtext_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, long);
915
916 return sipVH__richtext_6(sipGILState, 0, sipPySelf, sipMeth, position);
917 }
918
GetLineForVisibleLineNumber(long lineNumber) const919 ::wxRichTextLine* sipwxRichTextTable::GetLineForVisibleLineNumber(long lineNumber) const
920 {
921 sip_gilstate_t sipGILState;
922 PyObject *sipMeth;
923
924 sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[46]),sipPySelf,SIP_NULLPTR,sipName_GetLineForVisibleLineNumber);
925
926 if (!sipMeth)
927 return ::wxRichTextTable::GetLineForVisibleLineNumber(lineNumber);
928
929 extern ::wxRichTextLine* sipVH__richtext_48(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, long);
930
931 return sipVH__richtext_48(sipGILState, 0, sipPySelf, sipMeth, lineNumber);
932 }
933
GetVisibleLineNumber(long pos,bool caretPosition,bool startOfLine) const934 long sipwxRichTextTable::GetVisibleLineNumber(long pos,bool caretPosition,bool startOfLine) const
935 {
936 sip_gilstate_t sipGILState;
937 PyObject *sipMeth;
938
939 sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[47]),sipPySelf,SIP_NULLPTR,sipName_GetVisibleLineNumber);
940
941 if (!sipMeth)
942 return ::wxRichTextTable::GetVisibleLineNumber(pos,caretPosition,startOfLine);
943
944 extern long sipVH__richtext_47(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, long,bool,bool);
945
946 return sipVH__richtext_47(sipGILState, 0, sipPySelf, sipMeth, pos, caretPosition, startOfLine);
947 }
948
GetLineSizeAtPosition(long pos,bool caretPosition) const949 ::wxSize sipwxRichTextTable::GetLineSizeAtPosition(long pos,bool caretPosition) const
950 {
951 sip_gilstate_t sipGILState;
952 PyObject *sipMeth;
953
954 sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[48]),sipPySelf,SIP_NULLPTR,sipName_GetLineSizeAtPosition);
955
956 if (!sipMeth)
957 return ::wxRichTextTable::GetLineSizeAtPosition(pos,caretPosition);
958
959 extern ::wxSize sipVH__richtext_46(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, long,bool);
960
961 return sipVH__richtext_46(sipGILState, 0, sipPySelf, sipMeth, pos, caretPosition);
962 }
963
GetParagraphAtPosition(long pos,bool caretPosition) const964 ::wxRichTextParagraph* sipwxRichTextTable::GetParagraphAtPosition(long pos,bool caretPosition) const
965 {
966 sip_gilstate_t sipGILState;
967 PyObject *sipMeth;
968
969 sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[49]),sipPySelf,SIP_NULLPTR,sipName_GetParagraphAtPosition);
970
971 if (!sipMeth)
972 return ::wxRichTextTable::GetParagraphAtPosition(pos,caretPosition);
973
974 extern ::wxRichTextParagraph* sipVH__richtext_45(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, long,bool);
975
976 return sipVH__richtext_45(sipGILState, 0, sipPySelf, sipMeth, pos, caretPosition);
977 }
978
GetLineAtYPosition(int y) const979 ::wxRichTextLine* sipwxRichTextTable::GetLineAtYPosition(int y) const
980 {
981 sip_gilstate_t sipGILState;
982 PyObject *sipMeth;
983
984 sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[50]),sipPySelf,SIP_NULLPTR,sipName_GetLineAtYPosition);
985
986 if (!sipMeth)
987 return ::wxRichTextTable::GetLineAtYPosition(y);
988
989 extern ::wxRichTextLine* sipVH__richtext_44(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);
990
991 return sipVH__richtext_44(sipGILState, 0, sipPySelf, sipMeth, y);
992 }
993
GetLineAtPosition(long pos,bool caretPosition) const994 ::wxRichTextLine* sipwxRichTextTable::GetLineAtPosition(long pos,bool caretPosition) const
995 {
996 sip_gilstate_t sipGILState;
997 PyObject *sipMeth;
998
999 sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[51]),sipPySelf,SIP_NULLPTR,sipName_GetLineAtPosition);
1000
1001 if (!sipMeth)
1002 return ::wxRichTextTable::GetLineAtPosition(pos,caretPosition);
1003
1004 extern ::wxRichTextLine* sipVH__richtext_43(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, long,bool);
1005
1006 return sipVH__richtext_43(sipGILState, 0, sipPySelf, sipMeth, pos, caretPosition);
1007 }
1008
AddParagraphs(const::wxString & text,::wxRichTextAttr * paraStyle)1009 ::wxRichTextRange sipwxRichTextTable::AddParagraphs(const ::wxString& text, ::wxRichTextAttr*paraStyle)
1010 {
1011 sip_gilstate_t sipGILState;
1012 PyObject *sipMeth;
1013
1014 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[52],sipPySelf,SIP_NULLPTR,sipName_AddParagraphs);
1015
1016 if (!sipMeth)
1017 return ::wxRichTextTable::AddParagraphs(text,paraStyle);
1018
1019 extern ::wxRichTextRange sipVH__richtext_41(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const ::wxString&, ::wxRichTextAttr*);
1020
1021 return sipVH__richtext_41(sipGILState, 0, sipPySelf, sipMeth, text, paraStyle);
1022 }
1023
AddImage(const::wxImage & image,::wxRichTextAttr * paraStyle)1024 ::wxRichTextRange sipwxRichTextTable::AddImage(const ::wxImage& image, ::wxRichTextAttr*paraStyle)
1025 {
1026 sip_gilstate_t sipGILState;
1027 PyObject *sipMeth;
1028
1029 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[53],sipPySelf,SIP_NULLPTR,sipName_AddImage);
1030
1031 if (!sipMeth)
1032 return ::wxRichTextTable::AddImage(image,paraStyle);
1033
1034 extern ::wxRichTextRange sipVH__richtext_42(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const ::wxImage&, ::wxRichTextAttr*);
1035
1036 return sipVH__richtext_42(sipGILState, 0, sipPySelf, sipMeth, image, paraStyle);
1037 }
1038
AddParagraph(const::wxString & text,::wxRichTextAttr * paraStyle)1039 ::wxRichTextRange sipwxRichTextTable::AddParagraph(const ::wxString& text, ::wxRichTextAttr*paraStyle)
1040 {
1041 sip_gilstate_t sipGILState;
1042 PyObject *sipMeth;
1043
1044 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[54],sipPySelf,SIP_NULLPTR,sipName_AddParagraph);
1045
1046 if (!sipMeth)
1047 return ::wxRichTextTable::AddParagraph(text,paraStyle);
1048
1049 extern ::wxRichTextRange sipVH__richtext_41(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const ::wxString&, ::wxRichTextAttr*);
1050
1051 return sipVH__richtext_41(sipGILState, 0, sipPySelf, sipMeth, text, paraStyle);
1052 }
1053
Reset()1054 void sipwxRichTextTable::Reset()
1055 {
1056 sip_gilstate_t sipGILState;
1057 PyObject *sipMeth;
1058
1059 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[55],sipPySelf,SIP_NULLPTR,sipName_Reset);
1060
1061 if (!sipMeth)
1062 {
1063 ::wxRichTextTable::Reset();
1064 return;
1065 }
1066
1067 extern void sipVH__richtext_40(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
1068
1069 sipVH__richtext_40(sipGILState, 0, sipPySelf, sipMeth);
1070 }
1071
Clear()1072 void sipwxRichTextTable::Clear()
1073 {
1074 sip_gilstate_t sipGILState;
1075 PyObject *sipMeth;
1076
1077 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[56],sipPySelf,SIP_NULLPTR,sipName_Clear);
1078
1079 if (!sipMeth)
1080 {
1081 ::wxRichTextTable::Clear();
1082 return;
1083 }
1084
1085 extern void sipVH__richtext_40(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
1086
1087 sipVH__richtext_40(sipGILState, 0, sipPySelf, sipMeth);
1088 }
1089
GetStyleSheet() const1090 ::wxRichTextStyleSheet* sipwxRichTextTable::GetStyleSheet() const
1091 {
1092 sip_gilstate_t sipGILState;
1093 PyObject *sipMeth;
1094
1095 sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[57]),sipPySelf,SIP_NULLPTR,sipName_GetStyleSheet);
1096
1097 if (!sipMeth)
1098 return ::wxRichTextTable::GetStyleSheet();
1099
1100 extern ::wxRichTextStyleSheet* sipVH__richtext_39(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
1101
1102 return sipVH__richtext_39(sipGILState, 0, sipPySelf, sipMeth);
1103 }
1104
PromoteList(int promoteBy,const::wxRichTextRange & range,const::wxString & defName,int flags,int specifiedLevel)1105 bool sipwxRichTextTable::PromoteList(int promoteBy,const ::wxRichTextRange& range,const ::wxString& defName,int flags,int specifiedLevel)
1106 {
1107 sip_gilstate_t sipGILState;
1108 PyObject *sipMeth;
1109
1110 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[58],sipPySelf,SIP_NULLPTR,sipName_PromoteList);
1111
1112 if (!sipMeth)
1113 return ::wxRichTextTable::PromoteList(promoteBy,range,defName,flags,specifiedLevel);
1114
1115 extern bool sipVH__richtext_38(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,const ::wxRichTextRange&,const ::wxString&,int,int);
1116
1117 return sipVH__richtext_38(sipGILState, 0, sipPySelf, sipMeth, promoteBy, range, defName, flags, specifiedLevel);
1118 }
1119
PromoteList(int promoteBy,const::wxRichTextRange & range,::wxRichTextListStyleDefinition * def,int flags,int specifiedLevel)1120 bool sipwxRichTextTable::PromoteList(int promoteBy,const ::wxRichTextRange& range, ::wxRichTextListStyleDefinition*def,int flags,int specifiedLevel)
1121 {
1122 sip_gilstate_t sipGILState;
1123 PyObject *sipMeth;
1124
1125 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[59],sipPySelf,SIP_NULLPTR,sipName_PromoteList);
1126
1127 if (!sipMeth)
1128 return ::wxRichTextTable::PromoteList(promoteBy,range,def,flags,specifiedLevel);
1129
1130 extern bool sipVH__richtext_37(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,const ::wxRichTextRange&, ::wxRichTextListStyleDefinition*,int,int);
1131
1132 return sipVH__richtext_37(sipGILState, 0, sipPySelf, sipMeth, promoteBy, range, def, flags, specifiedLevel);
1133 }
1134
NumberList(const::wxRichTextRange & range,const::wxString & defName,int flags,int startFrom,int specifiedLevel)1135 bool sipwxRichTextTable::NumberList(const ::wxRichTextRange& range,const ::wxString& defName,int flags,int startFrom,int specifiedLevel)
1136 {
1137 sip_gilstate_t sipGILState;
1138 PyObject *sipMeth;
1139
1140 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[60],sipPySelf,SIP_NULLPTR,sipName_NumberList);
1141
1142 if (!sipMeth)
1143 return ::wxRichTextTable::NumberList(range,defName,flags,startFrom,specifiedLevel);
1144
1145 extern bool sipVH__richtext_36(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const ::wxRichTextRange&,const ::wxString&,int,int,int);
1146
1147 return sipVH__richtext_36(sipGILState, 0, sipPySelf, sipMeth, range, defName, flags, startFrom, specifiedLevel);
1148 }
1149
NumberList(const::wxRichTextRange & range,::wxRichTextListStyleDefinition * def,int flags,int startFrom,int specifiedLevel)1150 bool sipwxRichTextTable::NumberList(const ::wxRichTextRange& range, ::wxRichTextListStyleDefinition*def,int flags,int startFrom,int specifiedLevel)
1151 {
1152 sip_gilstate_t sipGILState;
1153 PyObject *sipMeth;
1154
1155 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[61],sipPySelf,SIP_NULLPTR,sipName_NumberList);
1156
1157 if (!sipMeth)
1158 return ::wxRichTextTable::NumberList(range,def,flags,startFrom,specifiedLevel);
1159
1160 extern bool sipVH__richtext_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const ::wxRichTextRange&, ::wxRichTextListStyleDefinition*,int,int,int);
1161
1162 return sipVH__richtext_35(sipGILState, 0, sipPySelf, sipMeth, range, def, flags, startFrom, specifiedLevel);
1163 }
1164
SetListStyle(const::wxRichTextRange & range,const::wxString & defName,int flags,int startFrom,int specifiedLevel)1165 bool sipwxRichTextTable::SetListStyle(const ::wxRichTextRange& range,const ::wxString& defName,int flags,int startFrom,int specifiedLevel)
1166 {
1167 sip_gilstate_t sipGILState;
1168 PyObject *sipMeth;
1169
1170 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[62],sipPySelf,SIP_NULLPTR,sipName_SetListStyle);
1171
1172 if (!sipMeth)
1173 return ::wxRichTextTable::SetListStyle(range,defName,flags,startFrom,specifiedLevel);
1174
1175 extern bool sipVH__richtext_36(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const ::wxRichTextRange&,const ::wxString&,int,int,int);
1176
1177 return sipVH__richtext_36(sipGILState, 0, sipPySelf, sipMeth, range, defName, flags, startFrom, specifiedLevel);
1178 }
1179
SetListStyle(const::wxRichTextRange & range,::wxRichTextListStyleDefinition * styleDef,int flags,int startFrom,int specifiedLevel)1180 bool sipwxRichTextTable::SetListStyle(const ::wxRichTextRange& range, ::wxRichTextListStyleDefinition*styleDef,int flags,int startFrom,int specifiedLevel)
1181 {
1182 sip_gilstate_t sipGILState;
1183 PyObject *sipMeth;
1184
1185 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[63],sipPySelf,SIP_NULLPTR,sipName_SetListStyle);
1186
1187 if (!sipMeth)
1188 return ::wxRichTextTable::SetListStyle(range,styleDef,flags,startFrom,specifiedLevel);
1189
1190 extern bool sipVH__richtext_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const ::wxRichTextRange&, ::wxRichTextListStyleDefinition*,int,int,int);
1191
1192 return sipVH__richtext_35(sipGILState, 0, sipPySelf, sipMeth, range, styleDef, flags, startFrom, specifiedLevel);
1193 }
1194
Move(const::wxPoint & pt)1195 void sipwxRichTextTable::Move(const ::wxPoint& pt)
1196 {
1197 sip_gilstate_t sipGILState;
1198 PyObject *sipMeth;
1199
1200 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[64],sipPySelf,SIP_NULLPTR,sipName_Move);
1201
1202 if (!sipMeth)
1203 {
1204 ::wxRichTextTable::Move(pt);
1205 return;
1206 }
1207
1208 extern void sipVH__richtext_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const ::wxPoint&);
1209
1210 sipVH__richtext_23(sipGILState, 0, sipPySelf, sipMeth, pt);
1211 }
1212
Clone() const1213 ::wxRichTextObject* sipwxRichTextTable::Clone() const
1214 {
1215 sip_gilstate_t sipGILState;
1216 PyObject *sipMeth;
1217
1218 sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[65]),sipPySelf,SIP_NULLPTR,sipName_Clone);
1219
1220 if (!sipMeth)
1221 return ::wxRichTextTable::Clone();
1222
1223 extern ::wxRichTextObject* sipVH__richtext_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
1224
1225 return sipVH__richtext_34(sipGILState, 0, sipPySelf, sipMeth);
1226 }
1227
Show(bool show)1228 void sipwxRichTextTable::Show(bool show)
1229 {
1230 sip_gilstate_t sipGILState;
1231 PyObject *sipMeth;
1232
1233 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[66],sipPySelf,SIP_NULLPTR,sipName_Show);
1234
1235 if (!sipMeth)
1236 {
1237 ::wxRichTextTable::Show(show);
1238 return;
1239 }
1240
1241 extern void sipVH__richtext_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);
1242
1243 sipVH__richtext_33(sipGILState, 0, sipPySelf, sipMeth, show);
1244 }
1245
IsTopLevel() const1246 bool sipwxRichTextTable::IsTopLevel() const
1247 {
1248 sip_gilstate_t sipGILState;
1249 PyObject *sipMeth;
1250
1251 sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[67]),sipPySelf,SIP_NULLPTR,sipName_IsTopLevel);
1252
1253 if (!sipMeth)
1254 return ::wxRichTextTable::IsTopLevel();
1255
1256 extern bool sipVH__richtext_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
1257
1258 return sipVH__richtext_9(sipGILState, 0, sipPySelf, sipMeth);
1259 }
1260
AdjustAttributes(::wxRichTextAttr & attr,::wxRichTextDrawingContext & context)1261 bool sipwxRichTextTable::AdjustAttributes( ::wxRichTextAttr& attr, ::wxRichTextDrawingContext& context)
1262 {
1263 sip_gilstate_t sipGILState;
1264 PyObject *sipMeth;
1265
1266 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[68],sipPySelf,SIP_NULLPTR,sipName_AdjustAttributes);
1267
1268 if (!sipMeth)
1269 return ::wxRichTextTable::AdjustAttributes(attr,context);
1270
1271 extern bool sipVH__richtext_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, ::wxRichTextAttr&, ::wxRichTextDrawingContext&);
1272
1273 return sipVH__richtext_32(sipGILState, 0, sipPySelf, sipMeth, attr, context);
1274 }
1275
LayoutToBestSize(::wxDC & dc,::wxRichTextDrawingContext & context,::wxRichTextBuffer * buffer,const::wxRichTextAttr & parentAttr,const::wxRichTextAttr & attr,const::wxRect & availableParentSpace,const::wxRect & availableContainerSpace,int style)1276 bool sipwxRichTextTable::LayoutToBestSize( ::wxDC& dc, ::wxRichTextDrawingContext& context, ::wxRichTextBuffer*buffer,const ::wxRichTextAttr& parentAttr,const ::wxRichTextAttr& attr,const ::wxRect& availableParentSpace,const ::wxRect& availableContainerSpace,int style)
1277 {
1278 sip_gilstate_t sipGILState;
1279 PyObject *sipMeth;
1280
1281 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[69],sipPySelf,SIP_NULLPTR,sipName_LayoutToBestSize);
1282
1283 if (!sipMeth)
1284 return ::wxRichTextTable::LayoutToBestSize(dc,context,buffer,parentAttr,attr,availableParentSpace,availableContainerSpace,style);
1285
1286 extern bool sipVH__richtext_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, ::wxDC&, ::wxRichTextDrawingContext&, ::wxRichTextBuffer*,const ::wxRichTextAttr&,const ::wxRichTextAttr&,const ::wxRect&,const ::wxRect&,int);
1287
1288 return sipVH__richtext_31(sipGILState, 0, sipPySelf, sipMeth, dc, context, buffer, parentAttr, attr, availableParentSpace, availableContainerSpace, style);
1289 }
1290
GetAvailableContentArea(::wxDC & dc,::wxRichTextDrawingContext & context,const::wxRect & outerRect) const1291 ::wxRect sipwxRichTextTable::GetAvailableContentArea( ::wxDC& dc, ::wxRichTextDrawingContext& context,const ::wxRect& outerRect) const
1292 {
1293 sip_gilstate_t sipGILState;
1294 PyObject *sipMeth;
1295
1296 sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[70]),sipPySelf,SIP_NULLPTR,sipName_GetAvailableContentArea);
1297
1298 if (!sipMeth)
1299 return ::wxRichTextTable::GetAvailableContentArea(dc,context,outerRect);
1300
1301 extern ::wxRect sipVH__richtext_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, ::wxDC&, ::wxRichTextDrawingContext&,const ::wxRect&);
1302
1303 return sipVH__richtext_30(sipGILState, 0, sipPySelf, sipMeth, dc, context, outerRect);
1304 }
1305
GetBottomMargin() const1306 int sipwxRichTextTable::GetBottomMargin() const
1307 {
1308 sip_gilstate_t sipGILState;
1309 PyObject *sipMeth;
1310
1311 sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[71]),sipPySelf,SIP_NULLPTR,sipName_GetBottomMargin);
1312
1313 if (!sipMeth)
1314 return ::wxRichTextTable::GetBottomMargin();
1315
1316 extern int sipVH__richtext_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
1317
1318 return sipVH__richtext_10(sipGILState, 0, sipPySelf, sipMeth);
1319 }
1320
GetTopMargin() const1321 int sipwxRichTextTable::GetTopMargin() const
1322 {
1323 sip_gilstate_t sipGILState;
1324 PyObject *sipMeth;
1325
1326 sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[72]),sipPySelf,SIP_NULLPTR,sipName_GetTopMargin);
1327
1328 if (!sipMeth)
1329 return ::wxRichTextTable::GetTopMargin();
1330
1331 extern int sipVH__richtext_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
1332
1333 return sipVH__richtext_10(sipGILState, 0, sipPySelf, sipMeth);
1334 }
1335
GetRightMargin() const1336 int sipwxRichTextTable::GetRightMargin() const
1337 {
1338 sip_gilstate_t sipGILState;
1339 PyObject *sipMeth;
1340
1341 sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[73]),sipPySelf,SIP_NULLPTR,sipName_GetRightMargin);
1342
1343 if (!sipMeth)
1344 return ::wxRichTextTable::GetRightMargin();
1345
1346 extern int sipVH__richtext_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
1347
1348 return sipVH__richtext_10(sipGILState, 0, sipPySelf, sipMeth);
1349 }
1350
GetLeftMargin() const1351 int sipwxRichTextTable::GetLeftMargin() const
1352 {
1353 sip_gilstate_t sipGILState;
1354 PyObject *sipMeth;
1355
1356 sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[74]),sipPySelf,SIP_NULLPTR,sipName_GetLeftMargin);
1357
1358 if (!sipMeth)
1359 return ::wxRichTextTable::GetLeftMargin();
1360
1361 extern int sipVH__richtext_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
1362
1363 return sipVH__richtext_10(sipGILState, 0, sipPySelf, sipMeth);
1364 }
1365
SetMargins(int leftMargin,int rightMargin,int topMargin,int bottomMargin)1366 void sipwxRichTextTable::SetMargins(int leftMargin,int rightMargin,int topMargin,int bottomMargin)
1367 {
1368 sip_gilstate_t sipGILState;
1369 PyObject *sipMeth;
1370
1371 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[75],sipPySelf,SIP_NULLPTR,sipName_SetMargins);
1372
1373 if (!sipMeth)
1374 {
1375 ::wxRichTextTable::SetMargins(leftMargin,rightMargin,topMargin,bottomMargin);
1376 return;
1377 }
1378
1379 extern void sipVH__richtext_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,int,int);
1380
1381 sipVH__richtext_29(sipGILState, 0, sipPySelf, sipMeth, leftMargin, rightMargin, topMargin, bottomMargin);
1382 }
1383
SetMargins(int margin)1384 void sipwxRichTextTable::SetMargins(int margin)
1385 {
1386 sip_gilstate_t sipGILState;
1387 PyObject *sipMeth;
1388
1389 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[76],sipPySelf,SIP_NULLPTR,sipName_SetMargins);
1390
1391 if (!sipMeth)
1392 {
1393 ::wxRichTextTable::SetMargins(margin);
1394 return;
1395 }
1396
1397 extern void sipVH__richtext_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);
1398
1399 sipVH__richtext_28(sipGILState, 0, sipPySelf, sipMeth, margin);
1400 }
1401
GetParentContainer() const1402 ::wxRichTextParagraphLayoutBox* sipwxRichTextTable::GetParentContainer() const
1403 {
1404 sip_gilstate_t sipGILState;
1405 PyObject *sipMeth;
1406
1407 sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[77]),sipPySelf,SIP_NULLPTR,sipName_GetParentContainer);
1408
1409 if (!sipMeth)
1410 return ::wxRichTextTable::GetParentContainer();
1411
1412 extern ::wxRichTextParagraphLayoutBox* sipVH__richtext_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
1413
1414 return sipVH__richtext_27(sipGILState, 0, sipPySelf, sipMeth);
1415 }
1416
GetContainer() const1417 ::wxRichTextParagraphLayoutBox* sipwxRichTextTable::GetContainer() const
1418 {
1419 sip_gilstate_t sipGILState;
1420 PyObject *sipMeth;
1421
1422 sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[78]),sipPySelf,SIP_NULLPTR,sipName_GetContainer);
1423
1424 if (!sipMeth)
1425 return ::wxRichTextTable::GetContainer();
1426
1427 extern ::wxRichTextParagraphLayoutBox* sipVH__richtext_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
1428
1429 return sipVH__richtext_27(sipGILState, 0, sipPySelf, sipMeth);
1430 }
1431
SetParent(::wxRichTextObject * parent)1432 void sipwxRichTextTable::SetParent( ::wxRichTextObject*parent)
1433 {
1434 sip_gilstate_t sipGILState;
1435 PyObject *sipMeth;
1436
1437 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[79],sipPySelf,SIP_NULLPTR,sipName_SetParent);
1438
1439 if (!sipMeth)
1440 {
1441 ::wxRichTextTable::SetParent(parent);
1442 return;
1443 }
1444
1445 extern void sipVH__richtext_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, ::wxRichTextObject*);
1446
1447 sipVH__richtext_26(sipGILState, 0, sipPySelf, sipMeth, parent);
1448 }
1449
GetParent() const1450 ::wxRichTextObject* sipwxRichTextTable::GetParent() const
1451 {
1452 sip_gilstate_t sipGILState;
1453 PyObject *sipMeth;
1454
1455 sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[80]),sipPySelf,SIP_NULLPTR,sipName_GetParent);
1456
1457 if (!sipMeth)
1458 return ::wxRichTextTable::GetParent();
1459
1460 extern ::wxRichTextObject* sipVH__richtext_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
1461
1462 return sipVH__richtext_34(sipGILState, 0, sipPySelf, sipMeth);
1463 }
1464
IsAtomic() const1465 bool sipwxRichTextTable::IsAtomic() const
1466 {
1467 sip_gilstate_t sipGILState;
1468 PyObject *sipMeth;
1469
1470 sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[81]),sipPySelf,SIP_NULLPTR,sipName_IsAtomic);
1471
1472 if (!sipMeth)
1473 return ::wxRichTextTable::IsAtomic();
1474
1475 extern bool sipVH__richtext_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
1476
1477 return sipVH__richtext_9(sipGILState, 0, sipPySelf, sipMeth);
1478 }
1479
IsComposite() const1480 bool sipwxRichTextTable::IsComposite() const
1481 {
1482 sip_gilstate_t sipGILState;
1483 PyObject *sipMeth;
1484
1485 sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[82]),sipPySelf,SIP_NULLPTR,sipName_IsComposite);
1486
1487 if (!sipMeth)
1488 return ::wxRichTextTable::IsComposite();
1489
1490 extern bool sipVH__richtext_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
1491
1492 return sipVH__richtext_9(sipGILState, 0, sipPySelf, sipMeth);
1493 }
1494
GetRect() const1495 ::wxRect sipwxRichTextTable::GetRect() const
1496 {
1497 sip_gilstate_t sipGILState;
1498 PyObject *sipMeth;
1499
1500 sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[83]),sipPySelf,SIP_NULLPTR,sipName_GetRect);
1501
1502 if (!sipMeth)
1503 return ::wxRichTextTable::GetRect();
1504
1505 extern ::wxRect sipVH__richtext_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
1506
1507 return sipVH__richtext_24(sipGILState, 0, sipPySelf, sipMeth);
1508 }
1509
GetAbsolutePosition() const1510 ::wxPoint sipwxRichTextTable::GetAbsolutePosition() const
1511 {
1512 sip_gilstate_t sipGILState;
1513 PyObject *sipMeth;
1514
1515 sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[84]),sipPySelf,SIP_NULLPTR,sipName_GetAbsolutePosition);
1516
1517 if (!sipMeth)
1518 return ::wxRichTextTable::GetAbsolutePosition();
1519
1520 extern ::wxPoint sipVH__richtext_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
1521
1522 return sipVH__richtext_22(sipGILState, 0, sipPySelf, sipMeth);
1523 }
1524
SetPosition(const::wxPoint & pos)1525 void sipwxRichTextTable::SetPosition(const ::wxPoint& pos)
1526 {
1527 sip_gilstate_t sipGILState;
1528 PyObject *sipMeth;
1529
1530 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[85],sipPySelf,SIP_NULLPTR,sipName_SetPosition);
1531
1532 if (!sipMeth)
1533 {
1534 ::wxRichTextTable::SetPosition(pos);
1535 return;
1536 }
1537
1538 extern void sipVH__richtext_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const ::wxPoint&);
1539
1540 sipVH__richtext_23(sipGILState, 0, sipPySelf, sipMeth, pos);
1541 }
1542
GetPosition() const1543 ::wxPoint sipwxRichTextTable::GetPosition() const
1544 {
1545 sip_gilstate_t sipGILState;
1546 PyObject *sipMeth;
1547
1548 sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[86]),sipPySelf,SIP_NULLPTR,sipName_GetPosition);
1549
1550 if (!sipMeth)
1551 return ::wxRichTextTable::GetPosition();
1552
1553 extern ::wxPoint sipVH__richtext_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
1554
1555 return sipVH__richtext_22(sipGILState, 0, sipPySelf, sipMeth);
1556 }
1557
GetNaturalSize() const1558 ::wxTextAttrSize sipwxRichTextTable::GetNaturalSize() const
1559 {
1560 sip_gilstate_t sipGILState;
1561 PyObject *sipMeth;
1562
1563 sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[87]),sipPySelf,SIP_NULLPTR,sipName_GetNaturalSize);
1564
1565 if (!sipMeth)
1566 return ::wxRichTextTable::GetNaturalSize();
1567
1568 extern ::wxTextAttrSize sipVH__richtext_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
1569
1570 return sipVH__richtext_21(sipGILState, 0, sipPySelf, sipMeth);
1571 }
1572
SetMinSize(const::wxSize & sz)1573 void sipwxRichTextTable::SetMinSize(const ::wxSize& sz)
1574 {
1575 sip_gilstate_t sipGILState;
1576 PyObject *sipMeth;
1577
1578 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[88],sipPySelf,SIP_NULLPTR,sipName_SetMinSize);
1579
1580 if (!sipMeth)
1581 {
1582 ::wxRichTextTable::SetMinSize(sz);
1583 return;
1584 }
1585
1586 extern void sipVH__richtext_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const ::wxSize&);
1587
1588 sipVH__richtext_20(sipGILState, 0, sipPySelf, sipMeth, sz);
1589 }
1590
GetMinSize() const1591 ::wxSize sipwxRichTextTable::GetMinSize() const
1592 {
1593 sip_gilstate_t sipGILState;
1594 PyObject *sipMeth;
1595
1596 sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[89]),sipPySelf,SIP_NULLPTR,sipName_GetMinSize);
1597
1598 if (!sipMeth)
1599 return ::wxRichTextTable::GetMinSize();
1600
1601 extern ::wxSize sipVH__richtext_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
1602
1603 return sipVH__richtext_4(sipGILState, 0, sipPySelf, sipMeth);
1604 }
1605
SetMaxSize(const::wxSize & sz)1606 void sipwxRichTextTable::SetMaxSize(const ::wxSize& sz)
1607 {
1608 sip_gilstate_t sipGILState;
1609 PyObject *sipMeth;
1610
1611 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[90],sipPySelf,SIP_NULLPTR,sipName_SetMaxSize);
1612
1613 if (!sipMeth)
1614 {
1615 ::wxRichTextTable::SetMaxSize(sz);
1616 return;
1617 }
1618
1619 extern void sipVH__richtext_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const ::wxSize&);
1620
1621 sipVH__richtext_20(sipGILState, 0, sipPySelf, sipMeth, sz);
1622 }
1623
GetMaxSize() const1624 ::wxSize sipwxRichTextTable::GetMaxSize() const
1625 {
1626 sip_gilstate_t sipGILState;
1627 PyObject *sipMeth;
1628
1629 sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[91]),sipPySelf,SIP_NULLPTR,sipName_GetMaxSize);
1630
1631 if (!sipMeth)
1632 return ::wxRichTextTable::GetMaxSize();
1633
1634 extern ::wxSize sipVH__richtext_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
1635
1636 return sipVH__richtext_4(sipGILState, 0, sipPySelf, sipMeth);
1637 }
1638
SetCachedSize(const::wxSize & sz)1639 void sipwxRichTextTable::SetCachedSize(const ::wxSize& sz)
1640 {
1641 sip_gilstate_t sipGILState;
1642 PyObject *sipMeth;
1643
1644 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[92],sipPySelf,SIP_NULLPTR,sipName_SetCachedSize);
1645
1646 if (!sipMeth)
1647 {
1648 ::wxRichTextTable::SetCachedSize(sz);
1649 return;
1650 }
1651
1652 extern void sipVH__richtext_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const ::wxSize&);
1653
1654 sipVH__richtext_20(sipGILState, 0, sipPySelf, sipMeth, sz);
1655 }
1656
GetCachedSize() const1657 ::wxSize sipwxRichTextTable::GetCachedSize() const
1658 {
1659 sip_gilstate_t sipGILState;
1660 PyObject *sipMeth;
1661
1662 sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[93]),sipPySelf,SIP_NULLPTR,sipName_GetCachedSize);
1663
1664 if (!sipMeth)
1665 return ::wxRichTextTable::GetCachedSize();
1666
1667 extern ::wxSize sipVH__richtext_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
1668
1669 return sipVH__richtext_4(sipGILState, 0, sipPySelf, sipMeth);
1670 }
1671
GetSelection(long start,long end) const1672 ::wxRichTextSelection sipwxRichTextTable::GetSelection(long start,long end) const
1673 {
1674 sip_gilstate_t sipGILState;
1675 PyObject *sipMeth;
1676
1677 sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[94]),sipPySelf,SIP_NULLPTR,sipName_GetSelection);
1678
1679 if (!sipMeth)
1680 return ::wxRichTextTable::GetSelection(start,end);
1681
1682 extern ::wxRichTextSelection sipVH__richtext_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, long,long);
1683
1684 return sipVH__richtext_19(sipGILState, 0, sipPySelf, sipMeth, start, end);
1685 }
1686
HandlesChildSelections() const1687 bool sipwxRichTextTable::HandlesChildSelections() const
1688 {
1689 sip_gilstate_t sipGILState;
1690 PyObject *sipMeth;
1691
1692 sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[95]),sipPySelf,SIP_NULLPTR,sipName_HandlesChildSelections);
1693
1694 if (!sipMeth)
1695 return ::wxRichTextTable::HandlesChildSelections();
1696
1697 extern bool sipVH__richtext_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
1698
1699 return sipVH__richtext_9(sipGILState, 0, sipPySelf, sipMeth);
1700 }
1701
Invalidate(const::wxRichTextRange & invalidRange)1702 void sipwxRichTextTable::Invalidate(const ::wxRichTextRange& invalidRange)
1703 {
1704 sip_gilstate_t sipGILState;
1705 PyObject *sipMeth;
1706
1707 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[96],sipPySelf,SIP_NULLPTR,sipName_Invalidate);
1708
1709 if (!sipMeth)
1710 {
1711 ::wxRichTextTable::Invalidate(invalidRange);
1712 return;
1713 }
1714
1715 extern void sipVH__richtext_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const ::wxRichTextRange&);
1716
1717 sipVH__richtext_18(sipGILState, 0, sipPySelf, sipMeth, invalidRange);
1718 }
1719
GetXMLNodeName() const1720 ::wxString sipwxRichTextTable::GetXMLNodeName() const
1721 {
1722 sip_gilstate_t sipGILState;
1723 PyObject *sipMeth;
1724
1725 sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[97]),sipPySelf,SIP_NULLPTR,sipName_GetXMLNodeName);
1726
1727 if (!sipMeth)
1728 return ::wxRichTextTable::GetXMLNodeName();
1729
1730 extern ::wxString sipVH__richtext_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
1731
1732 return sipVH__richtext_16(sipGILState, 0, sipPySelf, sipMeth);
1733 }
1734
UsesParagraphAttributes() const1735 bool sipwxRichTextTable::UsesParagraphAttributes() const
1736 {
1737 sip_gilstate_t sipGILState;
1738 PyObject *sipMeth;
1739
1740 sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[98]),sipPySelf,SIP_NULLPTR,sipName_UsesParagraphAttributes);
1741
1742 if (!sipMeth)
1743 return ::wxRichTextTable::UsesParagraphAttributes();
1744
1745 extern bool sipVH__richtext_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
1746
1747 return sipVH__richtext_9(sipGILState, 0, sipPySelf, sipMeth);
1748 }
1749
ImportFromXML(::wxRichTextBuffer * buffer,::wxXmlNode * node,::wxRichTextXMLHandler * handler,bool * recurse)1750 bool sipwxRichTextTable::ImportFromXML( ::wxRichTextBuffer*buffer, ::wxXmlNode*node, ::wxRichTextXMLHandler*handler,bool*recurse)
1751 {
1752 sip_gilstate_t sipGILState;
1753 PyObject *sipMeth;
1754
1755 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[99],sipPySelf,SIP_NULLPTR,sipName_ImportFromXML);
1756
1757 if (!sipMeth)
1758 return ::wxRichTextTable::ImportFromXML(buffer,node,handler,recurse);
1759
1760 extern bool sipVH__richtext_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, ::wxRichTextBuffer*, ::wxXmlNode*, ::wxRichTextXMLHandler*,bool*);
1761
1762 return sipVH__richtext_17(sipGILState, 0, sipPySelf, sipMeth, buffer, node, handler, recurse);
1763 }
1764
AcceptsFocus() const1765 bool sipwxRichTextTable::AcceptsFocus() const
1766 {
1767 sip_gilstate_t sipGILState;
1768 PyObject *sipMeth;
1769
1770 sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[100]),sipPySelf,SIP_NULLPTR,sipName_AcceptsFocus);
1771
1772 if (!sipMeth)
1773 return ::wxRichTextTable::AcceptsFocus();
1774
1775 extern bool sipVH__richtext_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
1776
1777 return sipVH__richtext_9(sipGILState, 0, sipPySelf, sipMeth);
1778 }
1779
GetPropertiesMenuLabel() const1780 ::wxString sipwxRichTextTable::GetPropertiesMenuLabel() const
1781 {
1782 sip_gilstate_t sipGILState;
1783 PyObject *sipMeth;
1784
1785 sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[101]),sipPySelf,SIP_NULLPTR,sipName_GetPropertiesMenuLabel);
1786
1787 if (!sipMeth)
1788 return ::wxRichTextTable::GetPropertiesMenuLabel();
1789
1790 extern ::wxString sipVH__richtext_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
1791
1792 return sipVH__richtext_16(sipGILState, 0, sipPySelf, sipMeth);
1793 }
1794
EditProperties(::wxWindow * parent,::wxRichTextBuffer * buffer)1795 bool sipwxRichTextTable::EditProperties( ::wxWindow*parent, ::wxRichTextBuffer*buffer)
1796 {
1797 sip_gilstate_t sipGILState;
1798 PyObject *sipMeth;
1799
1800 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[102],sipPySelf,SIP_NULLPTR,sipName_EditProperties);
1801
1802 if (!sipMeth)
1803 return ::wxRichTextTable::EditProperties(parent,buffer);
1804
1805 extern bool sipVH__richtext_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, ::wxWindow*, ::wxRichTextBuffer*);
1806
1807 return sipVH__richtext_15(sipGILState, 0, sipPySelf, sipMeth, parent, buffer);
1808 }
1809
CanEditProperties() const1810 bool sipwxRichTextTable::CanEditProperties() const
1811 {
1812 sip_gilstate_t sipGILState;
1813 PyObject *sipMeth;
1814
1815 sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[103]),sipPySelf,SIP_NULLPTR,sipName_CanEditProperties);
1816
1817 if (!sipMeth)
1818 return ::wxRichTextTable::CanEditProperties();
1819
1820 extern bool sipVH__richtext_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
1821
1822 return sipVH__richtext_9(sipGILState, 0, sipPySelf, sipMeth);
1823 }
1824
Split(::wxRichTextDrawingContext & context)1825 ::wxRichTextObject* sipwxRichTextTable::Split( ::wxRichTextDrawingContext& context)
1826 {
1827 sip_gilstate_t sipGILState;
1828 PyObject *sipMeth;
1829
1830 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[104],sipPySelf,SIP_NULLPTR,sipName_Split);
1831
1832 if (!sipMeth)
1833 return ::wxRichTextTable::Split(context);
1834
1835 extern ::wxRichTextObject* sipVH__richtext_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, ::wxRichTextDrawingContext&);
1836
1837 return sipVH__richtext_14(sipGILState, 0, sipPySelf, sipMeth, context);
1838 }
1839
CanSplit(::wxRichTextDrawingContext & context) const1840 bool sipwxRichTextTable::CanSplit( ::wxRichTextDrawingContext& context) const
1841 {
1842 sip_gilstate_t sipGILState;
1843 PyObject *sipMeth;
1844
1845 sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[105]),sipPySelf,SIP_NULLPTR,sipName_CanSplit);
1846
1847 if (!sipMeth)
1848 return ::wxRichTextTable::CanSplit(context);
1849
1850 extern bool sipVH__richtext_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, ::wxRichTextDrawingContext&);
1851
1852 return sipVH__richtext_13(sipGILState, 0, sipPySelf, sipMeth, context);
1853 }
1854
Merge(::wxRichTextObject * object,::wxRichTextDrawingContext & context)1855 bool sipwxRichTextTable::Merge( ::wxRichTextObject*object, ::wxRichTextDrawingContext& context)
1856 {
1857 sip_gilstate_t sipGILState;
1858 PyObject *sipMeth;
1859
1860 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[106],sipPySelf,SIP_NULLPTR,sipName_Merge);
1861
1862 if (!sipMeth)
1863 return ::wxRichTextTable::Merge(object,context);
1864
1865 extern bool sipVH__richtext_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, ::wxRichTextObject*, ::wxRichTextDrawingContext&);
1866
1867 return sipVH__richtext_12(sipGILState, 0, sipPySelf, sipMeth, object, context);
1868 }
1869
CanMerge(::wxRichTextObject * object,::wxRichTextDrawingContext & context) const1870 bool sipwxRichTextTable::CanMerge( ::wxRichTextObject*object, ::wxRichTextDrawingContext& context) const
1871 {
1872 sip_gilstate_t sipGILState;
1873 PyObject *sipMeth;
1874
1875 sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[107]),sipPySelf,SIP_NULLPTR,sipName_CanMerge);
1876
1877 if (!sipMeth)
1878 return ::wxRichTextTable::CanMerge(object,context);
1879
1880 extern bool sipVH__richtext_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, ::wxRichTextObject*, ::wxRichTextDrawingContext&);
1881
1882 return sipVH__richtext_12(sipGILState, 0, sipPySelf, sipMeth, object, context);
1883 }
1884
GetTextForRange(const::wxRichTextRange & range) const1885 ::wxString sipwxRichTextTable::GetTextForRange(const ::wxRichTextRange& range) const
1886 {
1887 sip_gilstate_t sipGILState;
1888 PyObject *sipMeth;
1889
1890 sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[108]),sipPySelf,SIP_NULLPTR,sipName_GetTextForRange);
1891
1892 if (!sipMeth)
1893 return ::wxRichTextTable::GetTextForRange(range);
1894
1895 extern ::wxString sipVH__richtext_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const ::wxRichTextRange&);
1896
1897 return sipVH__richtext_11(sipGILState, 0, sipPySelf, sipMeth, range);
1898 }
1899
GetFloatDirection() const1900 int sipwxRichTextTable::GetFloatDirection() const
1901 {
1902 sip_gilstate_t sipGILState;
1903 PyObject *sipMeth;
1904
1905 sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[109]),sipPySelf,SIP_NULLPTR,sipName_GetFloatDirection);
1906
1907 if (!sipMeth)
1908 return ::wxRichTextTable::GetFloatDirection();
1909
1910 extern int sipVH__richtext_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
1911
1912 return sipVH__richtext_10(sipGILState, 0, sipPySelf, sipMeth);
1913 }
1914
IsFloating() const1915 bool sipwxRichTextTable::IsFloating() const
1916 {
1917 sip_gilstate_t sipGILState;
1918 PyObject *sipMeth;
1919
1920 sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[110]),sipPySelf,SIP_NULLPTR,sipName_IsFloating);
1921
1922 if (!sipMeth)
1923 return ::wxRichTextTable::IsFloating();
1924
1925 extern bool sipVH__richtext_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
1926
1927 return sipVH__richtext_9(sipGILState, 0, sipPySelf, sipMeth);
1928 }
1929
IsFloatable() const1930 bool sipwxRichTextTable::IsFloatable() const
1931 {
1932 sip_gilstate_t sipGILState;
1933 PyObject *sipMeth;
1934
1935 sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[111]),sipPySelf,SIP_NULLPTR,sipName_IsFloatable);
1936
1937 if (!sipMeth)
1938 return ::wxRichTextTable::IsFloatable();
1939
1940 extern bool sipVH__richtext_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
1941
1942 return sipVH__richtext_9(sipGILState, 0, sipPySelf, sipMeth);
1943 }
1944
IsEmpty() const1945 bool sipwxRichTextTable::IsEmpty() const
1946 {
1947 sip_gilstate_t sipGILState;
1948 PyObject *sipMeth;
1949
1950 sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[112]),sipPySelf,SIP_NULLPTR,sipName_IsEmpty);
1951
1952 if (!sipMeth)
1953 return ::wxRichTextTable::IsEmpty();
1954
1955 extern bool sipVH__richtext_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
1956
1957 return sipVH__richtext_9(sipGILState, 0, sipPySelf, sipMeth);
1958 }
1959
DeleteRange(const::wxRichTextRange & range)1960 bool sipwxRichTextTable::DeleteRange(const ::wxRichTextRange& range)
1961 {
1962 sip_gilstate_t sipGILState;
1963 PyObject *sipMeth;
1964
1965 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[113],sipPySelf,SIP_NULLPTR,sipName_DeleteRange);
1966
1967 if (!sipMeth)
1968 return ::wxRichTextTable::DeleteRange(range);
1969
1970 extern bool sipVH__richtext_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const ::wxRichTextRange&);
1971
1972 return sipVH__richtext_8(sipGILState, 0, sipPySelf, sipMeth, range);
1973 }
1974
CalculateRange(long start,long & end)1975 void sipwxRichTextTable::CalculateRange(long start,long& end)
1976 {
1977 sip_gilstate_t sipGILState;
1978 PyObject *sipMeth;
1979
1980 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[114],sipPySelf,SIP_NULLPTR,sipName_CalculateRange);
1981
1982 if (!sipMeth)
1983 {
1984 ::wxRichTextTable::CalculateRange(start,end);
1985 return;
1986 }
1987
1988 extern void sipVH__richtext_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, long,long&);
1989
1990 sipVH__richtext_7(sipGILState, 0, sipPySelf, sipMeth, start, end);
1991 }
1992
DoSplit(long pos)1993 ::wxRichTextObject* sipwxRichTextTable::DoSplit(long pos)
1994 {
1995 sip_gilstate_t sipGILState;
1996 PyObject *sipMeth;
1997
1998 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[115],sipPySelf,SIP_NULLPTR,sipName_DoSplit);
1999
2000 if (!sipMeth)
2001 return ::wxRichTextTable::DoSplit(pos);
2002
2003 extern ::wxRichTextObject* sipVH__richtext_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, long);
2004
2005 return sipVH__richtext_6(sipGILState, 0, sipPySelf, sipMeth, pos);
2006 }
2007
GetRangeSize(const::wxRichTextRange & range,::wxSize & size,int & descent,::wxDC & dc,::wxRichTextDrawingContext & context,int flags,const::wxPoint & position,const::wxSize & parentSize,::wxArrayInt * partialExtents) const2008 bool sipwxRichTextTable::GetRangeSize(const ::wxRichTextRange& range, ::wxSize& size,int& descent, ::wxDC& dc, ::wxRichTextDrawingContext& context,int flags,const ::wxPoint& position,const ::wxSize& parentSize, ::wxArrayInt*partialExtents) const
2009 {
2010 sip_gilstate_t sipGILState;
2011 PyObject *sipMeth;
2012
2013 sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[116]),sipPySelf,SIP_NULLPTR,sipName_GetRangeSize);
2014
2015 if (!sipMeth)
2016 return ::wxRichTextTable::GetRangeSize(range,size,descent,dc,context,flags,position,parentSize,partialExtents);
2017
2018 extern bool sipVH__richtext_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const ::wxRichTextRange&, ::wxSize&,int&, ::wxDC&, ::wxRichTextDrawingContext&,int,const ::wxPoint&,const ::wxSize&, ::wxArrayInt*);
2019
2020 return sipVH__richtext_5(sipGILState, 0, sipPySelf, sipMeth, range, size, descent, dc, context, flags, position, parentSize, partialExtents);
2021 }
2022
GetBestSize() const2023 ::wxSize sipwxRichTextTable::GetBestSize() const
2024 {
2025 sip_gilstate_t sipGILState;
2026 PyObject *sipMeth;
2027
2028 sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[117]),sipPySelf,SIP_NULLPTR,sipName_GetBestSize);
2029
2030 if (!sipMeth)
2031 return ::wxRichTextTable::GetBestSize();
2032
2033 extern ::wxSize sipVH__richtext_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
2034
2035 return sipVH__richtext_4(sipGILState, 0, sipPySelf, sipMeth);
2036 }
2037
FindPosition(::wxDC & dc,::wxRichTextDrawingContext & context,long index,::wxPoint & pt,int * height,bool forceLineStart)2038 bool sipwxRichTextTable::FindPosition( ::wxDC& dc, ::wxRichTextDrawingContext& context,long index, ::wxPoint& pt,int*height,bool forceLineStart)
2039 {
2040 sip_gilstate_t sipGILState;
2041 PyObject *sipMeth;
2042
2043 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[118],sipPySelf,SIP_NULLPTR,sipName_FindPosition);
2044
2045 if (!sipMeth)
2046 return ::wxRichTextTable::FindPosition(dc,context,index,pt,height,forceLineStart);
2047
2048 extern bool sipVH__richtext_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, ::wxDC&, ::wxRichTextDrawingContext&,long, ::wxPoint&,int*,bool);
2049
2050 return sipVH__richtext_3(sipGILState, 0, sipPySelf, sipMeth, dc, context, index, pt, height, forceLineStart);
2051 }
2052
HitTest(::wxDC & dc,::wxRichTextDrawingContext & context,const::wxPoint & pt,long & textPosition,::wxRichTextObject ** obj,::wxRichTextObject ** contextObj,int flags)2053 int sipwxRichTextTable::HitTest( ::wxDC& dc, ::wxRichTextDrawingContext& context,const ::wxPoint& pt,long& textPosition, ::wxRichTextObject**obj, ::wxRichTextObject**contextObj,int flags)
2054 {
2055 sip_gilstate_t sipGILState;
2056 PyObject *sipMeth;
2057
2058 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[119],sipPySelf,SIP_NULLPTR,sipName_HitTest);
2059
2060 if (!sipMeth)
2061 return ::wxRichTextTable::HitTest(dc,context,pt,textPosition,obj,contextObj,flags);
2062
2063 extern int sipVH__richtext_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, ::wxDC&, ::wxRichTextDrawingContext&,const ::wxPoint&,long&, ::wxRichTextObject**, ::wxRichTextObject**,int);
2064
2065 return sipVH__richtext_2(sipGILState, 0, sipPySelf, sipMeth, dc, context, pt, textPosition, obj, contextObj, flags);
2066 }
2067
Layout(::wxDC & dc,::wxRichTextDrawingContext & context,const::wxRect & rect,const::wxRect & parentRect,int style)2068 bool sipwxRichTextTable::Layout( ::wxDC& dc, ::wxRichTextDrawingContext& context,const ::wxRect& rect,const ::wxRect& parentRect,int style)
2069 {
2070 sip_gilstate_t sipGILState;
2071 PyObject *sipMeth;
2072
2073 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[120],sipPySelf,SIP_NULLPTR,sipName_Layout);
2074
2075 if (!sipMeth)
2076 return ::wxRichTextTable::Layout(dc,context,rect,parentRect,style);
2077
2078 extern bool sipVH__richtext_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, ::wxDC&, ::wxRichTextDrawingContext&,const ::wxRect&,const ::wxRect&,int);
2079
2080 return sipVH__richtext_1(sipGILState, 0, sipPySelf, sipMeth, dc, context, rect, parentRect, style);
2081 }
2082
Draw(::wxDC & dc,::wxRichTextDrawingContext & context,const::wxRichTextRange & range,const::wxRichTextSelection & selection,const::wxRect & rect,int descent,int style)2083 bool sipwxRichTextTable::Draw( ::wxDC& dc, ::wxRichTextDrawingContext& context,const ::wxRichTextRange& range,const ::wxRichTextSelection& selection,const ::wxRect& rect,int descent,int style)
2084 {
2085 sip_gilstate_t sipGILState;
2086 PyObject *sipMeth;
2087
2088 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[121],sipPySelf,SIP_NULLPTR,sipName_Draw);
2089
2090 if (!sipMeth)
2091 return ::wxRichTextTable::Draw(dc,context,range,selection,rect,descent,style);
2092
2093 extern bool sipVH__richtext_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, ::wxDC&, ::wxRichTextDrawingContext&,const ::wxRichTextRange&,const ::wxRichTextSelection&,const ::wxRect&,int,int);
2094
2095 return sipVH__richtext_0(sipGILState, 0, sipPySelf, sipMeth, dc, context, range, selection, rect, descent, style);
2096 }
2097
GetChildAtPosition(long pos) const2098 ::wxRichTextObject* sipwxRichTextTable::GetChildAtPosition(long pos) const
2099 {
2100 sip_gilstate_t sipGILState;
2101 PyObject *sipMeth;
2102
2103 sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[122]),sipPySelf,SIP_NULLPTR,sipName_GetChildAtPosition);
2104
2105 if (!sipMeth)
2106 return ::wxRichTextTable::GetChildAtPosition(pos);
2107
2108 extern ::wxRichTextObject* sipVH__richtext_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, long);
2109
2110 return sipVH__richtext_6(sipGILState, 0, sipPySelf, sipMeth, pos);
2111 }
2112
2113
2114 PyDoc_STRVAR(doc_wxRichTextTable_Draw, "Draw(dc, context, range, selection, rect, descent, style) -> bool\n"
2115 "\n"
2116 "Draw the item, within the given range.");
2117
2118 extern "C" {static PyObject *meth_wxRichTextTable_Draw(PyObject *, PyObject *, PyObject *);}
meth_wxRichTextTable_Draw(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)2119 static PyObject *meth_wxRichTextTable_Draw(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
2120 {
2121 PyObject *sipParseErr = SIP_NULLPTR;
2122 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2123
2124 {
2125 ::wxDC* dc;
2126 ::wxRichTextDrawingContext* context;
2127 const ::wxRichTextRange* range;
2128 int rangeState = 0;
2129 const ::wxRichTextSelection* selection;
2130 const ::wxRect* rect;
2131 int rectState = 0;
2132 int descent;
2133 int style;
2134 ::wxRichTextTable *sipCpp;
2135
2136 static const char *sipKwdList[] = {
2137 sipName_dc,
2138 sipName_context,
2139 sipName_range,
2140 sipName_selection,
2141 sipName_rect,
2142 sipName_descent,
2143 sipName_style,
2144 };
2145
2146 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ9J9J1J9J1ii", &sipSelf, sipType_wxRichTextTable, &sipCpp, sipType_wxDC, &dc, sipType_wxRichTextDrawingContext, &context, sipType_wxRichTextRange, &range, &rangeState, sipType_wxRichTextSelection, &selection, sipType_wxRect, &rect, &rectState, &descent, &style))
2147 {
2148 bool sipRes;
2149
2150 PyErr_Clear();
2151
2152 Py_BEGIN_ALLOW_THREADS
2153 sipRes = (sipSelfWasArg ? sipCpp-> ::wxRichTextTable::Draw(*dc,*context,*range,*selection,*rect,descent,style) : sipCpp->Draw(*dc,*context,*range,*selection,*rect,descent,style));
2154 Py_END_ALLOW_THREADS
2155 sipReleaseType(const_cast< ::wxRichTextRange *>(range),sipType_wxRichTextRange,rangeState);
2156 sipReleaseType(const_cast< ::wxRect *>(rect),sipType_wxRect,rectState);
2157
2158 if (PyErr_Occurred())
2159 return 0;
2160
2161 return PyBool_FromLong(sipRes);
2162 }
2163 }
2164
2165 /* Raise an exception if the arguments couldn't be parsed. */
2166 sipNoMethod(sipParseErr, sipName_RichTextTable, sipName_Draw, SIP_NULLPTR);
2167
2168 return SIP_NULLPTR;
2169 }
2170
2171
2172 PyDoc_STRVAR(doc_wxRichTextTable_HitTest, "HitTest(dc, context, pt, flags=0) -> (int, textPosition, obj, contextObj)\n"
2173 "\n"
2174 "Hit-testing: returns a flag indicating hit test details, plus\n"
2175 "information about position.");
2176
2177 extern "C" {static PyObject *meth_wxRichTextTable_HitTest(PyObject *, PyObject *, PyObject *);}
meth_wxRichTextTable_HitTest(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)2178 static PyObject *meth_wxRichTextTable_HitTest(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
2179 {
2180 PyObject *sipParseErr = SIP_NULLPTR;
2181 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2182
2183 {
2184 ::wxDC* dc;
2185 ::wxRichTextDrawingContext* context;
2186 const ::wxPoint* pt;
2187 int ptState = 0;
2188 long textPosition;
2189 ::wxRichTextObject* obj;
2190 ::wxRichTextObject* contextObj;
2191 int flags = 0;
2192 ::wxRichTextTable *sipCpp;
2193
2194 static const char *sipKwdList[] = {
2195 sipName_dc,
2196 sipName_context,
2197 sipName_pt,
2198 sipName_flags,
2199 };
2200
2201 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ9J9J1|i", &sipSelf, sipType_wxRichTextTable, &sipCpp, sipType_wxDC, &dc, sipType_wxRichTextDrawingContext, &context, sipType_wxPoint, &pt, &ptState, &flags))
2202 {
2203 int sipRes;
2204
2205 PyErr_Clear();
2206
2207 Py_BEGIN_ALLOW_THREADS
2208 sipRes = (sipSelfWasArg ? sipCpp-> ::wxRichTextTable::HitTest(*dc,*context,*pt,textPosition,&obj,&contextObj,flags) : sipCpp->HitTest(*dc,*context,*pt,textPosition,&obj,&contextObj,flags));
2209 Py_END_ALLOW_THREADS
2210 sipReleaseType(const_cast< ::wxPoint *>(pt),sipType_wxPoint,ptState);
2211
2212 if (PyErr_Occurred())
2213 return 0;
2214
2215 return sipBuildResult(0,"(ilDD)",sipRes,textPosition,obj,sipType_wxRichTextObject,SIP_NULLPTR,contextObj,sipType_wxRichTextObject,SIP_NULLPTR);
2216 }
2217 }
2218
2219 /* Raise an exception if the arguments couldn't be parsed. */
2220 sipNoMethod(sipParseErr, sipName_RichTextTable, sipName_HitTest, SIP_NULLPTR);
2221
2222 return SIP_NULLPTR;
2223 }
2224
2225
2226 PyDoc_STRVAR(doc_wxRichTextTable_GetXMLNodeName, "GetXMLNodeName() -> String\n"
2227 "\n"
2228 "Returns the XML node name of this object.");
2229
2230 extern "C" {static PyObject *meth_wxRichTextTable_GetXMLNodeName(PyObject *, PyObject *);}
meth_wxRichTextTable_GetXMLNodeName(PyObject * sipSelf,PyObject * sipArgs)2231 static PyObject *meth_wxRichTextTable_GetXMLNodeName(PyObject *sipSelf, PyObject *sipArgs)
2232 {
2233 PyObject *sipParseErr = SIP_NULLPTR;
2234 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2235
2236 {
2237 const ::wxRichTextTable *sipCpp;
2238
2239 if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxRichTextTable, &sipCpp))
2240 {
2241 ::wxString*sipRes;
2242
2243 PyErr_Clear();
2244
2245 Py_BEGIN_ALLOW_THREADS
2246 sipRes = new ::wxString((sipSelfWasArg ? sipCpp-> ::wxRichTextTable::GetXMLNodeName() : sipCpp->GetXMLNodeName()));
2247 Py_END_ALLOW_THREADS
2248
2249 if (PyErr_Occurred())
2250 return 0;
2251
2252 return sipConvertFromNewType(sipRes,sipType_wxString,SIP_NULLPTR);
2253 }
2254 }
2255
2256 /* Raise an exception if the arguments couldn't be parsed. */
2257 sipNoMethod(sipParseErr, sipName_RichTextTable, sipName_GetXMLNodeName, SIP_NULLPTR);
2258
2259 return SIP_NULLPTR;
2260 }
2261
2262
2263 PyDoc_STRVAR(doc_wxRichTextTable_Layout, "Layout(dc, context, rect, parentRect, style) -> bool\n"
2264 "\n"
2265 "Lay the item out at the specified position with the given size\n"
2266 "constraint.");
2267
2268 extern "C" {static PyObject *meth_wxRichTextTable_Layout(PyObject *, PyObject *, PyObject *);}
meth_wxRichTextTable_Layout(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)2269 static PyObject *meth_wxRichTextTable_Layout(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
2270 {
2271 PyObject *sipParseErr = SIP_NULLPTR;
2272 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2273
2274 {
2275 ::wxDC* dc;
2276 ::wxRichTextDrawingContext* context;
2277 const ::wxRect* rect;
2278 int rectState = 0;
2279 const ::wxRect* parentRect;
2280 int parentRectState = 0;
2281 int style;
2282 ::wxRichTextTable *sipCpp;
2283
2284 static const char *sipKwdList[] = {
2285 sipName_dc,
2286 sipName_context,
2287 sipName_rect,
2288 sipName_parentRect,
2289 sipName_style,
2290 };
2291
2292 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ9J9J1J1i", &sipSelf, sipType_wxRichTextTable, &sipCpp, sipType_wxDC, &dc, sipType_wxRichTextDrawingContext, &context, sipType_wxRect, &rect, &rectState, sipType_wxRect, &parentRect, &parentRectState, &style))
2293 {
2294 bool sipRes;
2295
2296 PyErr_Clear();
2297
2298 Py_BEGIN_ALLOW_THREADS
2299 sipRes = (sipSelfWasArg ? sipCpp-> ::wxRichTextTable::Layout(*dc,*context,*rect,*parentRect,style) : sipCpp->Layout(*dc,*context,*rect,*parentRect,style));
2300 Py_END_ALLOW_THREADS
2301 sipReleaseType(const_cast< ::wxRect *>(rect),sipType_wxRect,rectState);
2302 sipReleaseType(const_cast< ::wxRect *>(parentRect),sipType_wxRect,parentRectState);
2303
2304 if (PyErr_Occurred())
2305 return 0;
2306
2307 return PyBool_FromLong(sipRes);
2308 }
2309 }
2310
2311 /* Raise an exception if the arguments couldn't be parsed. */
2312 sipNoMethod(sipParseErr, sipName_RichTextTable, sipName_Layout, SIP_NULLPTR);
2313
2314 return SIP_NULLPTR;
2315 }
2316
2317
2318 PyDoc_STRVAR(doc_wxRichTextTable_GetRangeSize, "GetRangeSize(range, size, descent, dc, context, flags, position=wx.Point(0,0), parentSize=wx.DefaultSize, partialExtents=None) -> bool\n"
2319 "\n"
2320 "Returns the object size for the given range.");
2321
2322 extern "C" {static PyObject *meth_wxRichTextTable_GetRangeSize(PyObject *, PyObject *, PyObject *);}
meth_wxRichTextTable_GetRangeSize(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)2323 static PyObject *meth_wxRichTextTable_GetRangeSize(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
2324 {
2325 PyObject *sipParseErr = SIP_NULLPTR;
2326 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2327
2328 {
2329 const ::wxRichTextRange* range;
2330 int rangeState = 0;
2331 ::wxSize* size;
2332 int sizeState = 0;
2333 int descent;
2334 ::wxDC* dc;
2335 ::wxRichTextDrawingContext* context;
2336 int flags;
2337 const ::wxPoint& positiondef = wxPoint(0,0);
2338 const ::wxPoint* position = &positiondef;
2339 int positionState = 0;
2340 const ::wxSize& parentSizedef = wxDefaultSize;
2341 const ::wxSize* parentSize = &parentSizedef;
2342 int parentSizeState = 0;
2343 ::wxArrayInt* partialExtents = 0;
2344 int partialExtentsState = 0;
2345 const ::wxRichTextTable *sipCpp;
2346
2347 static const char *sipKwdList[] = {
2348 sipName_range,
2349 sipName_size,
2350 sipName_dc,
2351 sipName_context,
2352 sipName_flags,
2353 sipName_position,
2354 sipName_parentSize,
2355 sipName_partialExtents,
2356 };
2357
2358 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ1J1J9J9i|J1J1J0", &sipSelf, sipType_wxRichTextTable, &sipCpp, sipType_wxRichTextRange, &range, &rangeState, sipType_wxSize, &size, &sizeState, sipType_wxDC, &dc, sipType_wxRichTextDrawingContext, &context, &flags, sipType_wxPoint, &position, &positionState, sipType_wxSize, &parentSize, &parentSizeState, sipType_wxArrayInt,&partialExtents, &partialExtentsState))
2359 {
2360 bool sipRes;
2361
2362 PyErr_Clear();
2363
2364 Py_BEGIN_ALLOW_THREADS
2365 sipRes = (sipSelfWasArg ? sipCpp-> ::wxRichTextTable::GetRangeSize(*range,*size,descent,*dc,*context,flags,*position,*parentSize,partialExtents) : sipCpp->GetRangeSize(*range,*size,descent,*dc,*context,flags,*position,*parentSize,partialExtents));
2366 Py_END_ALLOW_THREADS
2367 sipReleaseType(const_cast< ::wxRichTextRange *>(range),sipType_wxRichTextRange,rangeState);
2368 sipReleaseType(size,sipType_wxSize,sizeState);
2369 sipReleaseType(const_cast< ::wxPoint *>(position),sipType_wxPoint,positionState);
2370 sipReleaseType(const_cast< ::wxSize *>(parentSize),sipType_wxSize,parentSizeState);
2371 sipReleaseType(partialExtents,sipType_wxArrayInt,partialExtentsState);
2372
2373 if (PyErr_Occurred())
2374 return 0;
2375
2376 return sipBuildResult(0,"(bi)",sipRes,descent);
2377 }
2378 }
2379
2380 /* Raise an exception if the arguments couldn't be parsed. */
2381 sipNoMethod(sipParseErr, sipName_RichTextTable, sipName_GetRangeSize, SIP_NULLPTR);
2382
2383 return SIP_NULLPTR;
2384 }
2385
2386
2387 PyDoc_STRVAR(doc_wxRichTextTable_DeleteRange, "DeleteRange(range) -> bool\n"
2388 "\n"
2389 "Deletes the given range.");
2390
2391 extern "C" {static PyObject *meth_wxRichTextTable_DeleteRange(PyObject *, PyObject *, PyObject *);}
meth_wxRichTextTable_DeleteRange(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)2392 static PyObject *meth_wxRichTextTable_DeleteRange(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
2393 {
2394 PyObject *sipParseErr = SIP_NULLPTR;
2395 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2396
2397 {
2398 const ::wxRichTextRange* range;
2399 int rangeState = 0;
2400 ::wxRichTextTable *sipCpp;
2401
2402 static const char *sipKwdList[] = {
2403 sipName_range,
2404 };
2405
2406 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ1", &sipSelf, sipType_wxRichTextTable, &sipCpp, sipType_wxRichTextRange, &range, &rangeState))
2407 {
2408 bool sipRes;
2409
2410 PyErr_Clear();
2411
2412 Py_BEGIN_ALLOW_THREADS
2413 sipRes = (sipSelfWasArg ? sipCpp-> ::wxRichTextTable::DeleteRange(*range) : sipCpp->DeleteRange(*range));
2414 Py_END_ALLOW_THREADS
2415 sipReleaseType(const_cast< ::wxRichTextRange *>(range),sipType_wxRichTextRange,rangeState);
2416
2417 if (PyErr_Occurred())
2418 return 0;
2419
2420 return PyBool_FromLong(sipRes);
2421 }
2422 }
2423
2424 /* Raise an exception if the arguments couldn't be parsed. */
2425 sipNoMethod(sipParseErr, sipName_RichTextTable, sipName_DeleteRange, SIP_NULLPTR);
2426
2427 return SIP_NULLPTR;
2428 }
2429
2430
2431 PyDoc_STRVAR(doc_wxRichTextTable_GetTextForRange, "GetTextForRange(range) -> String\n"
2432 "\n"
2433 "Returns any text in this object for the given range.");
2434
2435 extern "C" {static PyObject *meth_wxRichTextTable_GetTextForRange(PyObject *, PyObject *, PyObject *);}
meth_wxRichTextTable_GetTextForRange(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)2436 static PyObject *meth_wxRichTextTable_GetTextForRange(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
2437 {
2438 PyObject *sipParseErr = SIP_NULLPTR;
2439 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2440
2441 {
2442 const ::wxRichTextRange* range;
2443 int rangeState = 0;
2444 const ::wxRichTextTable *sipCpp;
2445
2446 static const char *sipKwdList[] = {
2447 sipName_range,
2448 };
2449
2450 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ1", &sipSelf, sipType_wxRichTextTable, &sipCpp, sipType_wxRichTextRange, &range, &rangeState))
2451 {
2452 ::wxString*sipRes;
2453
2454 PyErr_Clear();
2455
2456 Py_BEGIN_ALLOW_THREADS
2457 sipRes = new ::wxString((sipSelfWasArg ? sipCpp-> ::wxRichTextTable::GetTextForRange(*range) : sipCpp->GetTextForRange(*range)));
2458 Py_END_ALLOW_THREADS
2459 sipReleaseType(const_cast< ::wxRichTextRange *>(range),sipType_wxRichTextRange,rangeState);
2460
2461 if (PyErr_Occurred())
2462 return 0;
2463
2464 return sipConvertFromNewType(sipRes,sipType_wxString,SIP_NULLPTR);
2465 }
2466 }
2467
2468 /* Raise an exception if the arguments couldn't be parsed. */
2469 sipNoMethod(sipParseErr, sipName_RichTextTable, sipName_GetTextForRange, SIP_NULLPTR);
2470
2471 return SIP_NULLPTR;
2472 }
2473
2474
2475 PyDoc_STRVAR(doc_wxRichTextTable_ImportFromXML, "ImportFromXML(buffer, node, handler, recurse) -> bool\n"
2476 "\n"
2477 "Imports this object from XML.");
2478
2479 extern "C" {static PyObject *meth_wxRichTextTable_ImportFromXML(PyObject *, PyObject *, PyObject *);}
meth_wxRichTextTable_ImportFromXML(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)2480 static PyObject *meth_wxRichTextTable_ImportFromXML(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
2481 {
2482 PyObject *sipParseErr = SIP_NULLPTR;
2483 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2484
2485 {
2486 ::wxRichTextBuffer* buffer;
2487 ::wxXmlNode* node;
2488 ::wxRichTextXMLHandler* handler;
2489 bool recurse;
2490 ::wxRichTextTable *sipCpp;
2491
2492 static const char *sipKwdList[] = {
2493 sipName_buffer,
2494 sipName_node,
2495 sipName_handler,
2496 };
2497
2498 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ8J8J8", &sipSelf, sipType_wxRichTextTable, &sipCpp, sipType_wxRichTextBuffer, &buffer, sipType_wxXmlNode, &node, sipType_wxRichTextXMLHandler, &handler))
2499 {
2500 bool sipRes;
2501
2502 PyErr_Clear();
2503
2504 Py_BEGIN_ALLOW_THREADS
2505 sipRes = (sipSelfWasArg ? sipCpp-> ::wxRichTextTable::ImportFromXML(buffer,node,handler,&recurse) : sipCpp->ImportFromXML(buffer,node,handler,&recurse));
2506 Py_END_ALLOW_THREADS
2507
2508 if (PyErr_Occurred())
2509 return 0;
2510
2511 return sipBuildResult(0,"(bb)",sipRes,recurse);
2512 }
2513 }
2514
2515 /* Raise an exception if the arguments couldn't be parsed. */
2516 sipNoMethod(sipParseErr, sipName_RichTextTable, sipName_ImportFromXML, SIP_NULLPTR);
2517
2518 return SIP_NULLPTR;
2519 }
2520
2521
2522 PyDoc_STRVAR(doc_wxRichTextTable_FindPosition, "FindPosition(dc, context, index, forceLineStart) -> (bool, pt, height)\n"
2523 "\n"
2524 "Finds the absolute position and row height for the given character\n"
2525 "position.");
2526
2527 extern "C" {static PyObject *meth_wxRichTextTable_FindPosition(PyObject *, PyObject *, PyObject *);}
meth_wxRichTextTable_FindPosition(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)2528 static PyObject *meth_wxRichTextTable_FindPosition(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
2529 {
2530 PyObject *sipParseErr = SIP_NULLPTR;
2531 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2532
2533 {
2534 ::wxDC* dc;
2535 ::wxRichTextDrawingContext* context;
2536 long index;
2537 ::wxPoint* pt;
2538 int height;
2539 bool forceLineStart;
2540 ::wxRichTextTable *sipCpp;
2541
2542 static const char *sipKwdList[] = {
2543 sipName_dc,
2544 sipName_context,
2545 sipName_index,
2546 sipName_forceLineStart,
2547 };
2548
2549 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ9J9lb", &sipSelf, sipType_wxRichTextTable, &sipCpp, sipType_wxDC, &dc, sipType_wxRichTextDrawingContext, &context, &index, &forceLineStart))
2550 {
2551 bool sipRes;
2552 pt = new ::wxPoint();
2553
2554 PyErr_Clear();
2555
2556 Py_BEGIN_ALLOW_THREADS
2557 sipRes = (sipSelfWasArg ? sipCpp-> ::wxRichTextTable::FindPosition(*dc,*context,index,*pt,&height,forceLineStart) : sipCpp->FindPosition(*dc,*context,index,*pt,&height,forceLineStart));
2558 Py_END_ALLOW_THREADS
2559
2560 if (PyErr_Occurred())
2561 return 0;
2562
2563 return sipBuildResult(0,"(bNi)",sipRes,pt,sipType_wxPoint,SIP_NULLPTR,height);
2564 }
2565 }
2566
2567 /* Raise an exception if the arguments couldn't be parsed. */
2568 sipNoMethod(sipParseErr, sipName_RichTextTable, sipName_FindPosition, SIP_NULLPTR);
2569
2570 return SIP_NULLPTR;
2571 }
2572
2573
2574 PyDoc_STRVAR(doc_wxRichTextTable_CalculateRange, "CalculateRange(start) -> end\n"
2575 "\n"
2576 "Calculates the range of the object.");
2577
2578 extern "C" {static PyObject *meth_wxRichTextTable_CalculateRange(PyObject *, PyObject *, PyObject *);}
meth_wxRichTextTable_CalculateRange(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)2579 static PyObject *meth_wxRichTextTable_CalculateRange(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
2580 {
2581 PyObject *sipParseErr = SIP_NULLPTR;
2582 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2583
2584 {
2585 long start;
2586 long end;
2587 ::wxRichTextTable *sipCpp;
2588
2589 static const char *sipKwdList[] = {
2590 sipName_start,
2591 };
2592
2593 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Bl", &sipSelf, sipType_wxRichTextTable, &sipCpp, &start))
2594 {
2595 PyErr_Clear();
2596
2597 Py_BEGIN_ALLOW_THREADS
2598 (sipSelfWasArg ? sipCpp-> ::wxRichTextTable::CalculateRange(start,end) : sipCpp->CalculateRange(start,end));
2599 Py_END_ALLOW_THREADS
2600
2601 if (PyErr_Occurred())
2602 return 0;
2603
2604 return PyLong_FromLong(end);
2605 }
2606 }
2607
2608 /* Raise an exception if the arguments couldn't be parsed. */
2609 sipNoMethod(sipParseErr, sipName_RichTextTable, sipName_CalculateRange, SIP_NULLPTR);
2610
2611 return SIP_NULLPTR;
2612 }
2613
2614
2615 PyDoc_STRVAR(doc_wxRichTextTable_HandlesChildSelections, "HandlesChildSelections() -> bool\n"
2616 "\n"
2617 "Returns true if this object can handle the selections of its children,\n"
2618 "fOr example a table.");
2619
2620 extern "C" {static PyObject *meth_wxRichTextTable_HandlesChildSelections(PyObject *, PyObject *);}
meth_wxRichTextTable_HandlesChildSelections(PyObject * sipSelf,PyObject * sipArgs)2621 static PyObject *meth_wxRichTextTable_HandlesChildSelections(PyObject *sipSelf, PyObject *sipArgs)
2622 {
2623 PyObject *sipParseErr = SIP_NULLPTR;
2624 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2625
2626 {
2627 const ::wxRichTextTable *sipCpp;
2628
2629 if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxRichTextTable, &sipCpp))
2630 {
2631 bool sipRes;
2632
2633 PyErr_Clear();
2634
2635 Py_BEGIN_ALLOW_THREADS
2636 sipRes = (sipSelfWasArg ? sipCpp-> ::wxRichTextTable::HandlesChildSelections() : sipCpp->HandlesChildSelections());
2637 Py_END_ALLOW_THREADS
2638
2639 if (PyErr_Occurred())
2640 return 0;
2641
2642 return PyBool_FromLong(sipRes);
2643 }
2644 }
2645
2646 /* Raise an exception if the arguments couldn't be parsed. */
2647 sipNoMethod(sipParseErr, sipName_RichTextTable, sipName_HandlesChildSelections, SIP_NULLPTR);
2648
2649 return SIP_NULLPTR;
2650 }
2651
2652
2653 PyDoc_STRVAR(doc_wxRichTextTable_GetSelection, "GetSelection(start, end) -> RichTextSelection\n"
2654 "\n"
2655 "Returns a selection object specifying the selections between start and\n"
2656 "end character positions.");
2657
2658 extern "C" {static PyObject *meth_wxRichTextTable_GetSelection(PyObject *, PyObject *, PyObject *);}
meth_wxRichTextTable_GetSelection(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)2659 static PyObject *meth_wxRichTextTable_GetSelection(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
2660 {
2661 PyObject *sipParseErr = SIP_NULLPTR;
2662 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2663
2664 {
2665 long start;
2666 long end;
2667 const ::wxRichTextTable *sipCpp;
2668
2669 static const char *sipKwdList[] = {
2670 sipName_start,
2671 sipName_end,
2672 };
2673
2674 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Bll", &sipSelf, sipType_wxRichTextTable, &sipCpp, &start, &end))
2675 {
2676 ::wxRichTextSelection*sipRes;
2677
2678 PyErr_Clear();
2679
2680 Py_BEGIN_ALLOW_THREADS
2681 sipRes = new ::wxRichTextSelection((sipSelfWasArg ? sipCpp-> ::wxRichTextTable::GetSelection(start,end) : sipCpp->GetSelection(start,end)));
2682 Py_END_ALLOW_THREADS
2683
2684 if (PyErr_Occurred())
2685 return 0;
2686
2687 return sipConvertFromNewType(sipRes,sipType_wxRichTextSelection,SIP_NULLPTR);
2688 }
2689 }
2690
2691 /* Raise an exception if the arguments couldn't be parsed. */
2692 sipNoMethod(sipParseErr, sipName_RichTextTable, sipName_GetSelection, SIP_NULLPTR);
2693
2694 return SIP_NULLPTR;
2695 }
2696
2697
2698 PyDoc_STRVAR(doc_wxRichTextTable_CanEditProperties, "CanEditProperties() -> bool\n"
2699 "\n"
2700 "Returns true if we can edit the object's properties via a GUI.");
2701
2702 extern "C" {static PyObject *meth_wxRichTextTable_CanEditProperties(PyObject *, PyObject *);}
meth_wxRichTextTable_CanEditProperties(PyObject * sipSelf,PyObject * sipArgs)2703 static PyObject *meth_wxRichTextTable_CanEditProperties(PyObject *sipSelf, PyObject *sipArgs)
2704 {
2705 PyObject *sipParseErr = SIP_NULLPTR;
2706 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2707
2708 {
2709 const ::wxRichTextTable *sipCpp;
2710
2711 if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxRichTextTable, &sipCpp))
2712 {
2713 bool sipRes;
2714
2715 PyErr_Clear();
2716
2717 Py_BEGIN_ALLOW_THREADS
2718 sipRes = (sipSelfWasArg ? sipCpp-> ::wxRichTextTable::CanEditProperties() : sipCpp->CanEditProperties());
2719 Py_END_ALLOW_THREADS
2720
2721 if (PyErr_Occurred())
2722 return 0;
2723
2724 return PyBool_FromLong(sipRes);
2725 }
2726 }
2727
2728 /* Raise an exception if the arguments couldn't be parsed. */
2729 sipNoMethod(sipParseErr, sipName_RichTextTable, sipName_CanEditProperties, SIP_NULLPTR);
2730
2731 return SIP_NULLPTR;
2732 }
2733
2734
2735 PyDoc_STRVAR(doc_wxRichTextTable_EditProperties, "EditProperties(parent, buffer) -> bool\n"
2736 "\n"
2737 "Edits the object's properties via a GUI.");
2738
2739 extern "C" {static PyObject *meth_wxRichTextTable_EditProperties(PyObject *, PyObject *, PyObject *);}
meth_wxRichTextTable_EditProperties(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)2740 static PyObject *meth_wxRichTextTable_EditProperties(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
2741 {
2742 PyObject *sipParseErr = SIP_NULLPTR;
2743 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2744
2745 {
2746 ::wxWindow* parent;
2747 ::wxRichTextBuffer* buffer;
2748 ::wxRichTextTable *sipCpp;
2749
2750 static const char *sipKwdList[] = {
2751 sipName_parent,
2752 sipName_buffer,
2753 };
2754
2755 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ8J8", &sipSelf, sipType_wxRichTextTable, &sipCpp, sipType_wxWindow, &parent, sipType_wxRichTextBuffer, &buffer))
2756 {
2757 bool sipRes;
2758
2759 PyErr_Clear();
2760
2761 Py_BEGIN_ALLOW_THREADS
2762 sipRes = (sipSelfWasArg ? sipCpp-> ::wxRichTextTable::EditProperties(parent,buffer) : sipCpp->EditProperties(parent,buffer));
2763 Py_END_ALLOW_THREADS
2764
2765 if (PyErr_Occurred())
2766 return 0;
2767
2768 return PyBool_FromLong(sipRes);
2769 }
2770 }
2771
2772 /* Raise an exception if the arguments couldn't be parsed. */
2773 sipNoMethod(sipParseErr, sipName_RichTextTable, sipName_EditProperties, SIP_NULLPTR);
2774
2775 return SIP_NULLPTR;
2776 }
2777
2778
2779 PyDoc_STRVAR(doc_wxRichTextTable_GetPropertiesMenuLabel, "GetPropertiesMenuLabel() -> String\n"
2780 "\n"
2781 "Returns the label to be used for the properties context menu item.");
2782
2783 extern "C" {static PyObject *meth_wxRichTextTable_GetPropertiesMenuLabel(PyObject *, PyObject *);}
meth_wxRichTextTable_GetPropertiesMenuLabel(PyObject * sipSelf,PyObject * sipArgs)2784 static PyObject *meth_wxRichTextTable_GetPropertiesMenuLabel(PyObject *sipSelf, PyObject *sipArgs)
2785 {
2786 PyObject *sipParseErr = SIP_NULLPTR;
2787 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2788
2789 {
2790 const ::wxRichTextTable *sipCpp;
2791
2792 if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxRichTextTable, &sipCpp))
2793 {
2794 ::wxString*sipRes;
2795
2796 PyErr_Clear();
2797
2798 Py_BEGIN_ALLOW_THREADS
2799 sipRes = new ::wxString((sipSelfWasArg ? sipCpp-> ::wxRichTextTable::GetPropertiesMenuLabel() : sipCpp->GetPropertiesMenuLabel()));
2800 Py_END_ALLOW_THREADS
2801
2802 if (PyErr_Occurred())
2803 return 0;
2804
2805 return sipConvertFromNewType(sipRes,sipType_wxString,SIP_NULLPTR);
2806 }
2807 }
2808
2809 /* Raise an exception if the arguments couldn't be parsed. */
2810 sipNoMethod(sipParseErr, sipName_RichTextTable, sipName_GetPropertiesMenuLabel, SIP_NULLPTR);
2811
2812 return SIP_NULLPTR;
2813 }
2814
2815
2816 PyDoc_STRVAR(doc_wxRichTextTable_AcceptsFocus, "AcceptsFocus() -> bool\n"
2817 "\n"
2818 "Returns true if objects of this class can accept the focus, i.e. a\n"
2819 "call to SetFocusObject is possible.");
2820
2821 extern "C" {static PyObject *meth_wxRichTextTable_AcceptsFocus(PyObject *, PyObject *);}
meth_wxRichTextTable_AcceptsFocus(PyObject * sipSelf,PyObject * sipArgs)2822 static PyObject *meth_wxRichTextTable_AcceptsFocus(PyObject *sipSelf, PyObject *sipArgs)
2823 {
2824 PyObject *sipParseErr = SIP_NULLPTR;
2825 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2826
2827 {
2828 const ::wxRichTextTable *sipCpp;
2829
2830 if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxRichTextTable, &sipCpp))
2831 {
2832 bool sipRes;
2833
2834 PyErr_Clear();
2835
2836 Py_BEGIN_ALLOW_THREADS
2837 sipRes = (sipSelfWasArg ? sipCpp-> ::wxRichTextTable::AcceptsFocus() : sipCpp->AcceptsFocus());
2838 Py_END_ALLOW_THREADS
2839
2840 if (PyErr_Occurred())
2841 return 0;
2842
2843 return PyBool_FromLong(sipRes);
2844 }
2845 }
2846
2847 /* Raise an exception if the arguments couldn't be parsed. */
2848 sipNoMethod(sipParseErr, sipName_RichTextTable, sipName_AcceptsFocus, SIP_NULLPTR);
2849
2850 return SIP_NULLPTR;
2851 }
2852
2853
2854 PyDoc_STRVAR(doc_wxRichTextTable_GetCells, "GetCells() -> RichTextObjectPtrArrayArray\n"
2855 "\n"
2856 "Returns the cells array.");
2857
2858 extern "C" {static PyObject *meth_wxRichTextTable_GetCells(PyObject *, PyObject *);}
meth_wxRichTextTable_GetCells(PyObject * sipSelf,PyObject * sipArgs)2859 static PyObject *meth_wxRichTextTable_GetCells(PyObject *sipSelf, PyObject *sipArgs)
2860 {
2861 PyObject *sipParseErr = SIP_NULLPTR;
2862
2863 {
2864 ::wxRichTextTable *sipCpp;
2865
2866 if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxRichTextTable, &sipCpp))
2867 {
2868 ::wxRichTextObjectPtrArrayArray*sipRes;
2869
2870 PyErr_Clear();
2871
2872 Py_BEGIN_ALLOW_THREADS
2873 sipRes = &sipCpp->GetCells();
2874 Py_END_ALLOW_THREADS
2875
2876 if (PyErr_Occurred())
2877 return 0;
2878
2879 return sipConvertFromType(sipRes,sipType_wxRichTextObjectPtrArrayArray,SIP_NULLPTR);
2880 }
2881 }
2882
2883 /* Raise an exception if the arguments couldn't be parsed. */
2884 sipNoMethod(sipParseErr, sipName_RichTextTable, sipName_GetCells, SIP_NULLPTR);
2885
2886 return SIP_NULLPTR;
2887 }
2888
2889
2890 PyDoc_STRVAR(doc_wxRichTextTable_GetRowCount, "GetRowCount() -> int\n"
2891 "\n"
2892 "Returns the row count.");
2893
2894 extern "C" {static PyObject *meth_wxRichTextTable_GetRowCount(PyObject *, PyObject *);}
meth_wxRichTextTable_GetRowCount(PyObject * sipSelf,PyObject * sipArgs)2895 static PyObject *meth_wxRichTextTable_GetRowCount(PyObject *sipSelf, PyObject *sipArgs)
2896 {
2897 PyObject *sipParseErr = SIP_NULLPTR;
2898
2899 {
2900 const ::wxRichTextTable *sipCpp;
2901
2902 if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxRichTextTable, &sipCpp))
2903 {
2904 int sipRes;
2905
2906 PyErr_Clear();
2907
2908 Py_BEGIN_ALLOW_THREADS
2909 sipRes = sipCpp->GetRowCount();
2910 Py_END_ALLOW_THREADS
2911
2912 if (PyErr_Occurred())
2913 return 0;
2914
2915 return SIPLong_FromLong(sipRes);
2916 }
2917 }
2918
2919 /* Raise an exception if the arguments couldn't be parsed. */
2920 sipNoMethod(sipParseErr, sipName_RichTextTable, sipName_GetRowCount, SIP_NULLPTR);
2921
2922 return SIP_NULLPTR;
2923 }
2924
2925
2926 PyDoc_STRVAR(doc_wxRichTextTable_GetColumnCount, "GetColumnCount() -> int\n"
2927 "\n"
2928 "Returns the column count.");
2929
2930 extern "C" {static PyObject *meth_wxRichTextTable_GetColumnCount(PyObject *, PyObject *);}
meth_wxRichTextTable_GetColumnCount(PyObject * sipSelf,PyObject * sipArgs)2931 static PyObject *meth_wxRichTextTable_GetColumnCount(PyObject *sipSelf, PyObject *sipArgs)
2932 {
2933 PyObject *sipParseErr = SIP_NULLPTR;
2934
2935 {
2936 const ::wxRichTextTable *sipCpp;
2937
2938 if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxRichTextTable, &sipCpp))
2939 {
2940 int sipRes;
2941
2942 PyErr_Clear();
2943
2944 Py_BEGIN_ALLOW_THREADS
2945 sipRes = sipCpp->GetColumnCount();
2946 Py_END_ALLOW_THREADS
2947
2948 if (PyErr_Occurred())
2949 return 0;
2950
2951 return SIPLong_FromLong(sipRes);
2952 }
2953 }
2954
2955 /* Raise an exception if the arguments couldn't be parsed. */
2956 sipNoMethod(sipParseErr, sipName_RichTextTable, sipName_GetColumnCount, SIP_NULLPTR);
2957
2958 return SIP_NULLPTR;
2959 }
2960
2961
2962 PyDoc_STRVAR(doc_wxRichTextTable_GetCell, "GetCell(row, col) -> RichTextCell\n"
2963 "GetCell(pos) -> RichTextCell\n"
2964 "\n"
2965 "Returns the cell at the given row/column position.\n"
2966 "");
2967
2968 extern "C" {static PyObject *meth_wxRichTextTable_GetCell(PyObject *, PyObject *, PyObject *);}
meth_wxRichTextTable_GetCell(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)2969 static PyObject *meth_wxRichTextTable_GetCell(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
2970 {
2971 PyObject *sipParseErr = SIP_NULLPTR;
2972 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2973
2974 {
2975 int row;
2976 int col;
2977 const ::wxRichTextTable *sipCpp;
2978
2979 static const char *sipKwdList[] = {
2980 sipName_row,
2981 sipName_col,
2982 };
2983
2984 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Bii", &sipSelf, sipType_wxRichTextTable, &sipCpp, &row, &col))
2985 {
2986 ::wxRichTextCell*sipRes;
2987
2988 PyErr_Clear();
2989
2990 Py_BEGIN_ALLOW_THREADS
2991 sipRes = (sipSelfWasArg ? sipCpp-> ::wxRichTextTable::GetCell(row,col) : sipCpp->GetCell(row,col));
2992 Py_END_ALLOW_THREADS
2993
2994 if (PyErr_Occurred())
2995 return 0;
2996
2997 return sipConvertFromType(sipRes,sipType_wxRichTextCell,SIP_NULLPTR);
2998 }
2999 }
3000
3001 {
3002 long pos;
3003 const ::wxRichTextTable *sipCpp;
3004
3005 static const char *sipKwdList[] = {
3006 sipName_pos,
3007 };
3008
3009 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Bl", &sipSelf, sipType_wxRichTextTable, &sipCpp, &pos))
3010 {
3011 ::wxRichTextCell*sipRes;
3012
3013 PyErr_Clear();
3014
3015 Py_BEGIN_ALLOW_THREADS
3016 sipRes = (sipSelfWasArg ? sipCpp-> ::wxRichTextTable::GetCell(pos) : sipCpp->GetCell(pos));
3017 Py_END_ALLOW_THREADS
3018
3019 if (PyErr_Occurred())
3020 return 0;
3021
3022 return sipConvertFromType(sipRes,sipType_wxRichTextCell,SIP_NULLPTR);
3023 }
3024 }
3025
3026 /* Raise an exception if the arguments couldn't be parsed. */
3027 sipNoMethod(sipParseErr, sipName_RichTextTable, sipName_GetCell, SIP_NULLPTR);
3028
3029 return SIP_NULLPTR;
3030 }
3031
3032
3033 PyDoc_STRVAR(doc_wxRichTextTable_GetCellRowColumnPosition, "GetCellRowColumnPosition(pos, row, col) -> bool\n"
3034 "\n"
3035 "Returns the row/column for a given character position.");
3036
3037 extern "C" {static PyObject *meth_wxRichTextTable_GetCellRowColumnPosition(PyObject *, PyObject *, PyObject *);}
meth_wxRichTextTable_GetCellRowColumnPosition(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)3038 static PyObject *meth_wxRichTextTable_GetCellRowColumnPosition(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
3039 {
3040 PyObject *sipParseErr = SIP_NULLPTR;
3041 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
3042
3043 {
3044 long pos;
3045 int row;
3046 int col;
3047 const ::wxRichTextTable *sipCpp;
3048
3049 static const char *sipKwdList[] = {
3050 sipName_pos,
3051 };
3052
3053 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Bl", &sipSelf, sipType_wxRichTextTable, &sipCpp, &pos))
3054 {
3055 bool sipRes;
3056
3057 PyErr_Clear();
3058
3059 Py_BEGIN_ALLOW_THREADS
3060 sipRes = (sipSelfWasArg ? sipCpp-> ::wxRichTextTable::GetCellRowColumnPosition(pos,row,col) : sipCpp->GetCellRowColumnPosition(pos,row,col));
3061 Py_END_ALLOW_THREADS
3062
3063 if (PyErr_Occurred())
3064 return 0;
3065
3066 return sipBuildResult(0,"(bii)",sipRes,row,col);
3067 }
3068 }
3069
3070 /* Raise an exception if the arguments couldn't be parsed. */
3071 sipNoMethod(sipParseErr, sipName_RichTextTable, sipName_GetCellRowColumnPosition, SIP_NULLPTR);
3072
3073 return SIP_NULLPTR;
3074 }
3075
3076
3077 PyDoc_STRVAR(doc_wxRichTextTable_GetFocusedCell, "GetFocusedCell() -> wx.Position\n"
3078 "\n"
3079 "Returns the coordinates of the cell with keyboard focus, or (-1,-1) if\n"
3080 "none.");
3081
3082 extern "C" {static PyObject *meth_wxRichTextTable_GetFocusedCell(PyObject *, PyObject *);}
meth_wxRichTextTable_GetFocusedCell(PyObject * sipSelf,PyObject * sipArgs)3083 static PyObject *meth_wxRichTextTable_GetFocusedCell(PyObject *sipSelf, PyObject *sipArgs)
3084 {
3085 PyObject *sipParseErr = SIP_NULLPTR;
3086 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
3087
3088 {
3089 const ::wxRichTextTable *sipCpp;
3090
3091 if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxRichTextTable, &sipCpp))
3092 {
3093 ::wxPosition*sipRes;
3094
3095 PyErr_Clear();
3096
3097 Py_BEGIN_ALLOW_THREADS
3098 sipRes = new ::wxPosition((sipSelfWasArg ? sipCpp-> ::wxRichTextTable::GetFocusedCell() : sipCpp->GetFocusedCell()));
3099 Py_END_ALLOW_THREADS
3100
3101 if (PyErr_Occurred())
3102 return 0;
3103
3104 return sipConvertFromNewType(sipRes,sipType_wxPosition,SIP_NULLPTR);
3105 }
3106 }
3107
3108 /* Raise an exception if the arguments couldn't be parsed. */
3109 sipNoMethod(sipParseErr, sipName_RichTextTable, sipName_GetFocusedCell, SIP_NULLPTR);
3110
3111 return SIP_NULLPTR;
3112 }
3113
3114
3115 PyDoc_STRVAR(doc_wxRichTextTable_ClearTable, "ClearTable()\n"
3116 "\n"
3117 "Clears the table.");
3118
3119 extern "C" {static PyObject *meth_wxRichTextTable_ClearTable(PyObject *, PyObject *);}
meth_wxRichTextTable_ClearTable(PyObject * sipSelf,PyObject * sipArgs)3120 static PyObject *meth_wxRichTextTable_ClearTable(PyObject *sipSelf, PyObject *sipArgs)
3121 {
3122 PyObject *sipParseErr = SIP_NULLPTR;
3123 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
3124
3125 {
3126 ::wxRichTextTable *sipCpp;
3127
3128 if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxRichTextTable, &sipCpp))
3129 {
3130 PyErr_Clear();
3131
3132 Py_BEGIN_ALLOW_THREADS
3133 (sipSelfWasArg ? sipCpp-> ::wxRichTextTable::ClearTable() : sipCpp->ClearTable());
3134 Py_END_ALLOW_THREADS
3135
3136 if (PyErr_Occurred())
3137 return 0;
3138
3139 Py_INCREF(Py_None);
3140 return Py_None;
3141 }
3142 }
3143
3144 /* Raise an exception if the arguments couldn't be parsed. */
3145 sipNoMethod(sipParseErr, sipName_RichTextTable, sipName_ClearTable, SIP_NULLPTR);
3146
3147 return SIP_NULLPTR;
3148 }
3149
3150
3151 PyDoc_STRVAR(doc_wxRichTextTable_CreateTable, "CreateTable(rows, cols) -> bool\n"
3152 "\n"
3153 "Creates a table of the given dimensions.");
3154
3155 extern "C" {static PyObject *meth_wxRichTextTable_CreateTable(PyObject *, PyObject *, PyObject *);}
meth_wxRichTextTable_CreateTable(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)3156 static PyObject *meth_wxRichTextTable_CreateTable(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
3157 {
3158 PyObject *sipParseErr = SIP_NULLPTR;
3159 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
3160
3161 {
3162 int rows;
3163 int cols;
3164 ::wxRichTextTable *sipCpp;
3165
3166 static const char *sipKwdList[] = {
3167 sipName_rows,
3168 sipName_cols,
3169 };
3170
3171 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Bii", &sipSelf, sipType_wxRichTextTable, &sipCpp, &rows, &cols))
3172 {
3173 bool sipRes;
3174
3175 PyErr_Clear();
3176
3177 Py_BEGIN_ALLOW_THREADS
3178 sipRes = (sipSelfWasArg ? sipCpp-> ::wxRichTextTable::CreateTable(rows,cols) : sipCpp->CreateTable(rows,cols));
3179 Py_END_ALLOW_THREADS
3180
3181 if (PyErr_Occurred())
3182 return 0;
3183
3184 return PyBool_FromLong(sipRes);
3185 }
3186 }
3187
3188 /* Raise an exception if the arguments couldn't be parsed. */
3189 sipNoMethod(sipParseErr, sipName_RichTextTable, sipName_CreateTable, SIP_NULLPTR);
3190
3191 return SIP_NULLPTR;
3192 }
3193
3194
3195 PyDoc_STRVAR(doc_wxRichTextTable_SetCellStyle, "SetCellStyle(selection, style, flags=RICHTEXT_SETSTYLE_WITH_UNDO) -> bool\n"
3196 "\n"
3197 "Sets the attributes for the cells specified by the selection.");
3198
3199 extern "C" {static PyObject *meth_wxRichTextTable_SetCellStyle(PyObject *, PyObject *, PyObject *);}
meth_wxRichTextTable_SetCellStyle(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)3200 static PyObject *meth_wxRichTextTable_SetCellStyle(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
3201 {
3202 PyObject *sipParseErr = SIP_NULLPTR;
3203 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
3204
3205 {
3206 const ::wxRichTextSelection* selection;
3207 const ::wxRichTextAttr* style;
3208 int flags = wxRICHTEXT_SETSTYLE_WITH_UNDO;
3209 ::wxRichTextTable *sipCpp;
3210
3211 static const char *sipKwdList[] = {
3212 sipName_selection,
3213 sipName_style,
3214 sipName_flags,
3215 };
3216
3217 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ9J9|i", &sipSelf, sipType_wxRichTextTable, &sipCpp, sipType_wxRichTextSelection, &selection, sipType_wxRichTextAttr, &style, &flags))
3218 {
3219 bool sipRes;
3220
3221 PyErr_Clear();
3222
3223 Py_BEGIN_ALLOW_THREADS
3224 sipRes = (sipSelfWasArg ? sipCpp-> ::wxRichTextTable::SetCellStyle(*selection,*style,flags) : sipCpp->SetCellStyle(*selection,*style,flags));
3225 Py_END_ALLOW_THREADS
3226
3227 if (PyErr_Occurred())
3228 return 0;
3229
3230 return PyBool_FromLong(sipRes);
3231 }
3232 }
3233
3234 /* Raise an exception if the arguments couldn't be parsed. */
3235 sipNoMethod(sipParseErr, sipName_RichTextTable, sipName_SetCellStyle, SIP_NULLPTR);
3236
3237 return SIP_NULLPTR;
3238 }
3239
3240
3241 PyDoc_STRVAR(doc_wxRichTextTable_DeleteRows, "DeleteRows(startRow, noRows=1) -> bool\n"
3242 "\n"
3243 "Deletes rows from the given row position.");
3244
3245 extern "C" {static PyObject *meth_wxRichTextTable_DeleteRows(PyObject *, PyObject *, PyObject *);}
meth_wxRichTextTable_DeleteRows(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)3246 static PyObject *meth_wxRichTextTable_DeleteRows(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
3247 {
3248 PyObject *sipParseErr = SIP_NULLPTR;
3249 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
3250
3251 {
3252 int startRow;
3253 int noRows = 1;
3254 ::wxRichTextTable *sipCpp;
3255
3256 static const char *sipKwdList[] = {
3257 sipName_startRow,
3258 sipName_noRows,
3259 };
3260
3261 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Bi|i", &sipSelf, sipType_wxRichTextTable, &sipCpp, &startRow, &noRows))
3262 {
3263 bool sipRes;
3264
3265 PyErr_Clear();
3266
3267 Py_BEGIN_ALLOW_THREADS
3268 sipRes = (sipSelfWasArg ? sipCpp-> ::wxRichTextTable::DeleteRows(startRow,noRows) : sipCpp->DeleteRows(startRow,noRows));
3269 Py_END_ALLOW_THREADS
3270
3271 if (PyErr_Occurred())
3272 return 0;
3273
3274 return PyBool_FromLong(sipRes);
3275 }
3276 }
3277
3278 /* Raise an exception if the arguments couldn't be parsed. */
3279 sipNoMethod(sipParseErr, sipName_RichTextTable, sipName_DeleteRows, SIP_NULLPTR);
3280
3281 return SIP_NULLPTR;
3282 }
3283
3284
3285 PyDoc_STRVAR(doc_wxRichTextTable_DeleteColumns, "DeleteColumns(startCol, noCols=1) -> bool\n"
3286 "\n"
3287 "Deletes columns from the given column position.");
3288
3289 extern "C" {static PyObject *meth_wxRichTextTable_DeleteColumns(PyObject *, PyObject *, PyObject *);}
meth_wxRichTextTable_DeleteColumns(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)3290 static PyObject *meth_wxRichTextTable_DeleteColumns(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
3291 {
3292 PyObject *sipParseErr = SIP_NULLPTR;
3293 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
3294
3295 {
3296 int startCol;
3297 int noCols = 1;
3298 ::wxRichTextTable *sipCpp;
3299
3300 static const char *sipKwdList[] = {
3301 sipName_startCol,
3302 sipName_noCols,
3303 };
3304
3305 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Bi|i", &sipSelf, sipType_wxRichTextTable, &sipCpp, &startCol, &noCols))
3306 {
3307 bool sipRes;
3308
3309 PyErr_Clear();
3310
3311 Py_BEGIN_ALLOW_THREADS
3312 sipRes = (sipSelfWasArg ? sipCpp-> ::wxRichTextTable::DeleteColumns(startCol,noCols) : sipCpp->DeleteColumns(startCol,noCols));
3313 Py_END_ALLOW_THREADS
3314
3315 if (PyErr_Occurred())
3316 return 0;
3317
3318 return PyBool_FromLong(sipRes);
3319 }
3320 }
3321
3322 /* Raise an exception if the arguments couldn't be parsed. */
3323 sipNoMethod(sipParseErr, sipName_RichTextTable, sipName_DeleteColumns, SIP_NULLPTR);
3324
3325 return SIP_NULLPTR;
3326 }
3327
3328
3329 PyDoc_STRVAR(doc_wxRichTextTable_AddRows, "AddRows(startRow, noRows=1, attr=RichTextAttr()) -> bool\n"
3330 "\n"
3331 "Adds rows from the given row position.");
3332
3333 extern "C" {static PyObject *meth_wxRichTextTable_AddRows(PyObject *, PyObject *, PyObject *);}
meth_wxRichTextTable_AddRows(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)3334 static PyObject *meth_wxRichTextTable_AddRows(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
3335 {
3336 PyObject *sipParseErr = SIP_NULLPTR;
3337 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
3338
3339 {
3340 int startRow;
3341 int noRows = 1;
3342 const ::wxRichTextAttr& attrdef = wxRichTextAttr();
3343 const ::wxRichTextAttr* attr = &attrdef;
3344 ::wxRichTextTable *sipCpp;
3345
3346 static const char *sipKwdList[] = {
3347 sipName_startRow,
3348 sipName_noRows,
3349 sipName_attr,
3350 };
3351
3352 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Bi|iJ9", &sipSelf, sipType_wxRichTextTable, &sipCpp, &startRow, &noRows, sipType_wxRichTextAttr, &attr))
3353 {
3354 bool sipRes;
3355
3356 PyErr_Clear();
3357
3358 Py_BEGIN_ALLOW_THREADS
3359 sipRes = (sipSelfWasArg ? sipCpp-> ::wxRichTextTable::AddRows(startRow,noRows,*attr) : sipCpp->AddRows(startRow,noRows,*attr));
3360 Py_END_ALLOW_THREADS
3361
3362 if (PyErr_Occurred())
3363 return 0;
3364
3365 return PyBool_FromLong(sipRes);
3366 }
3367 }
3368
3369 /* Raise an exception if the arguments couldn't be parsed. */
3370 sipNoMethod(sipParseErr, sipName_RichTextTable, sipName_AddRows, SIP_NULLPTR);
3371
3372 return SIP_NULLPTR;
3373 }
3374
3375
3376 PyDoc_STRVAR(doc_wxRichTextTable_AddColumns, "AddColumns(startCol, noCols=1, attr=RichTextAttr()) -> bool\n"
3377 "\n"
3378 "Adds columns from the given column position.");
3379
3380 extern "C" {static PyObject *meth_wxRichTextTable_AddColumns(PyObject *, PyObject *, PyObject *);}
meth_wxRichTextTable_AddColumns(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)3381 static PyObject *meth_wxRichTextTable_AddColumns(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
3382 {
3383 PyObject *sipParseErr = SIP_NULLPTR;
3384 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
3385
3386 {
3387 int startCol;
3388 int noCols = 1;
3389 const ::wxRichTextAttr& attrdef = wxRichTextAttr();
3390 const ::wxRichTextAttr* attr = &attrdef;
3391 ::wxRichTextTable *sipCpp;
3392
3393 static const char *sipKwdList[] = {
3394 sipName_startCol,
3395 sipName_noCols,
3396 sipName_attr,
3397 };
3398
3399 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Bi|iJ9", &sipSelf, sipType_wxRichTextTable, &sipCpp, &startCol, &noCols, sipType_wxRichTextAttr, &attr))
3400 {
3401 bool sipRes;
3402
3403 PyErr_Clear();
3404
3405 Py_BEGIN_ALLOW_THREADS
3406 sipRes = (sipSelfWasArg ? sipCpp-> ::wxRichTextTable::AddColumns(startCol,noCols,*attr) : sipCpp->AddColumns(startCol,noCols,*attr));
3407 Py_END_ALLOW_THREADS
3408
3409 if (PyErr_Occurred())
3410 return 0;
3411
3412 return PyBool_FromLong(sipRes);
3413 }
3414 }
3415
3416 /* Raise an exception if the arguments couldn't be parsed. */
3417 sipNoMethod(sipParseErr, sipName_RichTextTable, sipName_AddColumns, SIP_NULLPTR);
3418
3419 return SIP_NULLPTR;
3420 }
3421
3422
3423 PyDoc_STRVAR(doc_wxRichTextTable_Clone, "Clone() -> RichTextObject\n"
3424 "\n"
3425 "Clones the object.");
3426
3427 extern "C" {static PyObject *meth_wxRichTextTable_Clone(PyObject *, PyObject *);}
meth_wxRichTextTable_Clone(PyObject * sipSelf,PyObject * sipArgs)3428 static PyObject *meth_wxRichTextTable_Clone(PyObject *sipSelf, PyObject *sipArgs)
3429 {
3430 PyObject *sipParseErr = SIP_NULLPTR;
3431 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
3432
3433 {
3434 const ::wxRichTextTable *sipCpp;
3435
3436 if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxRichTextTable, &sipCpp))
3437 {
3438 ::wxRichTextObject*sipRes;
3439
3440 PyErr_Clear();
3441
3442 Py_BEGIN_ALLOW_THREADS
3443 sipRes = (sipSelfWasArg ? sipCpp-> ::wxRichTextTable::Clone() : sipCpp->Clone());
3444 Py_END_ALLOW_THREADS
3445
3446 if (PyErr_Occurred())
3447 return 0;
3448
3449 return sipConvertFromNewType(sipRes,sipType_wxRichTextObject,SIP_NULLPTR);
3450 }
3451 }
3452
3453 /* Raise an exception if the arguments couldn't be parsed. */
3454 sipNoMethod(sipParseErr, sipName_RichTextTable, sipName_Clone, SIP_NULLPTR);
3455
3456 return SIP_NULLPTR;
3457 }
3458
3459
3460 PyDoc_STRVAR(doc_wxRichTextTable_Copy, "Copy(obj)");
3461
3462 extern "C" {static PyObject *meth_wxRichTextTable_Copy(PyObject *, PyObject *, PyObject *);}
meth_wxRichTextTable_Copy(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)3463 static PyObject *meth_wxRichTextTable_Copy(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
3464 {
3465 PyObject *sipParseErr = SIP_NULLPTR;
3466
3467 {
3468 const ::wxRichTextTable* obj;
3469 ::wxRichTextTable *sipCpp;
3470
3471 static const char *sipKwdList[] = {
3472 sipName_obj,
3473 };
3474
3475 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ9", &sipSelf, sipType_wxRichTextTable, &sipCpp, sipType_wxRichTextTable, &obj))
3476 {
3477 PyErr_Clear();
3478
3479 Py_BEGIN_ALLOW_THREADS
3480 sipCpp->Copy(*obj);
3481 Py_END_ALLOW_THREADS
3482
3483 if (PyErr_Occurred())
3484 return 0;
3485
3486 Py_INCREF(Py_None);
3487 return Py_None;
3488 }
3489 }
3490
3491 /* Raise an exception if the arguments couldn't be parsed. */
3492 sipNoMethod(sipParseErr, sipName_RichTextTable, sipName_Copy, SIP_NULLPTR);
3493
3494 return SIP_NULLPTR;
3495 }
3496
3497
3498 /* Cast a pointer to a type somewhere in its inheritance hierarchy. */
3499 extern "C" {static void *cast_wxRichTextTable(void *, const sipTypeDef *);}
cast_wxRichTextTable(void * sipCppV,const sipTypeDef * targetType)3500 static void *cast_wxRichTextTable(void *sipCppV, const sipTypeDef *targetType)
3501 {
3502 ::wxRichTextTable *sipCpp = reinterpret_cast< ::wxRichTextTable *>(sipCppV);
3503
3504 if (targetType == sipType_wxRichTextBox)
3505 return static_cast< ::wxRichTextBox *>(sipCpp);
3506
3507 if (targetType == sipType_wxRichTextParagraphLayoutBox)
3508 return static_cast< ::wxRichTextParagraphLayoutBox *>(sipCpp);
3509
3510 if (targetType == sipType_wxRichTextCompositeObject)
3511 return static_cast< ::wxRichTextCompositeObject *>(sipCpp);
3512
3513 if (targetType == sipType_wxRichTextObject)
3514 return static_cast< ::wxRichTextObject *>(sipCpp);
3515
3516 if (targetType == sipType_wxObject)
3517 return static_cast< ::wxObject *>(sipCpp);
3518
3519 return sipCppV;
3520 }
3521
3522
3523 /* Call the instance's destructor. */
3524 extern "C" {static void release_wxRichTextTable(void *, int);}
release_wxRichTextTable(void * sipCppV,int sipState)3525 static void release_wxRichTextTable(void *sipCppV, int sipState)
3526 {
3527 Py_BEGIN_ALLOW_THREADS
3528
3529 if (sipState & SIP_DERIVED_CLASS)
3530 delete reinterpret_cast<sipwxRichTextTable *>(sipCppV);
3531 else
3532 delete reinterpret_cast< ::wxRichTextTable *>(sipCppV);
3533
3534 Py_END_ALLOW_THREADS
3535 }
3536
3537
3538 extern "C" {static void assign_wxRichTextTable(void *, SIP_SSIZE_T, void *);}
assign_wxRichTextTable(void * sipDst,SIP_SSIZE_T sipDstIdx,void * sipSrc)3539 static void assign_wxRichTextTable(void *sipDst, SIP_SSIZE_T sipDstIdx, void *sipSrc)
3540 {
3541 reinterpret_cast< ::wxRichTextTable *>(sipDst)[sipDstIdx] = *reinterpret_cast< ::wxRichTextTable *>(sipSrc);
3542 }
3543
3544
3545 extern "C" {static void *array_wxRichTextTable(SIP_SSIZE_T);}
array_wxRichTextTable(SIP_SSIZE_T sipNrElem)3546 static void *array_wxRichTextTable(SIP_SSIZE_T sipNrElem)
3547 {
3548 return new ::wxRichTextTable[sipNrElem];
3549 }
3550
3551
3552 extern "C" {static void *copy_wxRichTextTable(const void *, SIP_SSIZE_T);}
copy_wxRichTextTable(const void * sipSrc,SIP_SSIZE_T sipSrcIdx)3553 static void *copy_wxRichTextTable(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
3554 {
3555 return new ::wxRichTextTable(reinterpret_cast<const ::wxRichTextTable *>(sipSrc)[sipSrcIdx]);
3556 }
3557
3558
3559 extern "C" {static void dealloc_wxRichTextTable(sipSimpleWrapper *);}
dealloc_wxRichTextTable(sipSimpleWrapper * sipSelf)3560 static void dealloc_wxRichTextTable(sipSimpleWrapper *sipSelf)
3561 {
3562 if (sipIsDerivedClass(sipSelf))
3563 reinterpret_cast<sipwxRichTextTable *>(sipGetAddress(sipSelf))->sipPySelf = SIP_NULLPTR;
3564
3565 if (sipIsOwnedByPython(sipSelf))
3566 {
3567 release_wxRichTextTable(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
3568 }
3569 }
3570
3571
3572 extern "C" {static void *init_type_wxRichTextTable(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
init_type_wxRichTextTable(sipSimpleWrapper * sipSelf,PyObject * sipArgs,PyObject * sipKwds,PyObject ** sipUnused,PyObject **,PyObject ** sipParseErr)3573 static void *init_type_wxRichTextTable(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
3574 {
3575 sipwxRichTextTable *sipCpp = SIP_NULLPTR;
3576
3577 {
3578 ::wxRichTextObject* parent = 0;
3579
3580 static const char *sipKwdList[] = {
3581 sipName_parent,
3582 };
3583
3584 if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|J8", sipType_wxRichTextObject, &parent))
3585 {
3586 PyErr_Clear();
3587
3588 Py_BEGIN_ALLOW_THREADS
3589 sipCpp = new sipwxRichTextTable(parent);
3590 Py_END_ALLOW_THREADS
3591
3592 if (PyErr_Occurred())
3593 {
3594 delete sipCpp;
3595 return SIP_NULLPTR;
3596 }
3597
3598 sipCpp->sipPySelf = sipSelf;
3599
3600 return sipCpp;
3601 }
3602 }
3603
3604 {
3605 const ::wxRichTextTable* obj;
3606
3607 static const char *sipKwdList[] = {
3608 sipName_obj,
3609 };
3610
3611 if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "J9", sipType_wxRichTextTable, &obj))
3612 {
3613 PyErr_Clear();
3614
3615 Py_BEGIN_ALLOW_THREADS
3616 sipCpp = new sipwxRichTextTable(*obj);
3617 Py_END_ALLOW_THREADS
3618
3619 if (PyErr_Occurred())
3620 {
3621 delete sipCpp;
3622 return SIP_NULLPTR;
3623 }
3624
3625 sipCpp->sipPySelf = sipSelf;
3626
3627 return sipCpp;
3628 }
3629 }
3630
3631 return SIP_NULLPTR;
3632 }
3633
3634
3635 /* Define this type's super-types. */
3636 static sipEncodedTypeDef supers_wxRichTextTable[] = {{5, 255, 1}};
3637
3638
3639 static PyMethodDef methods_wxRichTextTable[] = {
3640 {SIP_MLNAME_CAST(sipName_AcceptsFocus), meth_wxRichTextTable_AcceptsFocus, METH_VARARGS, SIP_MLDOC_CAST(doc_wxRichTextTable_AcceptsFocus)},
3641 {SIP_MLNAME_CAST(sipName_AddColumns), SIP_MLMETH_CAST(meth_wxRichTextTable_AddColumns), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxRichTextTable_AddColumns)},
3642 {SIP_MLNAME_CAST(sipName_AddRows), SIP_MLMETH_CAST(meth_wxRichTextTable_AddRows), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxRichTextTable_AddRows)},
3643 {SIP_MLNAME_CAST(sipName_CalculateRange), SIP_MLMETH_CAST(meth_wxRichTextTable_CalculateRange), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxRichTextTable_CalculateRange)},
3644 {SIP_MLNAME_CAST(sipName_CanEditProperties), meth_wxRichTextTable_CanEditProperties, METH_VARARGS, SIP_MLDOC_CAST(doc_wxRichTextTable_CanEditProperties)},
3645 {SIP_MLNAME_CAST(sipName_ClearTable), meth_wxRichTextTable_ClearTable, METH_VARARGS, SIP_MLDOC_CAST(doc_wxRichTextTable_ClearTable)},
3646 {SIP_MLNAME_CAST(sipName_Clone), meth_wxRichTextTable_Clone, METH_VARARGS, SIP_MLDOC_CAST(doc_wxRichTextTable_Clone)},
3647 {SIP_MLNAME_CAST(sipName_Copy), SIP_MLMETH_CAST(meth_wxRichTextTable_Copy), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxRichTextTable_Copy)},
3648 {SIP_MLNAME_CAST(sipName_CreateTable), SIP_MLMETH_CAST(meth_wxRichTextTable_CreateTable), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxRichTextTable_CreateTable)},
3649 {SIP_MLNAME_CAST(sipName_DeleteColumns), SIP_MLMETH_CAST(meth_wxRichTextTable_DeleteColumns), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxRichTextTable_DeleteColumns)},
3650 {SIP_MLNAME_CAST(sipName_DeleteRange), SIP_MLMETH_CAST(meth_wxRichTextTable_DeleteRange), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxRichTextTable_DeleteRange)},
3651 {SIP_MLNAME_CAST(sipName_DeleteRows), SIP_MLMETH_CAST(meth_wxRichTextTable_DeleteRows), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxRichTextTable_DeleteRows)},
3652 {SIP_MLNAME_CAST(sipName_Draw), SIP_MLMETH_CAST(meth_wxRichTextTable_Draw), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxRichTextTable_Draw)},
3653 {SIP_MLNAME_CAST(sipName_EditProperties), SIP_MLMETH_CAST(meth_wxRichTextTable_EditProperties), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxRichTextTable_EditProperties)},
3654 {SIP_MLNAME_CAST(sipName_FindPosition), SIP_MLMETH_CAST(meth_wxRichTextTable_FindPosition), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxRichTextTable_FindPosition)},
3655 {SIP_MLNAME_CAST(sipName_GetCell), SIP_MLMETH_CAST(meth_wxRichTextTable_GetCell), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxRichTextTable_GetCell)},
3656 {SIP_MLNAME_CAST(sipName_GetCellRowColumnPosition), SIP_MLMETH_CAST(meth_wxRichTextTable_GetCellRowColumnPosition), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxRichTextTable_GetCellRowColumnPosition)},
3657 {SIP_MLNAME_CAST(sipName_GetCells), meth_wxRichTextTable_GetCells, METH_VARARGS, SIP_MLDOC_CAST(doc_wxRichTextTable_GetCells)},
3658 {SIP_MLNAME_CAST(sipName_GetColumnCount), meth_wxRichTextTable_GetColumnCount, METH_VARARGS, SIP_MLDOC_CAST(doc_wxRichTextTable_GetColumnCount)},
3659 {SIP_MLNAME_CAST(sipName_GetFocusedCell), meth_wxRichTextTable_GetFocusedCell, METH_VARARGS, SIP_MLDOC_CAST(doc_wxRichTextTable_GetFocusedCell)},
3660 {SIP_MLNAME_CAST(sipName_GetPropertiesMenuLabel), meth_wxRichTextTable_GetPropertiesMenuLabel, METH_VARARGS, SIP_MLDOC_CAST(doc_wxRichTextTable_GetPropertiesMenuLabel)},
3661 {SIP_MLNAME_CAST(sipName_GetRangeSize), SIP_MLMETH_CAST(meth_wxRichTextTable_GetRangeSize), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxRichTextTable_GetRangeSize)},
3662 {SIP_MLNAME_CAST(sipName_GetRowCount), meth_wxRichTextTable_GetRowCount, METH_VARARGS, SIP_MLDOC_CAST(doc_wxRichTextTable_GetRowCount)},
3663 {SIP_MLNAME_CAST(sipName_GetSelection), SIP_MLMETH_CAST(meth_wxRichTextTable_GetSelection), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxRichTextTable_GetSelection)},
3664 {SIP_MLNAME_CAST(sipName_GetTextForRange), SIP_MLMETH_CAST(meth_wxRichTextTable_GetTextForRange), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxRichTextTable_GetTextForRange)},
3665 {SIP_MLNAME_CAST(sipName_GetXMLNodeName), meth_wxRichTextTable_GetXMLNodeName, METH_VARARGS, SIP_MLDOC_CAST(doc_wxRichTextTable_GetXMLNodeName)},
3666 {SIP_MLNAME_CAST(sipName_HandlesChildSelections), meth_wxRichTextTable_HandlesChildSelections, METH_VARARGS, SIP_MLDOC_CAST(doc_wxRichTextTable_HandlesChildSelections)},
3667 {SIP_MLNAME_CAST(sipName_HitTest), SIP_MLMETH_CAST(meth_wxRichTextTable_HitTest), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxRichTextTable_HitTest)},
3668 {SIP_MLNAME_CAST(sipName_ImportFromXML), SIP_MLMETH_CAST(meth_wxRichTextTable_ImportFromXML), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxRichTextTable_ImportFromXML)},
3669 {SIP_MLNAME_CAST(sipName_Layout), SIP_MLMETH_CAST(meth_wxRichTextTable_Layout), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxRichTextTable_Layout)},
3670 {SIP_MLNAME_CAST(sipName_SetCellStyle), SIP_MLMETH_CAST(meth_wxRichTextTable_SetCellStyle), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxRichTextTable_SetCellStyle)}
3671 };
3672
3673 sipVariableDef variables_wxRichTextTable[] = {
3674 {PropertyVariable, sipName_XMLNodeName, &methods_wxRichTextTable[25], SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR},
3675 {PropertyVariable, sipName_RowCount, &methods_wxRichTextTable[22], SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR},
3676 {PropertyVariable, sipName_PropertiesMenuLabel, &methods_wxRichTextTable[20], SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR},
3677 {PropertyVariable, sipName_FocusedCell, &methods_wxRichTextTable[19], SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR},
3678 {PropertyVariable, sipName_ColumnCount, &methods_wxRichTextTable[18], SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR},
3679 {PropertyVariable, sipName_Cells, &methods_wxRichTextTable[17], SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR},
3680 };
3681
3682 PyDoc_STRVAR(doc_wxRichTextTable, "RichTextTable(parent=None)\n"
3683 "RichTextTable(obj)\n"
3684 "\n"
3685 "wxRichTextTable represents a table with arbitrary columns and rows.");
3686
3687
3688 sipClassTypeDef sipTypeDef__richtext_wxRichTextTable = {
3689 {
3690 -1,
3691 SIP_NULLPTR,
3692 SIP_NULLPTR,
3693 SIP_TYPE_SCC|SIP_TYPE_CLASS,
3694 sipNameNr_wxRichTextTable,
3695 {SIP_NULLPTR},
3696 SIP_NULLPTR
3697 },
3698 {
3699 sipNameNr_RichTextTable,
3700 {0, 0, 1},
3701 31, methods_wxRichTextTable,
3702 0, SIP_NULLPTR,
3703 6, variables_wxRichTextTable,
3704 {SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR},
3705 },
3706 doc_wxRichTextTable,
3707 -1,
3708 -1,
3709 supers_wxRichTextTable,
3710 SIP_NULLPTR,
3711 init_type_wxRichTextTable,
3712 SIP_NULLPTR,
3713 SIP_NULLPTR,
3714 #if PY_MAJOR_VERSION >= 3
3715 SIP_NULLPTR,
3716 SIP_NULLPTR,
3717 #else
3718 SIP_NULLPTR,
3719 SIP_NULLPTR,
3720 SIP_NULLPTR,
3721 SIP_NULLPTR,
3722 #endif
3723 dealloc_wxRichTextTable,
3724 assign_wxRichTextTable,
3725 array_wxRichTextTable,
3726 copy_wxRichTextTable,
3727 release_wxRichTextTable,
3728 cast_wxRichTextTable,
3729 SIP_NULLPTR,
3730 SIP_NULLPTR,
3731 SIP_NULLPTR,
3732 SIP_NULLPTR,
3733 SIP_NULLPTR,
3734 SIP_NULLPTR
3735 };
3736