2024-08-25 04:08:24 +00:00
|
|
|
#ifndef GEN_QTEXTTABLE_H
|
|
|
|
#define GEN_QTEXTTABLE_H
|
|
|
|
|
|
|
|
#include <stdbool.h>
|
|
|
|
#include <stddef.h>
|
|
|
|
#include <stdint.h>
|
|
|
|
|
|
|
|
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
|
|
|
|
|
2024-09-14 22:29:05 +00:00
|
|
|
#include "binding.h"
|
|
|
|
|
2024-08-25 04:08:24 +00:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
class QMetaObject;
|
|
|
|
class QTextCharFormat;
|
|
|
|
class QTextCursor;
|
|
|
|
class QTextDocument;
|
2024-08-29 07:01:51 +00:00
|
|
|
#if defined(WORKAROUND_INNER_CLASS_DEFINITION_QTextFrame__iterator)
|
|
|
|
typedef QTextFrame::iterator QTextFrame__iterator;
|
|
|
|
#else
|
|
|
|
class QTextFrame__iterator;
|
|
|
|
#endif
|
2024-08-25 04:08:24 +00:00
|
|
|
class QTextTable;
|
|
|
|
class QTextTableCell;
|
|
|
|
class QTextTableFormat;
|
|
|
|
#else
|
|
|
|
typedef struct QMetaObject QMetaObject;
|
|
|
|
typedef struct QTextCharFormat QTextCharFormat;
|
|
|
|
typedef struct QTextCursor QTextCursor;
|
|
|
|
typedef struct QTextDocument QTextDocument;
|
2024-08-29 07:01:51 +00:00
|
|
|
typedef struct QTextFrame__iterator QTextFrame__iterator;
|
2024-08-25 04:08:24 +00:00
|
|
|
typedef struct QTextTable QTextTable;
|
|
|
|
typedef struct QTextTableCell QTextTableCell;
|
|
|
|
typedef struct QTextTableFormat QTextTableFormat;
|
|
|
|
#endif
|
|
|
|
|
|
|
|
QTextTableCell* QTextTableCell_new();
|
|
|
|
QTextTableCell* QTextTableCell_new2(QTextTableCell* o);
|
|
|
|
void QTextTableCell_OperatorAssign(QTextTableCell* self, QTextTableCell* o);
|
|
|
|
void QTextTableCell_SetFormat(QTextTableCell* self, QTextCharFormat* format);
|
2024-09-11 05:41:09 +00:00
|
|
|
QTextCharFormat* QTextTableCell_Format(const QTextTableCell* self);
|
|
|
|
int QTextTableCell_Row(const QTextTableCell* self);
|
|
|
|
int QTextTableCell_Column(const QTextTableCell* self);
|
|
|
|
int QTextTableCell_RowSpan(const QTextTableCell* self);
|
|
|
|
int QTextTableCell_ColumnSpan(const QTextTableCell* self);
|
|
|
|
bool QTextTableCell_IsValid(const QTextTableCell* self);
|
|
|
|
QTextCursor* QTextTableCell_FirstCursorPosition(const QTextTableCell* self);
|
|
|
|
QTextCursor* QTextTableCell_LastCursorPosition(const QTextTableCell* self);
|
|
|
|
int QTextTableCell_FirstPosition(const QTextTableCell* self);
|
|
|
|
int QTextTableCell_LastPosition(const QTextTableCell* self);
|
|
|
|
bool QTextTableCell_OperatorEqual(const QTextTableCell* self, QTextTableCell* other);
|
|
|
|
bool QTextTableCell_OperatorNotEqual(const QTextTableCell* self, QTextTableCell* other);
|
|
|
|
QTextFrame__iterator* QTextTableCell_Begin(const QTextTableCell* self);
|
|
|
|
QTextFrame__iterator* QTextTableCell_End(const QTextTableCell* self);
|
|
|
|
int QTextTableCell_TableCellFormatIndex(const QTextTableCell* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QTextTableCell_Delete(QTextTableCell* self);
|
|
|
|
|
|
|
|
QTextTable* QTextTable_new(QTextDocument* doc);
|
2024-09-11 05:41:09 +00:00
|
|
|
QMetaObject* QTextTable_MetaObject(const QTextTable* self);
|
2024-09-20 22:32:57 +00:00
|
|
|
void* QTextTable_Metacast(QTextTable* self, const char* param1);
|
2024-09-14 22:29:05 +00:00
|
|
|
struct miqt_string* QTextTable_Tr(const char* s);
|
|
|
|
struct miqt_string* QTextTable_TrUtf8(const char* s);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QTextTable_Resize(QTextTable* self, int rows, int cols);
|
|
|
|
void QTextTable_InsertRows(QTextTable* self, int pos, int num);
|
|
|
|
void QTextTable_InsertColumns(QTextTable* self, int pos, int num);
|
|
|
|
void QTextTable_AppendRows(QTextTable* self, int count);
|
|
|
|
void QTextTable_AppendColumns(QTextTable* self, int count);
|
|
|
|
void QTextTable_RemoveRows(QTextTable* self, int pos, int num);
|
|
|
|
void QTextTable_RemoveColumns(QTextTable* self, int pos, int num);
|
|
|
|
void QTextTable_MergeCells(QTextTable* self, int row, int col, int numRows, int numCols);
|
|
|
|
void QTextTable_MergeCellsWithCursor(QTextTable* self, QTextCursor* cursor);
|
|
|
|
void QTextTable_SplitCell(QTextTable* self, int row, int col, int numRows, int numCols);
|
2024-09-11 05:41:09 +00:00
|
|
|
int QTextTable_Rows(const QTextTable* self);
|
|
|
|
int QTextTable_Columns(const QTextTable* self);
|
|
|
|
QTextTableCell* QTextTable_CellAt(const QTextTable* self, int row, int col);
|
|
|
|
QTextTableCell* QTextTable_CellAtWithPosition(const QTextTable* self, int position);
|
|
|
|
QTextTableCell* QTextTable_CellAtWithQTextCursor(const QTextTable* self, QTextCursor* c);
|
|
|
|
QTextCursor* QTextTable_RowStart(const QTextTable* self, QTextCursor* c);
|
|
|
|
QTextCursor* QTextTable_RowEnd(const QTextTable* self, QTextCursor* c);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QTextTable_SetFormat(QTextTable* self, QTextTableFormat* format);
|
2024-09-11 05:41:09 +00:00
|
|
|
QTextTableFormat* QTextTable_Format(const QTextTable* self);
|
2024-09-14 22:29:05 +00:00
|
|
|
struct miqt_string* QTextTable_Tr2(const char* s, const char* c);
|
|
|
|
struct miqt_string* QTextTable_Tr3(const char* s, const char* c, int n);
|
|
|
|
struct miqt_string* QTextTable_TrUtf82(const char* s, const char* c);
|
|
|
|
struct miqt_string* QTextTable_TrUtf83(const char* s, const char* c, int n);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QTextTable_Delete(QTextTable* self);
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
} /* extern C */
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|