|
Scribus
Open source desktop publishing at your fingertips
|
This module provides simple interface to the various Lorem Ipsum variants. Scribus LI are stored in the set of XML files. The file has followind structure: <?xml version="1.0" encoding="utf8"?> <lorem> <name>name to display</name> <author>person name</author> <url>web interface</url> <p>text</p> <p>...</p> </lorem> Files are in UTF8 encoding. More...
#include <loremipsum.h>


Public Member Functions | |
| LoremManager (ScribusDoc *doc, QWidget *parent=0) | |
| void | insertLoremIpsum (QString name, int paraCount, bool random=true) |
| QString | loremIpsum () |
| Lorem Ipsum as QString. | |
| int | paragraphCount () |
| Count of the paragraphs selected in GUI. | |
| QString | getName () |
| Name of the Lorem Ipsum file including extension. | |
| bool | randomize () |
| Flag if use "random" paragraphs, taken from GUI. | |
Protected Slots | |
| virtual void | languageChange () |
This module provides simple interface to the various Lorem Ipsum variants. Scribus LI are stored in the set of XML files. The file has followind structure: <?xml version="1.0" encoding="utf8"?> <lorem> <name>name to display</name> <author>person name</author> <url>web interface</url> <p>text</p> <p>...</p> </lorem> Files are in UTF8 encoding.
| LoremManager::LoremManager | ( | ScribusDoc * | doc, |
| QWidget * | parent = 0 |
||
| ) |
Reads all XML files in cfg directory.
| void LoremManager::insertLoremIpsum | ( | QString | name, |
| int | paraCount, | ||
| bool | random = true |
||
| ) |
Apply created LI into a frame
| name | filename of the selected LI |
| paraCount | count of the paragraphs |