Scribus
Open source desktop publishing at your fingertips
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
parse.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 _SCRIBUS_SHORTPARSE_H_
8
#define _SCRIBUS_SHORTPARSE_H_
9
10
#include "shortwords.h"
11
12
#include <QObject>
13
14
class
PageItem
;
15
24
class
SWParse
:
public
QObject
25
{
26
Q_OBJECT
27
28
public
:
30
SWParse
();
32
~SWParse
(){};
33
35
uint
modify
;
36
38
QString
lang
;
39
44
void
parseItem
(
PageItem
*aFrame);
46
void
parseSelection
(
ScribusDoc
* doc);
48
void
parsePage
(
ScribusDoc
* doc);
51
void
parsePage
(
ScribusDoc
* doc,
int
page);
53
void
parseAll
(
ScribusDoc
* doc);
54
};
55
56
#endif
SWParse::~SWParse
~SWParse()
nothing here to do
Definition:
parse.h:32
SWParse::parsePage
void parsePage(ScribusDoc *doc)
one page - using actual page
Definition:
parse.cpp:140
SWParse::SWParse
SWParse()
lightweight constructor
Definition:
parse.cpp:36
ScribusDoc
the Document Class
Definition:
scribusdoc.h:90
SWParse::parseSelection
void parseSelection(ScribusDoc *doc)
selcted frames on the page
Definition:
parse.cpp:125
SWParse::parseItem
void parseItem(PageItem *aFrame)
process one frame - base method! Replacing strings via regular expressions. See detailed description ...
Definition:
parse.cpp:41
SWParse::lang
QString lang
language of the frame used
Definition:
parse.h:38
SWParse
This is the Scribus Short Words plugin main mechanism.
Definition:
parse.h:24
PageItem
Definition:
pageitem.h:92
SWParse::modify
uint modify
count of the changes (one frame = one change)
Definition:
parse.h:32
SWParse::parseAll
void parseAll(ScribusDoc *doc)
all pages in the document
Definition:
parse.cpp:173
scribus
plugins
short-words
parse.h
Generated on Tue Sep 29 2015 09:15:08 for Scribus by
1.8.9.1