LibreOffice Module shell (master) 1
|
Go to the source code of this file.
Classes | |
struct | FileExtensionEntry |
A FileExtensionEntry consists of the extension as ansi and as unicode string and of the currently used registry forward key for this extension. More... | |
Enumerations | |
enum | File_Type_t { UNKNOWN , WRITER , CALC , DRAW , IMPRESS , MATH , WEB , DATABASE } |
Return the type of a file. More... | |
Functions | |
Filepath_t | get_file_name_extension (const Filepath_t &file_name) |
Return the extension of a file name without the '. More... | |
File_Type_t | get_file_type (const Filepath_t &file_name) |
Return the type of a file. More... | |
Variables | |
const FileExtensionEntry | OOFileExtensionTable [] |
const size_t | OOFileExtensionTableSize |
enum File_Type_t |
Return the type of a file.
Enumerator | |
---|---|
UNKNOWN | |
WRITER | |
CALC | |
DRAW | |
IMPRESS | |
MATH | |
WEB | |
DATABASE |
Definition at line 56 of file fileextensions.hxx.
Filepath_t get_file_name_extension | ( | const Filepath_t & | file_name | ) |
Return the extension of a file name without the '.
'
Definition at line 66 of file fileextensions.cxx.
References idx.
Referenced by get_file_type(), and CInfoTip::GetInfoTip().
File_Type_t get_file_type | ( | const Filepath_t & | file_name | ) |
Return the type of a file.
Definition at line 80 of file fileextensions.cxx.
References CALC, CALC_FILE_EXTENSIONS, DATABASE, DATABASE_FILE_EXTENSIONS, DRAW, DRAW_FILE_EXTENSIONS, get_file_name_extension(), IMPRESS, IMPRESS_FILE_EXTENSIONS, MATH, MATH_FILE_EXTENSIONS, UNKNOWN, WEB, WEB_FILE_EXTENSIONS, WRITER, and WRITER_FILE_EXTENSIONS.
|
extern |
Definition at line 34 of file fileextensions.cxx.
|
extern |
Definition at line 60 of file fileextensions.cxx.