12 #include <QApplication>
14 #include "scripterimpl.h"
21 Q_PROPERTY(
int number READ number)
22 Q_PROPERTY(
int position READ position)
23 Q_PROPERTY(QList<QVariant> items READ items)
24 Q_PROPERTY(QList<QVariant> selection READ selection)
25 Q_PROPERTY(
int type READ type)
29 QObject *
newRectangle(
double x,
double y,
double width,
double height);
30 QObject *
newEllipse(
double x,
double y,
double width,
double height);
31 QObject *
newImage(
double x,
double y,
double width,
double height);
32 QObject *
newText(
double x,
double y,
double width,
double height);
33 QObject *
newLine(
double x,
double y,
double width,
double height);
34 void placeSVG(const QString & filename, const
double x, const
double y);
35 void placeODG(const QString & filename, const
double x, const
double y);
36 void placeEPS(const QString & filename, const
double x, const
double y);
37 void placeSXD(const QString & filename, const
double x, const
double y);
47 QList<QVariant> items();
48 QList<QVariant> selection();
50 const
PageItem::ItemFrameType frameType,
51 const
double x, const
double y, const
double width,
52 const
double height, const
double w,
53 const QString& fill, const QString& outline);
54 void placeImage(const QString formatExt, const QString & filename, const
double x, const
double y);
58 double pageYtoDocY(
double y);
59 double pageXtoDocX(
double x);
void placeEPS(const QString &filename, const double x, const double y)
Definition: api_page.cpp:346
QObject * newEllipse(double x, double y, double width, double height)
Definition: api_page.cpp:203
QObject * newRectangle(double x, double y, double width, double height)
Definition: api_page.cpp:183
QObject * newImage(double x, double y, double width, double height)
Definition: api_page.cpp:223
void placeSXD(const QString &filename, const double x, const double y)
Definition: api_page.cpp:360
void savePageAsEPS(const QString &filename)
Definition: api_page.cpp:370
void placeSVG(const QString &filename, const double x, const double y)
Definition: api_page.cpp:318
QObject * newText(double x, double y, double width, double height)
Definition: api_page.cpp:245
void remove()
Definition: api_page.cpp:45
QObject * newLine(double x, double y, double width, double height)
Definition: api_page.cpp:265
void placeODG(const QString &filename, const double x, const double y)
Definition: api_page.cpp:332
Definition: api_page.h:18
Definition: pageitem.h:92