Scribus
Open source desktop publishing at your fingertips
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
utils.h
1
/*
2
For general Scribus (>=1.3.2) copyright and licensing information please refer
3
to the COPYING file provided with the program. Following this notice may exist
4
a copyright and/or license notice that predates the release of Scribus 1.3.2
5
for which a new license (GPL+exception) is in place.
6
*/
7
#ifndef CMDUTIL_H
8
#define CMDUTIL_H
9
10
#include "scripterimpl.h"
11
12
double
PointToValue(
double
Val);
13
double
ValueToPoint(
double
Val);
14
17
double
pageUnitXToDocX(
double
pageUnitX);
19
double
docUnitXToPageX(
double
pageUnitX);
20
25
double
pageUnitYToDocY(
double
pageUnitY);
27
double
docUnitYToPageY(
double
pageUnitY);
28
29
int
GetItem(QString Name);
30
void
ReplaceColor(QString col, QString rep);
42
PageItem
* GetUniqueItem(QString name);
43
50
PageItem
* getPageItemByName(QString name);
51
52
// 2004-10-27 Craig Ringer see cmdutil.cpp for description
53
bool
checkHaveDocument();
54
55
// 2004-11-12 Craig Ringer see cmdutil.cpp for description
56
bool
ItemExists(QString name);
57
61
QStringList getSelectedItemsByName();
68
bool
setSelectedItemsByName(QStringList& itemNames);
69
70
#endif
PageItem
Definition:
pageitem.h:92
scribus
plugins
scripter
utils.h
Generated on Tue Sep 29 2015 09:15:07 for Scribus by
1.8.9.1