2024-11-17 06:21:37 +00:00
|
|
|
#pragma once
|
|
|
|
#ifndef MIQT_QT_GEN_QPDFWRITER_H
|
|
|
|
#define MIQT_QT_GEN_QPDFWRITER_H
|
2024-08-25 04:08:24 +00:00
|
|
|
|
|
|
|
#include <stdbool.h>
|
|
|
|
#include <stddef.h>
|
|
|
|
#include <stdint.h>
|
|
|
|
|
|
|
|
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
|
|
|
|
|
2024-10-16 05:07:56 +00:00
|
|
|
#include "../libmiqt/libmiqt.h"
|
2024-09-14 22:29:05 +00:00
|
|
|
|
2024-08-25 04:08:24 +00:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
2024-11-19 06:29:06 +00:00
|
|
|
class QChildEvent;
|
|
|
|
class QEvent;
|
2024-08-25 04:08:24 +00:00
|
|
|
class QIODevice;
|
2024-11-19 06:29:06 +00:00
|
|
|
class QMetaMethod;
|
2024-08-25 04:08:24 +00:00
|
|
|
class QMetaObject;
|
2024-11-19 06:29:06 +00:00
|
|
|
class QObject;
|
|
|
|
class QPagedPaintDevice;
|
2024-08-29 07:01:51 +00:00
|
|
|
#if defined(WORKAROUND_INNER_CLASS_DEFINITION_QPagedPaintDevice__Margins)
|
|
|
|
typedef QPagedPaintDevice::Margins QPagedPaintDevice__Margins;
|
|
|
|
#else
|
|
|
|
class QPagedPaintDevice__Margins;
|
|
|
|
#endif
|
2024-11-19 06:29:06 +00:00
|
|
|
class QPaintDevice;
|
|
|
|
class QPaintEngine;
|
2024-08-25 04:08:24 +00:00
|
|
|
class QPdfWriter;
|
|
|
|
class QSizeF;
|
2024-11-19 06:29:06 +00:00
|
|
|
class QTimerEvent;
|
2024-08-25 04:08:24 +00:00
|
|
|
#else
|
2024-11-19 06:29:06 +00:00
|
|
|
typedef struct QChildEvent QChildEvent;
|
|
|
|
typedef struct QEvent QEvent;
|
2024-08-25 04:08:24 +00:00
|
|
|
typedef struct QIODevice QIODevice;
|
2024-11-19 06:29:06 +00:00
|
|
|
typedef struct QMetaMethod QMetaMethod;
|
2024-08-25 04:08:24 +00:00
|
|
|
typedef struct QMetaObject QMetaObject;
|
2024-11-19 06:29:06 +00:00
|
|
|
typedef struct QObject QObject;
|
|
|
|
typedef struct QPagedPaintDevice QPagedPaintDevice;
|
2024-08-29 07:01:51 +00:00
|
|
|
typedef struct QPagedPaintDevice__Margins QPagedPaintDevice__Margins;
|
2024-11-19 06:29:06 +00:00
|
|
|
typedef struct QPaintDevice QPaintDevice;
|
|
|
|
typedef struct QPaintEngine QPaintEngine;
|
2024-08-25 04:08:24 +00:00
|
|
|
typedef struct QPdfWriter QPdfWriter;
|
|
|
|
typedef struct QSizeF QSizeF;
|
2024-11-19 06:29:06 +00:00
|
|
|
typedef struct QTimerEvent QTimerEvent;
|
2024-08-25 04:08:24 +00:00
|
|
|
#endif
|
|
|
|
|
2024-12-07 04:15:57 +00:00
|
|
|
QPdfWriter* QPdfWriter_new(struct miqt_string filename);
|
|
|
|
QPdfWriter* QPdfWriter_new2(QIODevice* device);
|
|
|
|
void QPdfWriter_virtbase(QPdfWriter* src, QObject** outptr_QObject, QPagedPaintDevice** outptr_QPagedPaintDevice);
|
2024-09-11 05:41:09 +00:00
|
|
|
QMetaObject* QPdfWriter_MetaObject(const QPdfWriter* self);
|
2024-09-20 22:32:57 +00:00
|
|
|
void* QPdfWriter_Metacast(QPdfWriter* self, const char* param1);
|
2024-10-18 23:53:33 +00:00
|
|
|
struct miqt_string QPdfWriter_Tr(const char* s);
|
|
|
|
struct miqt_string QPdfWriter_TrUtf8(const char* s);
|
2024-09-18 00:12:02 +00:00
|
|
|
void QPdfWriter_SetPdfVersion(QPdfWriter* self, int version);
|
|
|
|
int QPdfWriter_PdfVersion(const QPdfWriter* self);
|
2024-10-18 23:53:33 +00:00
|
|
|
struct miqt_string QPdfWriter_Title(const QPdfWriter* self);
|
|
|
|
void QPdfWriter_SetTitle(QPdfWriter* self, struct miqt_string title);
|
|
|
|
struct miqt_string QPdfWriter_Creator(const QPdfWriter* self);
|
|
|
|
void QPdfWriter_SetCreator(QPdfWriter* self, struct miqt_string creator);
|
2024-08-25 04:08:24 +00:00
|
|
|
bool QPdfWriter_NewPage(QPdfWriter* self);
|
|
|
|
void QPdfWriter_SetResolution(QPdfWriter* self, int resolution);
|
2024-09-11 05:41:09 +00:00
|
|
|
int QPdfWriter_Resolution(const QPdfWriter* self);
|
2024-10-18 23:53:33 +00:00
|
|
|
void QPdfWriter_SetDocumentXmpMetadata(QPdfWriter* self, struct miqt_string xmpMetadata);
|
|
|
|
struct miqt_string QPdfWriter_DocumentXmpMetadata(const QPdfWriter* self);
|
|
|
|
void QPdfWriter_AddFileAttachment(QPdfWriter* self, struct miqt_string fileName, struct miqt_string data);
|
2024-09-18 00:12:02 +00:00
|
|
|
void QPdfWriter_SetPageSize(QPdfWriter* self, int size);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QPdfWriter_SetPageSizeMM(QPdfWriter* self, QSizeF* size);
|
2024-08-29 07:01:51 +00:00
|
|
|
void QPdfWriter_SetMargins(QPdfWriter* self, QPagedPaintDevice__Margins* m);
|
2024-11-19 06:29:06 +00:00
|
|
|
QPaintEngine* QPdfWriter_PaintEngine(const QPdfWriter* self);
|
|
|
|
int QPdfWriter_Metric(const QPdfWriter* self, int id);
|
2024-10-18 23:53:33 +00:00
|
|
|
struct miqt_string QPdfWriter_Tr2(const char* s, const char* c);
|
|
|
|
struct miqt_string QPdfWriter_Tr3(const char* s, const char* c, int n);
|
|
|
|
struct miqt_string QPdfWriter_TrUtf82(const char* s, const char* c);
|
|
|
|
struct miqt_string QPdfWriter_TrUtf83(const char* s, const char* c, int n);
|
|
|
|
void QPdfWriter_AddFileAttachment3(QPdfWriter* self, struct miqt_string fileName, struct miqt_string data, struct miqt_string mimeType);
|
2024-11-19 06:29:06 +00:00
|
|
|
void QPdfWriter_override_virtual_NewPage(void* self, intptr_t slot);
|
|
|
|
bool QPdfWriter_virtualbase_NewPage(void* self);
|
|
|
|
void QPdfWriter_override_virtual_SetPageSize(void* self, intptr_t slot);
|
|
|
|
void QPdfWriter_virtualbase_SetPageSize(void* self, int size);
|
|
|
|
void QPdfWriter_override_virtual_SetPageSizeMM(void* self, intptr_t slot);
|
|
|
|
void QPdfWriter_virtualbase_SetPageSizeMM(void* self, QSizeF* size);
|
|
|
|
void QPdfWriter_override_virtual_SetMargins(void* self, intptr_t slot);
|
|
|
|
void QPdfWriter_virtualbase_SetMargins(void* self, QPagedPaintDevice__Margins* m);
|
|
|
|
void QPdfWriter_override_virtual_PaintEngine(void* self, intptr_t slot);
|
|
|
|
QPaintEngine* QPdfWriter_virtualbase_PaintEngine(const void* self);
|
|
|
|
void QPdfWriter_override_virtual_Metric(void* self, intptr_t slot);
|
|
|
|
int QPdfWriter_virtualbase_Metric(const void* self, int id);
|
|
|
|
void QPdfWriter_override_virtual_Event(void* self, intptr_t slot);
|
|
|
|
bool QPdfWriter_virtualbase_Event(void* self, QEvent* event);
|
|
|
|
void QPdfWriter_override_virtual_EventFilter(void* self, intptr_t slot);
|
|
|
|
bool QPdfWriter_virtualbase_EventFilter(void* self, QObject* watched, QEvent* event);
|
|
|
|
void QPdfWriter_override_virtual_TimerEvent(void* self, intptr_t slot);
|
|
|
|
void QPdfWriter_virtualbase_TimerEvent(void* self, QTimerEvent* event);
|
|
|
|
void QPdfWriter_override_virtual_ChildEvent(void* self, intptr_t slot);
|
|
|
|
void QPdfWriter_virtualbase_ChildEvent(void* self, QChildEvent* event);
|
|
|
|
void QPdfWriter_override_virtual_CustomEvent(void* self, intptr_t slot);
|
|
|
|
void QPdfWriter_virtualbase_CustomEvent(void* self, QEvent* event);
|
|
|
|
void QPdfWriter_override_virtual_ConnectNotify(void* self, intptr_t slot);
|
|
|
|
void QPdfWriter_virtualbase_ConnectNotify(void* self, QMetaMethod* signal);
|
|
|
|
void QPdfWriter_override_virtual_DisconnectNotify(void* self, intptr_t slot);
|
|
|
|
void QPdfWriter_virtualbase_DisconnectNotify(void* self, QMetaMethod* signal);
|
|
|
|
void QPdfWriter_Delete(QPdfWriter* self, bool isSubclass);
|
2024-08-25 04:08:24 +00:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
} /* extern C */
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|