#include <docbookgenerator.h>
class DocbookGenerator is a documentation generator for UML documents. It uses libxslt to convert the XMI generated by UMLDoc::saveToXMI1 through the XSLT file stored in resources.
- Todo:
Add configure checks for libxml2 and libxslt and use conditional compilation of this library and its callers
allow to specify the destination and ensure that it works with distant ones
DocbookGenerator::DocbookGenerator |
( |
| ) |
|
DocbookGenerator::~DocbookGenerator |
( |
| ) |
|
|
virtual |
QString DocbookGenerator::customXslFile |
( |
| ) |
|
|
static |
return custom xsl file for generating docbook
- Returns
- filename with path
void DocbookGenerator::finished |
( |
bool |
status | ) |
|
|
signal |
bool DocbookGenerator::generateDocbookForProject |
( |
| ) |
|
Exports the current model to docbook in a directory named as the model with the .xmi suffix removed. The docbook file will have the same name with the .docbook suffix. Figures will be named as the corresponding diagrams in the GUI
- Todo:
change file naming to avoid paths with spaces or non-ASCII chars
better handling of error conditions
- Returns
- true if saving is successful and false otherwise.
void DocbookGenerator::generateDocbookForProjectInto |
( |
const KUrl & |
destDir | ) |
|
Exports the current model to docbook in the given directory
- Parameters
-
destDir | the directory where the docbook file and the figures will be written |
- Todo:
- better handling of error conditions
- Returns
- true if saving is successful and false otherwise.
void DocbookGenerator::slotDocbookGenerationFinished |
( |
const QString & |
tmpFileName | ) |
|
|
privateslot |
void DocbookGenerator::threadFinished |
( |
| ) |
|
|
privateslot |
KUrl DocbookGenerator::m_destDir |
|
private |
bool DocbookGenerator::m_pStatus |
|
private |
bool DocbookGenerator::m_pThreadFinished |
|
private |
UMLDoc* DocbookGenerator::umlDoc |
|
private |
The documentation for this class was generated from the following files: