Rev 9672 | Rev 18485 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
4430 | cbradney | 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 | */ |
||
2111 | cbradney | 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 | * * |
||
4026 | craig | 17 | * ScMW program is free software; you can redistribute it and/or modify * |
2111 | cbradney | 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 | |||
2969 | craig | 27 | #include "scribusapi.h" |
16329 | petr | 28 | #include "scribusstructs.h" |
29 | |||
2111 | cbradney | 30 | class ScribusDoc; |
31 | |||
5269 | subik | 32 | /*! \brief It create a error/warning list for CheckDocument GUI class. |
33 | All errors and/or warnings are stored in errorCodes (inheritted QMap |
||
34 | see scribusstructs.h) and parsed into tree view in CheckDocument widgets. |
||
35 | */ |
||
2969 | craig | 36 | class SCRIBUS_API DocumentChecker |
2111 | cbradney | 37 | { |
38 | public: |
||
16329 | petr | 39 | |
6715 | cbradney | 40 | //! Check the passed document for errors, return true on error found |
41 | static bool checkDocument(ScribusDoc *currDoc); |
||
2111 | cbradney | 42 | }; |
43 | |||
44 | #endif |