Doxygen
|
#include <map>
#include <vector>
#include <string>
#include <utility>
#include "formula.h"
#include "message.h"
#include "config.h"
#include "util.h"
#include "portable.h"
#include "image.h"
#include "fileinfo.h"
#include "dir.h"
#include "regex.h"
#include "linkedmap.h"
#include "threadpool.h"
#include "latexgen.h"
#include "debug.h"
#include "doxygen.h"
#include "indexlist.h"
Go to the source code of this file.
Classes | |
struct | FormulaManager::Private |
Functions | |
static int | determineInkscapeVersion (const Dir &thisDir) |
static bool | createDVIFile (const QCString &fileName) |
static bool | createPostscriptFile (const QCString &fileName, const QCString &formBase, int pageIndex) |
static bool | createEPSbboxFile (const QCString &formBase) |
static bool | extractBoundingBox (const QCString &formBase, int *x1, int *y1, int *x2, int *y2, double *x1hi, double *y1hi, double *x2hi, double *y2hi) |
static double | updateFormulaSize (Formula *formula, int x1, int y1, int x2, int y2) |
static bool | createCroppedPDF (const QCString &formBase, int x1, int y1, int x2, int y2) |
static bool | createCroppedEPS (const QCString &formBase) |
static bool | createSVGFromPDF (const QCString &formBase, const QCString &outFile) |
static bool | createSVGFromPDFviaInkscape (const Dir &thisDir, const QCString &formBase, const QCString &outFile) |
static bool | updateEPSBoundingBox (const QCString &formBase, int x1, int y1, int x2, int y2, double x1hi, double y1hi, double x2hi, double y2hi) |
static bool | createPNG (const QCString &formBase, const QCString &outFile, double scaleFactor) |
static StringVector | generateFormula (const Dir &thisDir, const QCString &formulaFileName, Formula *formula, int pageNum, int pageIndex, FormulaManager::Format format, FormulaManager::HighDPI hd, FormulaManager::Mode mode) |
Variables | |
static std::mutex | g_formulaUpdateMutex |
static std::mutex | g_inkscapeDetectionMutex |
|
static |
Definition at line 366 of file formula.cpp.
References err, Portable::ghostScriptCommand(), qPrint(), qsnprintf, and Portable::system().
Referenced by generateFormula().
|
static |
Definition at line 350 of file formula.cpp.
References err, Portable::ghostScriptCommand(), qPrint(), qsnprintf, and Portable::system().
Referenced by generateFormula().
|
static |
Definition at line 241 of file formula.cpp.
References Portable::devNull(), err, fileToString(), QCString::find(), QCString::isEmpty(), qPrint(), qsnprintf, and Portable::system().
Referenced by FormulaManager::createFormulasTexFile().
|
static |
Definition at line 284 of file formula.cpp.
References err, Portable::ghostScriptCommand(), qPrint(), qsnprintf, and Portable::system().
Referenced by generateFormula().
|
static |
Definition at line 459 of file formula.cpp.
References err, Portable::ghostScriptCommand(), qPrint(), qsnprintf, and Portable::system().
Referenced by generateFormula().
|
static |
Definition at line 269 of file formula.cpp.
References err, qPrint(), qsnprintf, and Portable::system().
Referenced by generateFormula().
Definition at line 381 of file formula.cpp.
References err, qPrint(), qsnprintf, and Portable::system().
Referenced by generateFormula().
|
static |
Definition at line 394 of file formula.cpp.
References determineInkscapeVersion(), Portable::devNull(), err, qPrint(), qsnprintf, and Portable::system().
Referenced by generateFormula().
|
static |
Definition at line 729 of file formula.cpp.
References Portable::devNull(), Debug::Formula, g_inkscapeDetectionMutex, Debug::isFlagSet(), Portable::openInputStream(), Dir::remove(), QCString::str(), and Portable::system().
Referenced by createSVGFromPDFviaInkscape().
|
static |
Definition at line 299 of file formula.cpp.
References QCString::data(), err, FileInfo::exists(), fileToString(), QCString::find(), and qPrint().
Referenced by generateFormula(), and DotRunner::readBoundingBox().
|
static |
Definition at line 473 of file formula.cpp.
References Portable::checkForExecutable(), createCroppedEPS(), createCroppedPDF(), createEPSbboxFile(), createPNG(), createPostscriptFile(), createSVGFromPDF(), createSVGFromPDFviaInkscape(), err, extractBoundingBox(), FormulaManager::Light, msg(), FormulaManager::On, qPrint(), QCString::sprintf(), QCString::str(), updateEPSBoundingBox(), updateFormulaSize(), and FormulaManager::Vector.
Referenced by FormulaManager::createFormulasTexFile().
|
static |
Definition at line 421 of file formula.cpp.
References err, Portable::openInputStream(), Portable::openOutputStream(), and qPrint().
Referenced by generateFormula().
|
static |
Definition at line 334 of file formula.cpp.
References Config_getInt, g_formulaUpdateMutex, Formula::setHeight(), and Formula::setWidth().
Referenced by generateFormula().
|
static |
Definition at line 332 of file formula.cpp.
Referenced by updateFormulaSize().
|
static |
Definition at line 725 of file formula.cpp.
Referenced by determineInkscapeVersion().