|
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 DString &fileName) |
| static bool | createPostscriptFile (const DString &fileName, const DString &formBase, int pageIndex) |
| static bool | createEPSbboxFile (const DString &formBase) |
| static bool | extractBoundingBox (const DString &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 DString &formBase, int x1, int y1, int x2, int y2) |
| static bool | createCroppedEPS (const DString &formBase) |
| static bool | createSVGFromPDF (const DString &formBase, const DString &outFile) |
| static bool | createSVGFromPDFviaInkscape (const Dir &thisDir, const DString &formBase, const DString &outFile) |
| static bool | updateEPSBoundingBox (const DString &formBase, int x1, int y1, int x2, int y2, double x1hi, double y1hi, double x2hi, double y2hi) |
| static bool | createPNG (const DString &formBase, const DString &outFile, double scaleFactor) |
| static StringVector | generateFormula (const Dir &thisDir, const DString &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 364 of file formula.cpp.
References err, Portable::ghostScriptCommand(), qPrint(), and Portable::system().
Referenced by generateFormula().
|
static |
Definition at line 348 of file formula.cpp.
References err, Portable::ghostScriptCommand(), qPrint(), and Portable::system().
Referenced by generateFormula().
|
static |
Definition at line 240 of file formula.cpp.
References Portable::devNull(), DString::empty(), err, fileToString(), DString::find(), DString::npos, qPrint(), and Portable::system().
Referenced by FormulaManager::createFormulasTexFile().
|
static |
Definition at line 284 of file formula.cpp.
References err, Portable::ghostScriptCommand(), qPrint(), and Portable::system().
Referenced by generateFormula().
Definition at line 457 of file formula.cpp.
References err, Portable::ghostScriptCommand(), qPrint(), and Portable::system().
Referenced by generateFormula().
|
static |
Definition at line 269 of file formula.cpp.
References err, qPrint(), and Portable::system().
Referenced by generateFormula().
Definition at line 379 of file formula.cpp.
References err, qPrint(), and Portable::system().
Referenced by generateFormula().
|
static |
Definition at line 392 of file formula.cpp.
References determineInkscapeVersion(), Portable::devNull(), err, qPrint(), and Portable::system().
Referenced by generateFormula().
|
static |
Definition at line 728 of file formula.cpp.
References Portable::devNull(), Debug::Formula, g_inkscapeDetectionMutex, Debug::isFlagSet(), Portable::openInputStream(), Dir::remove(), DString::str(), and Portable::system().
Referenced by createSVGFromPDFviaInkscape().
|
static |
Definition at line 299 of file formula.cpp.
References DString::data(), err, FileInfo::exists(), fileToString(), DString::find(), and DString::npos.
Referenced by generateFormula().
|
static |
Definition at line 471 of file formula.cpp.
References Portable::checkForExecutable(), createCroppedEPS(), createCroppedPDF(), createEPSbboxFile(), createPNG(), createPostscriptFile(), createSVGFromPDF(), createSVGFromPDFviaInkscape(), err, extractBoundingBox(), FormulaManager::Light, msg, FormulaManager::On, DString::sprintf(), DString::str(), updateEPSBoundingBox(), updateFormulaSize(), and FormulaManager::Vector.
Referenced by FormulaManager::createFormulasTexFile().
|
static |
Definition at line 419 of file formula.cpp.
References err, Portable::openInputStream(), and Portable::openOutputStream().
Referenced by generateFormula().
|
static |
Definition at line 332 of file formula.cpp.
References Config_getInt, g_formulaUpdateMutex, Formula::setHeight(), and Formula::setWidth().
Referenced by generateFormula().
|
static |
Definition at line 330 of file formula.cpp.
Referenced by updateFormulaSize().
|
static |
Definition at line 724 of file formula.cpp.
Referenced by determineInkscapeVersion().