Scribus
Open source desktop publishing at your fingertips
util_text.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 _UTIL_TEXT_H
8 #define _UTIL_TEXT_H
9 
10 #include <QString>
11 
12 #include "style.h"
13 #include "styles/charstyle.h"
14 #include "styles/paragraphstyle.h"
15 #include "scribusapi.h"
16 #include "text/storytext.h"
17 
18 class ScribusDoc;
19 
20 #ifndef NLS_CONFORMANCE
21 int SCRIBUS_API findParagraphStyle(ScribusDoc* doc, const ParagraphStyle& parStyle);
22 int SCRIBUS_API findParagraphStyle(ScribusDoc* doc, const QString &name);
23 #endif
24 
25 // returns StoryText from saxed string
26 StoryText SCRIBUS_API desaxeString(ScribusDoc* doc, QString saxedString);
27 
28 //returns string with saxed story
29 QString SCRIBUS_API saxedText(StoryText* story);
30 
31 #endif
Definition: storytext.h:71
Definition: paragraphstyle.h:27
the Document Class
Definition: scribusdoc.h:90