INTEGRATION: CWS native82 (1.2.74); FILE MERGED
2007/04/26 06:29:41 dv 1.2.74.1: #i75659#i15220# Register for .rtf files, too, use soffice -<appl> for opening/printing/... documents
This commit is contained in:
parent
d6e0eca4b6
commit
ea633c7b25
1 changed files with 14 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
// MsOfficeDocumentInformation.h: Schnittstelle für die Klasse MsOfficeDocumentInformation.
|
||||
// MsOfficeDocumentInformation.h: Schnittstelle f<EFBFBD>r die Klasse MsOfficeDocumentInformation.
|
||||
//
|
||||
//////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
@ -28,6 +28,7 @@ class RegistrationContextInformation
|
|||
public:
|
||||
|
||||
enum SHELL_COMMAND {New, Open, Print, Printto};
|
||||
enum OFFICE_APPLICATION {Office, Writer, Calc, Impress};
|
||||
|
||||
RegistrationContextInformation(MSIHANDLE hMsi, const std::wstring& OpenOfficeExecutablePath);
|
||||
|
||||
|
@ -51,6 +52,16 @@ public:
|
|||
std::wstring GetWordTemplateDefaultIconEntry() const;
|
||||
std::wstring GetWordTemplateDefaultShellCommand() const;
|
||||
|
||||
/** Rtf document information
|
||||
The icon index is the index of the icon
|
||||
in soffice.exe to be associated with
|
||||
rtf document files
|
||||
*/
|
||||
std::wstring GetRtfDocumentDisplayName() const;
|
||||
std::wstring GetRtfDocumentFileExtension() const;
|
||||
std::wstring GetRtfDocumentDefaultIconEntry() const;
|
||||
std::wstring GetRtfDocumentDefaultShellCommand() const;
|
||||
|
||||
/** Excel sheet information
|
||||
The icon index is the index of the icon
|
||||
in soffice.exe to be associated with
|
||||
|
@ -125,7 +136,8 @@ public:
|
|||
|
||||
/** A command line for the specified shell command
|
||||
*/
|
||||
std::wstring GetOpenOfficeCommandline(SHELL_COMMAND ShellCommand) const;
|
||||
std::wstring GetOpenOfficeCommandline(SHELL_COMMAND ShellCommand,
|
||||
OFFICE_APPLICATION OfficeApp) const;
|
||||
|
||||
private:
|
||||
bool IsConvertableToAnsi(const std::wstring& String) const;
|
||||
|
|
Loading…
Reference in a new issue