umbrello
2.39.2
Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology
|
#include <docbookgenerator.h>
Signals | |
void | finished (bool status) |
Public Member Functions | |
DocbookGenerator () | |
virtual | ~DocbookGenerator () |
bool | generateDocbookForProject () |
void | generateDocbookForProjectInto (const QUrl &destDir) |
Static Public Member Functions | |
static QString | customXslFile () |
Private Slots | |
void | slotDocbookGenerationFinished (const QString &) |
void | threadFinished () |
Private Attributes | |
DocbookGeneratorJob * | docbookGeneratorJob |
bool | m_pStatus |
bool | m_pThreadFinished |
QUrl | m_destDir |
UMLDoc * | umlDoc |
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.
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 | ( | ) |
Constructor.
|
virtual |
Destructor.
|
static |
return custom xsl file for generating docbook
|
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
change file naming to avoid paths with spaces or non-ASCII chars
better handling of error conditions
void DocbookGenerator::generateDocbookForProjectInto | ( | const QUrl & | destDir | ) |
Exports the current model to docbook in the given directory
destDir | the directory where the docbook file and the figures will be written |
|
privateslot |
|
privateslot |
|
private |
|
private |
|
private |
|
private |
|
private |