Scribus
Open source desktop publishing at your fingertips
documentchecker.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 /***************************************************************************
8  begin : 2005
9  copyright : (C) 2005 by Franz Schmid
10  email : Franz.Schmid@altmuehlnet.de
11  copyright : (C) 2005 by Craig Bradney
12  email : cbradney@zip.com.au
13 ***************************************************************************/
14 
15 /***************************************************************************
16 * *
17 * ScMW program is free software; you can redistribute it and/or modify *
18 * it under the terms of the GNU General Public License as published by *
19 * the Free Software Foundation; either version 2 of the License, or *
20 * (at your option) any later version. *
21 * *
22 ***************************************************************************/
23 
24 #ifndef DOCUMENTCHECKER_H
25 #define DOCUMENTCHECKER_H
26 
27 #include "scribusapi.h"
28 #include "scribusstructs.h"
29 
30 class ScribusDoc;
31 
36 class SCRIBUS_API DocumentChecker
37 {
38  public:
39 
41  static bool checkDocument(ScribusDoc *currDoc);
42  static void checkPages(ScribusDoc *currDoc, struct CheckerPrefs checkerSettings);
43  static void checkLayers(ScribusDoc *currDoc, struct CheckerPrefs checkerSettings);
44  static void checkItems(ScribusDoc *currDoc, struct CheckerPrefs checkerSettings);
45 };
46 
47 #endif
Definition: prefsstructs.h:29
It create a error/warning list for CheckDocument GUI class. All errors and/or warnings are stored in ...
Definition: documentchecker.h:36
the Document Class
Definition: scribusdoc.h:90