Scribus
Open source desktop publishing at your fingertips
SWParse Class Reference

This is the Scribus Short Words plugin main mechanism. More...

#include <parse.h>

Inheritance diagram for SWParse:
Collaboration diagram for SWParse:

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
 

Detailed Description

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.

Author
Petr Vanek petr@.nosp@m.yarp.nosp@m.en.cz with contributors.

Member Function Documentation

void SWParse::parseItem ( PageItem aFrame)

process one frame - base method! Replacing strings via regular expressions. See detailed description in the code of this method.

Parameters
aFramepointer to the existing text frame
void SWParse::parsePage ( ScribusDoc doc,
int  page 
)

one page

Parameters
pagepage number

The documentation for this class was generated from the following files: