summaryrefslogtreecommitdiff
path: root/scp2
diff options
context:
space:
mode:
authorSamuel Mehrbrodt <samuel.mehrbrodt@allotropia.de>2022-09-12 15:54:47 +0200
committerSamuel Mehrbrodt <samuel.mehrbrodt@allotropia.de>2022-09-15 07:29:42 +0200
commit35702fd6781542f5eefbd3710304ab9a25ac61fe (patch)
treefe0fc008ac3bcd574e16c5ab2f36b8267f2f31b8 /scp2
parenta7589f621fcbe6305335730d2dd86b9230a18594 (diff)
Add pdf file association to Windows installer
Draw can handle PDF files, so offer them in "Open with" menu Change-Id: I1c8f9af8e38ee15490371074d02a2ccf35933076 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/139802 Tested-by: Jenkins Reviewed-by: Samuel Mehrbrodt <samuel.mehrbrodt@allotropia.de>
Diffstat (limited to 'scp2')
-rw-r--r--scp2/source/draw/registryitem_draw.scp1
-rw-r--r--scp2/source/draw/registryitem_draw.ulf2
2 files changed, 3 insertions, 0 deletions
diff --git a/scp2/source/draw/registryitem_draw.scp b/scp2/source/draw/registryitem_draw.scp
index 79440c00653b..515b55fb58f7 100644
--- a/scp2/source/draw/registryitem_draw.scp
+++ b/scp2/source/draw/registryitem_draw.scp
@@ -1093,6 +1093,7 @@ CONDITIONAL_REGISTER_DOC_EXTENSION( Xbm, gid_Module_Prg_Draw_Other_Reg, xbm, X
CONDITIONAL_REGISTER_DOC_EXTENSION( Xpm, gid_Module_Prg_Draw_Other_Reg, xpm, XPM, X_PIXMAP, 5, sdraw.exe, open, Draw )
CONDITIONAL_REGISTER_DOC_EXTENSION( PCD, gid_Module_Prg_Draw_Other_Reg, pcd, PCD, KODAK_PHOTO_CD_IMAGE, 5, sdraw.exe, open, Draw )
CONDITIONAL_REGISTER_DOC_EXTENSION( Webp, gid_Module_Prg_Draw_Other_Reg, webp, WEBP, WEBP, 5, sdraw.exe, open, Draw )
+CONDITIONAL_REGISTER_DOC_EXTENSION( Pdf, gid_Module_Prg_Draw_Other_Reg, pdf, PDF, PDF, 5, sdraw.exe, open, Draw )
// registering ms-visio URI scheme handler
CONDITIONAL_REGISTER_URI_HANDLER( ms-visio, ms_visio, gid_Module_Prg_Draw_MSO_Reg, SELECT_VISIO )
diff --git a/scp2/source/draw/registryitem_draw.ulf b/scp2/source/draw/registryitem_draw.ulf
index f122dc7daf6d..5d1335bb8b25 100644
--- a/scp2/source/draw/registryitem_draw.ulf
+++ b/scp2/source/draw/registryitem_draw.ulf
@@ -115,3 +115,5 @@ en-US = "X Pixmap File"
[STR_REG_VAL_KODAK_PHOTO_CD_IMAGE]
en-US = "Kodak Photo CD Image File"
+[STR_REG_VAL_PDF]
+en-US = "PDF (Portable Document Format)"