Scribus
Open source desktop publishing at your fingertips
|
This is the Scribus Short Words plugin main mechanism. More...
#include <parse.h>
Public Member Functions | |
SWParse () | |
lightweight constructor | |
~SWParse () | |
nothing here to do | |
void | parseItem (PageItem *aFrame) |
process one frame - base method! Replacing strings via regular expressions. See detailed description in the code of this method. More... | |
void | parseSelection (ScribusDoc *doc) |
selcted frames on the page | |
void | parsePage (ScribusDoc *doc) |
one page - using actual page | |
void | parsePage (ScribusDoc *doc, int page) |
one page More... | |
void | parseAll (ScribusDoc *doc) |
all pages in the document | |
Public Attributes | |
uint | modify |
count of the changes (one frame = one change) | |
QString | lang |
language of the frame used | |
This is the Scribus Short Words plugin main mechanism.
It walks trough the user specified objects and apply the spaces. This code is based on the Scribus-Vlna plug in rewritten for international use.
void SWParse::parseItem | ( | PageItem * | aFrame | ) |
process one frame - base method! Replacing strings via regular expressions. See detailed description in the code of this method.
aFrame | pointer to the existing text frame |
void SWParse::parsePage | ( | ScribusDoc * | doc, |
int | page | ||
) |
one page
page | page number |