Scribus
Open source desktop publishing at your fingertips
|
XML parser for Lorem Ipsum file. This helper class reads one file. More...
#include <loremipsum.h>
Public Member Functions | |
LoremParser (QString filename) | |
QString | createLorem (uint parCount, bool random=true) |
Public Attributes | |
bool | correct |
Is the LI correct? | |
QString | name |
Name to display. | |
QString | author |
Author of the LI. | |
QString | url |
Website of the LI. | |
QStringList | loremIpsum |
Paragraphs of the LI. | |
XML parser for Lorem Ipsum file. This helper class reads one file.
LoremParser::LoremParser | ( | QString | filename | ) |
parse a XML file with given name
filename | string fith the file name with full/relative path |
QString LoremParser::createLorem | ( | uint | parCount, |
bool | random = true |
||
) |
Construct a LI
parCount | count of the paragraphs |