Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
adbd6d32
Kaydet (Commit)
adbd6d32
authored
Nis 27, 2011
tarafından
Tor Lillqvist
Kaydeden (comit)
Petr Mladek
Nis 27, 2011
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
win32-installer-register-moox-types.diff: associate OOXML filetypes with LO
üst
4f8ed0b4
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
98 additions
and
0 deletions
+98
-0
registrar.cxx
...native/source/win32/customactions/reg4msdoc/registrar.cxx
+48
-0
registrationcontextinformation.cxx
...ustomactions/reg4msdoc/registrationcontextinformation.cxx
+36
-0
registrationcontextinformation.hxx
...ustomactions/reg4msdoc/registrationcontextinformation.hxx
+14
-0
No files found.
setup_native/source/win32/customactions/reg4msdoc/registrar.cxx
Dosyayı görüntüle @
adbd6d32
...
...
@@ -80,6 +80,14 @@ void Registrar::RegisterForMsWord() const
m_ContextInformation
.
ShellNewCommandDisplayName
(),
RegistrationContextInformation
::
Writer
);
RegisterForMsOfficeApplication
(
m_ContextInformation
.
GetMOOXWordDocumentFileExtension
(),
m_ContextInformation
.
GetMOOXWordDocumentDisplayName
(),
m_ContextInformation
.
GetWordDocumentDefaultIconEntry
(),
m_ContextInformation
.
GetWordDocumentDefaultShellCommand
(),
m_ContextInformation
.
ShellNewCommandDisplayName
(),
RegistrationContextInformation
::
Writer
);
RegisterForMsOfficeApplication
(
m_ContextInformation
.
GetWordTemplateFileExtension
(),
m_ContextInformation
.
GetWordTemplateDisplayName
(),
...
...
@@ -111,6 +119,14 @@ void Registrar::UnregisterForMsWord() const
catch
(
RegistryKeyNotFoundException
&
)
{}
try
{
UnregisterForMsOfficeApplication
(
m_ContextInformation
.
GetMOOXWordDocumentFileExtension
());
}
catch
(
RegistryKeyNotFoundException
&
)
{}
try
{
UnregisterForMsOfficeApplication
(
...
...
@@ -191,6 +207,14 @@ void Registrar::RegisterForMsExcel() const
m_ContextInformation
.
ShellNewCommandDisplayName
(),
RegistrationContextInformation
::
Calc
);
RegisterForMsOfficeApplication
(
m_ContextInformation
.
GetMOOXExcelSheetFileExtension
(),
m_ContextInformation
.
GetMOOXExcelSheetDisplayName
(),
m_ContextInformation
.
GetExcelSheetDefaultIconEntry
(),
m_ContextInformation
.
GetExcelSheetDefaultShellCommand
(),
m_ContextInformation
.
ShellNewCommandDisplayName
(),
RegistrationContextInformation
::
Calc
);
RegisterForMsOfficeApplication
(
m_ContextInformation
.
GetExcelTemplateFileExtension
(),
m_ContextInformation
.
GetExcelTemplateDisplayName
(),
...
...
@@ -214,6 +238,22 @@ void Registrar::UnregisterForMsExcel() const
catch
(
RegistryKeyNotFoundException
&
)
{}
try
{
UnregisterForMsOfficeApplication
(
m_ContextInformation
.
GetMOOXExcelSheetFileExtension
());
}
catch
(
RegistryKeyNotFoundException
&
)
{}
try
{
UnregisterForMsOfficeApplication
(
m_ContextInformation
.
GetMOOXPowerPointDocumentFileExtension
());
}
catch
(
RegistryKeyNotFoundException
&
)
{}
try
{
UnregisterForMsOfficeApplication
(
...
...
@@ -243,6 +283,14 @@ void Registrar::RegisterForMsPowerPoint() const
m_ContextInformation
.
ShellNewCommandDisplayName
(),
RegistrationContextInformation
::
Impress
);
RegisterForMsOfficeApplication
(
m_ContextInformation
.
GetMOOXPowerPointDocumentFileExtension
(),
m_ContextInformation
.
GetMOOXPowerPointDocumentDisplayName
(),
m_ContextInformation
.
GetPowerPointDocumentDefaultIconEntry
(),
m_ContextInformation
.
GetPowerPointDocumentDefaultShellCommand
(),
m_ContextInformation
.
ShellNewCommandDisplayName
(),
RegistrationContextInformation
::
Impress
);
RegisterForMsOfficeApplication
(
m_ContextInformation
.
GetPowerPointShowFileExtension
(),
m_ContextInformation
.
GetPowerPointShowDisplayName
(),
...
...
setup_native/source/win32/customactions/reg4msdoc/registrationcontextinformation.cxx
Dosyayı görüntüle @
adbd6d32
...
...
@@ -53,6 +53,18 @@ std::wstring RegistrationContextInformation::GetWordDocumentDefaultShellCommand(
return
std
::
wstring
(
TEXT
(
"open"
));
}
std
::
wstring
RegistrationContextInformation
::
GetMOOXWordDocumentDisplayName
()
const
{
std
::
wstring
str
;
str
=
TEXT
(
"Microsoft Word 2007 Document"
);
return
str
;
}
std
::
wstring
RegistrationContextInformation
::
GetMOOXWordDocumentFileExtension
()
const
{
return
std
::
wstring
(
TEXT
(
".docx"
));
}
std
::
wstring
RegistrationContextInformation
::
GetWordTemplateDisplayName
()
const
{
std
::
wstring
str
;
...
...
@@ -125,6 +137,18 @@ std::wstring RegistrationContextInformation::GetExcelSheetDefaultShellCommand()
return
std
::
wstring
(
TEXT
(
"open"
));
}
std
::
wstring
RegistrationContextInformation
::
GetMOOXExcelSheetDisplayName
()
const
{
std
::
wstring
str
;
str
=
TEXT
(
"Microsoft Excel 2007 Spreadsheet"
);
return
str
;
}
std
::
wstring
RegistrationContextInformation
::
GetMOOXExcelSheetFileExtension
()
const
{
return
std
::
wstring
(
TEXT
(
".xlsx"
));
}
std
::
wstring
RegistrationContextInformation
::
GetExcelTemplateDisplayName
()
const
{
std
::
wstring
str
;
...
...
@@ -173,6 +197,18 @@ std::wstring RegistrationContextInformation::GetPowerPointDocumentDefaultShellCo
return
std
::
wstring
(
TEXT
(
"open"
));
}
std
::
wstring
RegistrationContextInformation
::
GetMOOXPowerPointDocumentDisplayName
()
const
{
std
::
wstring
str
;
str
=
TEXT
(
"Microsoft PowerPoint 2007 Presentation"
);
return
str
;
}
std
::
wstring
RegistrationContextInformation
::
GetMOOXPowerPointDocumentFileExtension
()
const
{
return
std
::
wstring
(
TEXT
(
".pptx"
));
}
std
::
wstring
RegistrationContextInformation
::
GetPowerPointTemplateDisplayName
()
const
{
std
::
wstring
str
;
...
...
setup_native/source/win32/customactions/reg4msdoc/registrationcontextinformation.hxx
Dosyayı görüntüle @
adbd6d32
...
...
@@ -47,6 +47,14 @@ public:
std
::
wstring
GetWordDocumentDefaultIconEntry
()
const
;
std
::
wstring
GetWordDocumentDefaultShellCommand
()
const
;
/** MOOX Word document information
The icon index is the index of the icon
in soffice.exe to be associated with
word document files
*/
std
::
wstring
GetMOOXWordDocumentDisplayName
()
const
;
std
::
wstring
GetMOOXWordDocumentFileExtension
()
const
;
/** Word template information
The icon index is the index of the icon
in soffice.exe to be associated with
...
...
@@ -77,6 +85,9 @@ public:
std
::
wstring
GetExcelSheetDefaultIconEntry
()
const
;
std
::
wstring
GetExcelSheetDefaultShellCommand
()
const
;
std
::
wstring
GetMOOXExcelSheetDisplayName
()
const
;
std
::
wstring
GetMOOXExcelSheetFileExtension
()
const
;
/** Excel template information
The icon index is the index of the icon
in soffice.exe to be associated with
...
...
@@ -97,6 +108,9 @@ public:
std
::
wstring
GetPowerPointDocumentDefaultIconEntry
()
const
;
std
::
wstring
GetPowerPointDocumentDefaultShellCommand
()
const
;
std
::
wstring
GetMOOXPowerPointDocumentDisplayName
()
const
;
std
::
wstring
GetMOOXPowerPointDocumentFileExtension
()
const
;
/** PowerPoint template information
The icon index is the index of the icon
in soffice.exe to be associated with
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment