15 #include <QDataStream>
18 #include <QPainterPath>
23 #include <QStringList>
26 #include "pagestructs.h"
27 #include "scribusapi.h"
41 bool SCRIBUS_API compareDouble(
double a,
double b);
49 QStringList SCRIBUS_API sortQStringList(QStringList aList);
50 bool SCRIBUS_API sortingQPairOfStrings( QPair<QString, QString> aP, QPair<QString, QString> bP);
52 void SCRIBUS_API WordAndPara(
PageItem *currItem,
int *w,
int *p,
int *c,
int *wN,
int *pN,
int *cN);
53 bool SCRIBUS_API overwrite(QWidget *parent, QString filename);
54 QString SCRIBUS_API Path2Relative(QString Path,
const QString& baseDir = QDir::currentPath());
55 QString SCRIBUS_API Relative2Path(QString File,
const QString& baseDir = QDir::currentPath());
56 char SCRIBUS_API *toAscii85( quint32 value,
bool& allZero );
57 char SCRIBUS_API *toHex( uchar u );
58 QString SCRIBUS_API String2Hex(QString *in,
bool lang =
true);
59 QString SCRIBUS_API CompressStr(QString *in);
60 QByteArray SCRIBUS_API CompressArray(
const QByteArray& in);
62 bool SCRIBUS_API loadText(QString nam, QString *Buffer);
68 bool SCRIBUS_API loadRawText(
const QString & filename, QByteArray & buf);
69 bool SCRIBUS_API loadRawBytes(
const QString & filename, QByteArray & buf);
93 int SCRIBUS_API System(
const QString exename,
const QStringList & args,
94 const QString fileStdErr =
"",
const QString fileStdOut =
"",
104 QString SCRIBUS_API checkFileExtension(
const QString & currName,
const QString & extension);
109 QString SCRIBUS_API getShortPathName(
const QString & longPath);
114 QString SCRIBUS_API getLongPathName(
const QString & shortPath);
123 QString SCRIBUS_API getFileNameByPage(
ScribusDoc* currDoc, uint pageNo, QString extension, QString prefix=QString::null);
126 const QString SCRIBUS_API getStringFromSequence(NumFormat type, uint position, QString asterix=
"*");
127 const QString SCRIBUS_API arabicToRoman(uint i);
128 const QString SCRIBUS_API arabicToCJK(uint i);
129 QChar SCRIBUS_API cjkDigit(uint i);
130 const QString SCRIBUS_API numberToLetterSequence(uint i);
131 void SCRIBUS_API parsePagesString(QString pages, std::vector<int>* pageNs,
int sourcePageCount);
133 QString SCRIBUS_API readLinefromDataStream(QDataStream &s);
134 void SCRIBUS_API setCurrentComboItem(QComboBox *box, QString text);
136 QString SCRIBUS_API readAdobeUniCodeString(QDataStream &s);
137 QString SCRIBUS_API readAdobeUniCodeString16(QDataStream &s);
139 QString SCRIBUS_API getDashString(
int dashtype,
double linewidth);
140 void SCRIBUS_API getDashArray(
int dashtype,
double linewidth, QVector<double> &dashArray);
141 void SCRIBUS_API getDashArray(
int dashtype,
double linewidth, QVector<float> &dashArray);
147 bool SCRIBUS_API convertOldTable(
ScribusDoc *m_Doc,
PageItem* gItem, QList<PageItem*> &gpL, QStack< QList<PageItem*> > *groupStackT = NULL, QList<PageItem *> *target = NULL);
149 void SCRIBUS_API setWidgetBoldFont(QWidget* w,
bool wantBold);
155 void SCRIBUS_API getUniqueName(QString &name, QStringList list, QString separator =
"",
bool prepend =
false);
Definition: paragraphstyle.h:27
the Document Class
Definition: scribusdoc.h:90
Definition: pageitem.h:92
Definition: scribusview.h:87