My Project
|
#include "plantuml.h"
#include "portable.h"
#include "config.h"
#include "message.h"
#include <qdir.h>
Go to the source code of this file.
Functions | |
QCString | writePlantUMLSource (const QCString &outDir, const QCString &fileName, const QCString &content) |
void | generatePlantUMLOutput (const char *baseName, const char *outDir, PlantUMLOutputFormat format) |
Variables | |
static const int | maxCmdLine = 40960 |
void generatePlantUMLOutput | ( | const char * | baseName, |
const char * | outDir, | ||
PlantUMLOutputFormat | format | ||
) |
Convert a PlantUML file to an image.
[in] | baseName | the name of the generated file (as returned by writePlantUMLSource()) |
[in] | outDir | the directory to write the resulting image into. |
[in] | format | the image format to generate. |
Definition at line 54 of file plantuml.cpp.
References Config_getBool, Config_getList, Config_getString, err(), maxCmdLine, msg(), portable_pathListSeparator(), portable_system(), portable_sysTimerStart(), portable_sysTimerStop(), PUML_BITMAP, PUML_EPS, and PUML_SVG.
Referenced by FlowChart::printUmlTree(), HtmlDocVisitor::writePlantUMLFile(), DocbookDocVisitor::writePlantUMLFile(), RTFDocVisitor::writePlantUMLFile(), and LatexDocVisitor::writePlantUMLFile().
QCString writePlantUMLSource | ( | const QCString & | outDir, |
const QCString & | fileName, | ||
const QCString & | content | ||
) |
Write a PlantUML compatible file.
[in] | outDir | the output directory to write the file to. |
[in] | fileName | the name of the file. If empty a name will be chosen automatically. |
[in] | content | the contents of the PlantUML file. |
Definition at line 25 of file plantuml.cpp.
References err().
Referenced by FlowChart::printUmlTree(), DocbookDocVisitor::visit(), RTFDocVisitor::visit(), LatexDocVisitor::visit(), and HtmlDocVisitor::visit().
|
static |
Definition at line 23 of file plantuml.cpp.
Referenced by generatePlantUMLOutput().