diff options
author | Gerd Weiss <gm@openoffice.org> | 2007-05-10 10:04:21 +0000 |
---|---|---|
committer | Gerd Weiss <gm@openoffice.org> | 2007-05-10 10:04:21 +0000 |
commit | ea633c7b25b82aada56043b5f4c24def2e997a8c (patch) | |
tree | 8599aceddb54880041f5364751a4ee74049b4d5b /setup_native | |
parent | d6e0eca4b669ea6497ffb9ec75f044b542495974 (diff) |
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
Diffstat (limited to 'setup_native')
-rw-r--r-- | setup_native/source/win32/customactions/reg4msdoc/registrationcontextinformation.hxx | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/setup_native/source/win32/customactions/reg4msdoc/registrationcontextinformation.hxx b/setup_native/source/win32/customactions/reg4msdoc/registrationcontextinformation.hxx index 8d56c9e790ce..793824977b8c 100644 --- a/setup_native/source/win32/customactions/reg4msdoc/registrationcontextinformation.hxx +++ b/setup_native/source/win32/customactions/reg4msdoc/registrationcontextinformation.hxx @@ -1,4 +1,4 @@ -// MsOfficeDocumentInformation.h: Schnittstelle für die Klasse MsOfficeDocumentInformation. +// MsOfficeDocumentInformation.h: Schnittstelle f�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; |