MiKTeX 23.10-next
A scalable TeX distribution
|
The MiKTeX session interface. More...
#include <miktex/Core/Session.h>
Classes | |
class | InitInfo |
Extended initialization options. More... | |
struct | OpenFileInfo |
Information about an open file. More... | |
Public Types | |
enum class | FindFileOption { Create , Renew , All , SearchFileSystem } |
Find file options. More... | |
enum class | InitOption { SettingUp , NoFixPath , AdminMode } |
Initialization options. More... | |
enum class | ExamineCommandLineResult { ProbablySafe , MaybeSafe , NotSafe , SyntaxError } |
Result of a command-line examination. More... | |
typedef MiKTeX::Util::OptionSet< FindFileOption > | FindFileOptionSet |
typedef MiKTeX::Util::OptionSet< InitOption > | InitOptionSet |
Init flags enum. More... | |
Public Member Functions | |
virtual void | Close ()=0 |
Closes this session object. More... | |
virtual void | Reset ()=0 |
Resets this session object. More... | |
virtual void | PushAppName (const std::string &name)=0 |
virtual void | PushBackAppName (const std::string &name)=0 |
virtual void | AddInputDirectory (const MiKTeX::Util::PathName &path, bool atEnd)=0 |
virtual std::vector< RootDirectoryInfo > | GetRootDirectories ()=0 |
virtual unsigned | GetNumberOfTEXMFRoots ()=0 |
virtual MiKTeX::Util::PathName | GetRootDirectoryPath (unsigned r)=0 |
virtual bool | IsCommonRootDirectory (unsigned r)=0 |
virtual bool | IsOtherRootDirectory (unsigned r)=0 |
virtual MiKTeX::Util::PathName | GetMpmRootPath ()=0 |
virtual MiKTeX::Util::PathName | GetMpmDatabasePathName ()=0 |
virtual unsigned | TryDeriveTEXMFRoot (const MiKTeX::Util::PathName &path)=0 |
virtual unsigned | DeriveTEXMFRoot (const MiKTeX::Util::PathName &path)=0 |
virtual bool | FindFilenameDatabase (unsigned r, MiKTeX::Util::PathName &path)=0 |
virtual MiKTeX::Util::PathName | GetFilenameDatabasePathName (unsigned r)=0 |
virtual bool | UnloadFilenameDatabase ()=0 |
virtual bool | UnloadFilenameDatabase (std::chrono::duration< double > minIdleTime)=0 |
virtual unsigned | SplitTEXMFPath (const MiKTeX::Util::PathName &path, MiKTeX::Util::PathName &root, MiKTeX::Util::PathName &relative)=0 |
virtual void | RegisterRootDirectories (const StartupConfig &startupConfig, RegisterRootDirectoriesOptionSet options)=0 |
virtual void | RegisterRootDirectory (const MiKTeX::Util::PathName &path, bool other)=0 |
virtual void | UnregisterRootDirectory (const MiKTeX::Util::PathName &path, bool other)=0 |
virtual void | MoveRootDirectoryUp (unsigned r)=0 |
virtual void | MoveRootDirectoryDown (unsigned r)=0 |
virtual bool | IsMiKTeXDirect ()=0 |
virtual bool | IsMiKTeXPortable ()=0 |
virtual bool | GetMETAFONTMode (unsigned idx, MIKTEXMFMODE &mode)=0 |
virtual bool | DetermineMETAFONTMode (unsigned dpi, MIKTEXMFMODE &Mode)=0 |
virtual std::string | GetEngineName ()=0 |
virtual FILE * | OpenFile (const MiKTeX::Util::PathName &path, FileMode mode, FileAccess access, bool isTextFile)=0 |
virtual FILE * | TryOpenFile (const MiKTeX::Util::PathName &path, FileMode mode, FileAccess access, bool isTextFile)=0 |
virtual std::pair< bool, OpenFileInfo > | TryGetOpenFileInfo (FILE *file)=0 |
virtual void | CloseFile (FILE *file, int &exitCode)=0 |
virtual void | CloseFile (FILE *file)=0 |
virtual bool | IsOutputFile (const FILE *file)=0 |
virtual bool | IsFileAlreadyOpen (const MiKTeX::Util::PathName &fileName)=0 |
virtual void | ScheduleSystemCommand (const std::string &commandLine)=0 |
virtual void | ScheduleFileRemoval (const MiKTeX::Util::PathName &path)=0 |
virtual bool | StartFileInfoRecorder ()=0 |
virtual bool | StartFileInfoRecorder (bool recordPackageNames)=0 |
virtual void | SetRecorderPath (const MiKTeX::Util::PathName &path)=0 |
virtual void | RecordFileInfo (const MiKTeX::Util::PathName &path, FileAccess access)=0 |
virtual std::vector< FileInfoRecord > | GetFileInfoRecords ()=0 |
virtual FileType | DeriveFileType (const MiKTeX::Util::PathName &fileName)=0 |
virtual LocateResult | Locate (const std::string &fileName, const LocateOptions &options)=0 |
virtual bool | FindFile (const std::string &fileName, const std::string &searchPath, FindFileOptionSet options, std::vector< MiKTeX::Util::PathName > &result)=0 |
virtual bool | FindFile (const std::string &fileName, const std::string &searchPath, std::vector< MiKTeX::Util::PathName > &result)=0 |
virtual bool | FindFile (const std::string &fileName, const std::string &searchPath, FindFileOptionSet options, MiKTeX::Util::PathName &result)=0 |
virtual bool | FindFile (const std::string &fileName, const std::string &searchPath, MiKTeX::Util::PathName &result)=0 |
virtual bool | FindFile (const std::string &fileName, FileType fileType, FindFileOptionSet options, std::vector< MiKTeX::Util::PathName > &result)=0 |
virtual bool | FindFile (const std::string &fileName, FileType fileType, std::vector< MiKTeX::Util::PathName > &result)=0 |
virtual bool | FindFile (const std::string &fileName, FileType fileType, FindFileOptionSet options, MiKTeX::Util::PathName &result)=0 |
virtual bool | FindFile (const std::string &fileName, FileType fileType, MiKTeX::Util::PathName &result)=0 |
virtual bool | FindPkFile (const std::string &fontName, const std::string &mfMode, int dpi, MiKTeX::Util::PathName &result)=0 |
virtual bool | FindTfmFile (const std::string &fontName, MiKTeX::Util::PathName &result, bool create)=0 |
virtual void | SetFindFileCallback (IFindFileCallback *callback)=0 |
virtual void | SplitFontPath (const MiKTeX::Util::PathName &fontPath, std::string *fontType, std::string *supplier, std::string *typeface, std::string *fontName, std::string *pointSize)=0 |
virtual bool | GetFontInfo (const std::string &fontName, std::string &supplier, std::string &typeface, double *genSize)=0 |
virtual MiKTeX::Util::PathName | GetGhostscript (unsigned long *versionNumber)=0 |
virtual std::string | GetExpandedSearchPath (FileType fileType)=0 |
virtual bool | ConvertToBitmapFile (const MiKTeX::Util::PathName &sourceFileName, MiKTeX::Util::PathName &destFileName, IRunProcessCallback *callback)=0 |
virtual bool | EnableFontMaker (bool enable)=0 |
virtual bool | GetMakeFontsFlag ()=0 |
virtual std::vector< std::string > | MakeMakePkCommandLine (const std::string &fontName, int dpi, int baseDpi, const std::string &mfMode, MiKTeX::Util::PathName &fileName, MiKTeX::Configuration::TriState enableInstaller)=0 |
virtual int | RunBatch (int argc, const char **argv)=0 |
virtual int | RunExe (int argc, const char **argv)=0 |
virtual int | RunGhostscript (int argc, const char **argv)=0 |
virtual int | RunPerl (int argc, const char **argv)=0 |
virtual int | RunPython (int argc, const char **argv)=0 |
virtual int | RunJava (int argc, const char **argv)=0 |
virtual bool | ShowManualPageAndWait (HWND hWnd, unsigned long topic)=0 |
virtual std::vector< FileTypeInfo > | GetFileTypes ()=0 |
virtual std::vector< FormatInfo > | GetFormats ()=0 |
virtual FormatInfo | GetFormatInfo (const std::string &key)=0 |
virtual bool | TryGetFormatInfo (const std::string &key, FormatInfo &formatInfo)=0 |
virtual void | DeleteFormatInfo (const std::string &key)=0 |
virtual void | SetFormatInfo (const FormatInfo &formatInfo)=0 |
virtual std::vector< LanguageInfo > | GetLanguages ()=0 |
virtual MiKTeX::Util::PathName | GetMyProgramFile (bool canonicalized)=0 |
virtual MiKTeX::Util::PathName | GetMyLocation (bool canonicalized)=0 |
virtual MiKTeX::Util::PathName | GetMyPrefix (bool canonicalized)=0 |
virtual bool | RunningAsAdministrator ()=0 |
virtual void | SetAdminMode (bool adminMode, bool force=false)=0 |
virtual bool | IsAdminMode ()=0 |
virtual bool | IsSharedSetup ()=0 |
virtual SetupConfig | GetSetupConfig ()=0 |
virtual bool | GetPaperSizeInfo (int idx, PaperSizeInfo &paperSize)=0 |
virtual PaperSizeInfo | GetPaperSizeInfo (const std::string &dvipsName)=0 |
virtual void | SetDefaultPaperSize (const std::string &dvipsName)=0 |
virtual bool | TryCreateFromTemplate (const MiKTeX::Util::PathName &path)=0 |
virtual bool | IsUserAnAdministrator ()=0 |
virtual void | ConfigureFile (const MiKTeX::Util::PathName &pathIn, const MiKTeX::Util::PathName &pathOut, MiKTeX::Configuration::HasNamedValues *callback=nullptr)=0 |
virtual void | ConfigureFile (const MiKTeX::Util::PathName &pathRel, MiKTeX::Configuration::HasNamedValues *callback=nullptr)=0 |
virtual void | SetTheNameOfTheGame (const std::string &name)=0 |
virtual std::vector< std::string > | GetFontDirectories ()=0 |
virtual FileTypeInfo | GetFileTypeInfo (FileType fileType)=0 |
virtual std::string | Expand (const std::string &toBeExpanded)=0 |
virtual std::string | Expand (const std::string &toBeExpanded, MiKTeX::Configuration::HasNamedValues *callback)=0 |
virtual std::string | Expand (const std::string &toBeExpanded, ExpandOptionSet options, MiKTeX::Configuration::HasNamedValues *callback)=0 |
virtual void | SetLanguageInfo (const LanguageInfo &languageInfo)=0 |
virtual ShellCommandMode | GetShellCommandMode ()=0 |
virtual std::vector< std::string > | GetAllowedShellCommands ()=0 |
virtual std::tuple< ExamineCommandLineResult, std::string, std::string > | ExamineCommandLine (const std::string &commandLine)=0 |
Public Member Functions inherited from MiKTeX::Configuration::ConfigurationProvider | |
virtual bool | TryGetConfigValue (const std::string §ionName, const std::string &valueName, HasNamedValues *callback, std::string &value)=0 |
virtual bool | TryGetConfigValue (const std::string §ionName, const std::string &valueName, std::string &value)=0 |
virtual ConfigValue | GetConfigValue (const std::string §ionName, const std::string &valueName, const ConfigValue &defaultValue, HasNamedValues *callback)=0 |
virtual ConfigValue | GetConfigValue (const std::string §ionName, const std::string &valueName, const ConfigValue &defaultValue)=0 |
virtual ConfigValue | GetConfigValue (const std::string §ionName, const std::string &valueName, HasNamedValues *callback)=0 |
virtual ConfigValue | GetConfigValue (const std::string §ionName, const std::string &valueName)=0 |
virtual void | SetConfigValue (const std::string §ionName, const std::string &valueName, const ConfigValue &value)=0 |
virtual MiKTeX::Util::PathName | GetSpecialPath (SpecialPath specialPath)=0 |
Static Public Member Functions | |
static std::shared_ptr< Session > | TryGet () |
static std::shared_ptr< Session > | Create (const InitInfo &initInfo) |
static void | FatalCrtError (const std::string &functionName, int errorCode, const MiKTeXException::KVMAP &info, const SourceLocation &sourceLocation) |
static void | FatalMiKTeXError (const std::string &message, const std::string &description, const std::string &remedy, const std::string &tag, const MiKTeXException::KVMAP &info, const SourceLocation &sourceLocation) |
static void | FatalWindowsError (const std::string &functionName, unsigned long errorCode, const std::string &description, const std::string &remedy, const std::string &tag, const MiKTeXException::KVMAP &info, const SourceLocation &sourceLocation) |
The MiKTeX session interface.
Init flags enum.
|
strong |
|
strong |
|
strong |
|
pure virtual |
Adds an inpit directory.
path | The file system path to the directory. |
atEnd | Indicates wheter the directory shall be added at the end of the list. |
|
pure virtual |
Closes this session object.
|
pure virtual |
Closes a file.
file | The pointer to the FILE object. |
|
pure virtual |
Closes a file.
file | The pointer to the FILE object. |
|
pure virtual |
Configures a file.
pathIn | The file system path to the source file. |
pathOut | The file system path to the destination file. |
callback | The pointer to an object which implements the HasNamedValue interface. |
|
pure virtual |
Configures a file.
pathRel | The relative file system path to the destination file. |
callback | The pointer to an object which implements the HasNamedValue interface. |
|
pure virtual |
Converts a graphics file into a Bitmap file.
sourceFileName | The file system path to the source file. | |
[out] | destFileName | The file system path to the destination file. |
callback | The pointer to an object implementing the IRunProcessCallback callback. |
true
, if the conversion was successful. Creates a new session object.
initInfo | Initializtion options. |
|
pure virtual |
Removes a format.
key | Identifies the format. |
|
pure virtual |
Gets the file type from a given file name.
fileName | The file name. |
|
pure virtual |
Get a root directory index from a file system path.
path | The file system path. |
|
pure virtual |
Gets the METAFONT mode matching a given resolution.
dpi | The resolution (in dots per inch). | |
[out] | mode | The METAFONT mode. |
true
, if the METAFONT mode could be retrieved.
|
pure virtual |
Enables or disables automatic font file creation.
enable | Indicates whether automatic font file creation is enabled. |
true
, if automatic font creation file was enabled.
|
pure virtual |
Examines a command-line.
commandLine | The command-line to examine. |
argv[0]
) to be executed.
|
pure virtual |
Expands values references in a string.
toBeExpanded | The string to expand. |
|
pure virtual |
Expands a string.
toBeExpanded | The string to expand. |
options | What to expand. |
callback | The pointer to an object which implements the HasNamedValues interface. |
|
pure virtual |
Expands value references in a string.
toBeExpanded | The string to expand. |
callback | The pointer to an object which implements the HasNamedValues interface. |
|
static |
Throws a C/C++-runtime exception.
functionName | The name of the C/C++-runtime function. |
errorCode | The errno value. |
info | Additional information. |
sourceLocation | The source code location. |
|
static |
Throws a MiKTeX exception.
message | The short error message. |
description | A more detailed description of the error. |
remedy | A user friendly recipe to remedy the error. |
tag | An error tag. |
info | Additional information. |
sourceLocation | The source code location. |
|
static |
Throws a Windows exception.
functionName | The name of the Windows function. |
errorCode | The last Windows error value. |
description | A more detailed description of the error. |
remedy | A user friendly recipe to remedy the error. |
tag | An error tag. |
info | Additional information. |
sourceLocation | The source code location. |
|
pure virtual |
Searches a file.
fileName | The name of the file to search. | |
searchPath | The search path. | |
options | Search options. | |
[out] | result | The result of the search. |
true
, if the file was found.
|
pure virtual |
Searches a file.
fileName | The name of the file to search. | |
searchPath | The search path. | |
options | Search options. | |
[out] | result | The result of the search. |
true
, if the file was found.
|
pure virtual |
Searches a file.
fileName | The name of the file to search. | |
searchPath | The search path. | |
[out] | result | The result of the search. |
true
, if the file was found.
|
pure virtual |
Searches a file.
fileName | The name of the file to search. | |
searchPath | The search path. | |
[out] | result | The result of the search. |
true
, if the file was found.
|
pure virtual |
Searches a file.
fileName | The name of the file to search. | |
fileType | The file type to search for. | |
options | Search options. | |
[out] | result | The result of the search. |
true
, if the file was found.
|
pure virtual |
Searches a file.
fileName | The name of the file to search. | |
fileType | The file type to search for. | |
options | Search options. | |
[out] | result | The result of the search. |
true
, if the file was found.
|
pure virtual |
Searches a file.
fileName | The name of the file to search. | |
fileType | The file type to search for. | |
[out] | result | The result of the search. |
true
, if the file was found.
|
pure virtual |
Searches a file.
fileName | The name of the file to search. | |
fileType | The file type to search for. | |
[out] | result | The result of the search. |
true
, if the file was found.
|
pure virtual |
Finds a file name database.
r | Identifies the root directory. | |
[out] | path | The file system path to the databsae. |
true
, if the database was found.
|
pure virtual |
Searches a PK font file.
fontName | The name of the font to search. | |
mfMode | The METAFONT mode. | |
dpi | The resolution (in dots per inch) of the requested PK font. | |
[out] | result | The result of the search. |
true
, if the file was found.
|
pure virtual |
Searches a TFM file.
fontName | The name of the font to search. | |
[out] | result | The result of the search. |
create | Indicates, if the TFM file should be created if it was not found. |
true
, if the file was found.
|
pure virtual |
Gets allowed shell commands.
|
pure virtual |
Gets the name of the running engine (e.g., pdftex
).
|
pure virtual |
Gets the seach path for a file type.
fileType | The file type. |
|
pure virtual |
Gets the recorded file names.
|
pure virtual |
Gets the file system path to a file name database file.
r | Identifies the root directory. |
|
pure virtual |
Gets file type data.
filetype | Identifies the file type. |
|
pure virtual |
Gets all file types.
|
pure virtual |
Get the system font directories.
|
pure virtual |
Searches a font file.
fontName | The name of the font to search. | |
[out] | The | supplier of the font. |
[out] | The | typeface. |
[out] | genSize | The size of the font. |
true
, if the font was found.
|
pure virtual |
Gets a format.
key | Identifies the format. |
|
pure virtual |
Gets all formats.
|
pure virtual |
Searches the Ghostscript program.
[out] | versionNumber | The Ghostscript version number |
|
pure virtual |
Gets all languages.
|
pure virtual |
Tests whether automatic font file creation is enabled.
true
, if automatic font creation file is enabled.
|
pure virtual |
Gets the next METAFONT mode.
The | index of the next METAFONT mode. | |
[out] | mode | The METAFONT mode. |
true
, if the METAFONT mode could be retrieved.
|
pure virtual |
Gets a path to the MPM file name database.
|
pure virtual |
Gets the virtual path to the MPM root directory.
|
pure virtual |
Gets the file system path to the directory of the running program file.
canonicalized | Indicates wheter symbolic links should be followed. |
|
pure virtual |
Gets the file system path to the prefix directory of the running program file.
canonicalized | Indicates wheter symbolic links should be followed. |
|
pure virtual |
Gets the file system path to the running program file.
canonicalized | Indicates wheter symbolic links should be followed. |
|
pure virtual |
Gets the number of root directories.
|
pure virtual |
Gets a paper size.
dvipsName | Identifies the paper size. |
|
pure virtual |
Gets the next paper size.
idx | Index of the next entry in the paper size table. | |
[out] | The | paper size. |
true
, if the next paper size entry could be retrieved.
|
pure virtual |
Gets registered root directories.
|
pure virtual |
Gets the path to a root directory.
r | Identifies the root directory. |
|
pure virtual |
Get the setup configuration.
|
pure virtual |
Gets the configured shell command mode.
|
pure virtual |
Tests whether the program is running in admin mode.
true
, if the program is running in admin mode.
|
pure virtual |
Tests whether a root directory is registered system-wide.
r | Identifies the root directory. |
true
, if this is a system-wide root directory.
|
pure virtual |
Tests if a file as been opened.
fileName | Name of the file to be checked. |
|
pure virtual |
Tests if this is MiKTeXDirect.
true
, if this is a MiKTeXDirect configuration
|
pure virtual |
Tests if this is MiKTeX Portable.
true
, if this is a MiKTeX Portable configuration
|
pure virtual |
Tests whether a root directory is from another TeX system.
r | Identifies the root directory. |
true
, if this root directory is from another TeX system.
|
pure virtual |
Tests whether a file has been opened for output.
file | The pointer to the FILE object. |
true
, if it is an output file.
|
pure virtual |
Tests whether this is a system-wide installation.
true
, if this is a system-wide installation.
|
pure virtual |
Tests whether the current user is an administrator.
true
, if the current user is an administrator.
|
pure virtual |
Searches a file.
fileName | The name of the file to search. |
options | Search options. |
|
pure virtual |
Build a command-line for makepk
.
fontName | The Name of the font. | |
dpi | The requested resolution (in dots per inch). | |
bdpi | The base resolution (in dots per inch). | |
mfMode | The METAFONT mode. | |
[out] | fileName | The name of the PK font file. |
enableInstaller | Indicates whether automatic package installation is allowed. |
makepk
command-line arguments.
|
pure virtual |
Moves a root directory down in the list.
r | Identifies the root directory. |
|
pure virtual |
Moves a root directory up in the list.
r | Identifies the root directory. |
|
pure virtual |
Opens a file.
path | The file system path to the file. |
mode | Specifies how the file is to open. |
access | Specifies how the file will be accessed. |
isTextFile | Specifies if the file should be opened in text mode. |
FILE
object.
|
pure virtual |
Adds an application name.
name | The name to add. |
|
pure virtual |
Adds an application name with a lower priority.
name | The name to add. |
|
pure virtual |
Adds a file name record to the log file.
The | file system file to the file. |
How | the file is accessed. |
|
pure virtual |
Registers TEXMF root directories.
startupConfig | Specifies the root directories to register. |
options | Registration options. |
|
pure virtual |
Registers an additional root directory.
path | The file system path to the root directory. |
other | Indicates wheter the root directory is from another TeX system. |
|
pure virtual |
Resets this session object.
|
pure virtual |
Executes a Windows batch script.
argc | Number of command-line arguments. |
argv | Pointers to command-line arguments. Must be terminated with nullptr . |
|
pure virtual |
Runs an executable.
argc | Number of command-line arguments. |
argv | Pointers to command-line arguments. Must be terminated with nullptr . |
|
pure virtual |
Runs Ghostscript.
argc | Number of command-line arguments. |
argv | Pointers to command-line arguments. Must be terminated with nullptr . |
|
pure virtual |
Executes a Java program.
argc | Number of command-line arguments. |
argv | Pointers to command-line arguments. Must be terminated with nullptr . |
|
pure virtual |
Tests whether the program runs with elevated privileges.
true
, if the program is running with elevated privileges.
|
pure virtual |
Executes a Perl script.
argc | Number of command-line arguments. |
argv | Pointers to command-line arguments. Must be terminated with nullptr . |
|
pure virtual |
Executes a Python script.
argc | Number of command-line arguments. |
argv | Pointers to command-line arguments. Must be terminated with nullptr . |
|
pure virtual |
Schedules the removal of a file when the application terminates.
path | The file system path to the file. |
|
pure virtual |
Schedules the execution of a shell command when the application terminates.
commandLine | The shell command to execute. |
|
pure virtual |
Turns admin mode on or off.
adminMode | Indicates whether admin mode shall be turned on. |
force | Enforces admin mode even for a private installation. |
|
pure virtual |
Sets the default paper size.
dvipsName | Identifies the paper size. |
|
pure virtual |
Sets the callback interface for file search.
callback | The pointer to an object which implements the interface. |
|
pure virtual |
Updates a format.
formatInfo | The format. |
|
pure virtual |
Updates language data.
languageInfo | The language data. |
|
pure virtual |
Sets the file name recorder log file.
path | The file system path to the log file. |
|
pure virtual |
Sets the descriptive name of the running program.
name | The descriptive name. |
|
pure virtual |
Shows a help topic.
hWnd | The handle of a parent window. |
topic | Identifies the topic. |
true
, if the topic was shown.
|
pure virtual |
Splits the file system path of a font file.
fontPath | The file system path to the font file. | |
[out] | fontType | The font type. |
[out] | supplier | The font supplier. |
[out] | typeface | The typeface. |
[out] | fontName | The font name. |
[oit] | pointSize The size of the font. |
|
pure virtual |
Splits a TEXMF file system path.
path | The path to split. | |
[out] | root | The path to the root directory. |
[out] | relative | The relative path from the root directory. |
|
pure virtual |
Starts recording file names.
true
.
|
pure virtual |
Starts recording file names.
recordPackageNames | Indicates whether to include package names. |
true
.
|
pure virtual |
Tries to create a file by its template.
The | file system path to the file. |
true
, if the file has been created.
|
pure virtual |
Tries to get a root directory index from a file system path.
path | The file system path. |
INVALID_ROOT_INDEX
).
|
static |
Tries to get the current session object.
nullptr
.
|
pure virtual |
Gets a format.
key | Identifies the format. | |
[out] | formatInfo | The format. |
true
, if the format was found.
|
pure virtual |
Tries to get information about an open file.
file | The pointer to the FILE object. @Returns The first return value indicates whether the second value contains the requested information. |
|
pure virtual |
Tries to open a file.
path | The file system path to the file. |
mode | Specifies how the file is to open. |
access | Specifies how the file will be accessed. |
isTextFile | Specifies if the file should be opened in text mode. |
FILE
object. Returns nullptr
, if the file could not be opened.
|
pure virtual |
Unloads the file name database.
true
, if the file name database could be unloaded. Returns false
, if the database is still in use.
|
pure virtual |
Unloads the file name database.
minIdleTime | The minimum time the database has not been used. |
true
, if the file name database could be unloaded. Returns false
, if the database is still in use.
|
pure virtual |
Unregisters an additional root directory.
path | The file system path to the root directory. |
other | Indicates wheter the root directory is from another TeX system. |