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
780bd23b
Kaydet (Commit)
780bd23b
authored
Eyl 20, 2002
tarafından
Carsten Driesner
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
#103504# No ellipses for 'Export PDF directly'
üst
714bc9a4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
6 deletions
+15
-6
objserv.cxx
sfx2/source/doc/objserv.cxx
+15
-6
No files found.
sfx2/source/doc/objserv.cxx
Dosyayı görüntüle @
780bd23b
...
...
@@ -2,9 +2,9 @@
*
* $RCSfile: objserv.cxx,v $
*
* $Revision: 1.4
4
$
* $Revision: 1.4
5
$
*
* last change: $Author:
mav $ $Date: 2002-09-19 10:46:05
$
* last change: $Author:
cd $ $Date: 2002-09-20 07:20:59
$
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
...
...
@@ -189,13 +189,15 @@ using namespace ::com::sun::star::task;
class
PDFExportFileDialog
:
public
sfx2
::
FileDialogHelper
{
public
:
PDFExportFileDialog
(
const
short
nDialogType
,
sal_uInt32
nFlags
)
:
sfx2
::
FileDialogHelper
(
nDialogType
,
nFlags
),
m_bInitialized
(
sal_False
)
{}
PDFExportFileDialog
(
const
short
nDialogType
,
sal_uInt32
nFlags
,
sal_Bool
bNoOptionsDlg
)
:
sfx2
::
FileDialogHelper
(
nDialogType
,
nFlags
),
m_bInitialized
(
sal_False
),
m_bNoOptionsDlg
(
bNoOptionsDlg
)
{}
virtual
void
SAL_CALL
DirectoryChanged
(
const
::
com
::
sun
::
star
::
ui
::
dialogs
::
FilePickerEvent
&
aEvent
);
private
:
sal_Bool
m_bInitialized
;
sal_Bool
m_bNoOptionsDlg
;
};
void
SAL_CALL
PDFExportFileDialog
::
DirectoryChanged
(
const
::
com
::
sun
::
star
::
ui
::
dialogs
::
FilePickerEvent
&
aEvent
)
...
...
@@ -209,9 +211,16 @@ void SAL_CALL PDFExportFileDialog::DirectoryChanged( const ::com::sun::star::ui:
Reference
<
::
com
::
sun
::
star
::
ui
::
dialogs
::
XFilePicker
>
xFilePicker
=
GetFilePicker
();
Reference
<
::
com
::
sun
::
star
::
ui
::
dialogs
::
XFilePickerControlAccess
>
xControlAccess
=
Reference
<
::
com
::
sun
::
star
::
ui
::
dialogs
::
XFilePickerControlAccess
>
(
xFilePicker
,
UNO_QUERY
);
if
(
xControlAccess
.
is
()
)
{
String
aExportButtonStr
=
String
(
SfxResId
(
STR_EXPORTWITHCFGBUTTON
));
String
aExportButtonStr
;
if
(
m_bNoOptionsDlg
)
aExportButtonStr
=
String
(
SfxResId
(
STR_EXPORTBUTTON
));
else
aExportButtonStr
=
String
(
SfxResId
(
STR_EXPORTWITHCFGBUTTON
));
::
rtl
::
OUString
aStrExport
=
aExportButtonStr
;
xControlAccess
->
setLabel
(
::
com
::
sun
::
star
::
ui
::
dialogs
::
CommonFilePickerElementIds
::
PUSHBUTTON_OK
,
aStrExport
);
}
...
...
@@ -496,7 +505,7 @@ sal_Bool SfxObjectShell::GUISaveAs_Impl(sal_Bool bUrl, SfxRequest *pRequest)
if
(
bIsPDFExport
)
{
// Create file dialog for PDF export
pFileDlg
=
new
PDFExportFileDialog
(
aDialogMode
,
aDialogFlags
);
pFileDlg
=
new
PDFExportFileDialog
(
aDialogMode
,
aDialogFlags
,
(
pRequest
->
GetSlot
()
==
SID_DIRECTEXPORTDOCASPDF
)
);
String
aFilterExtension
=
pFilt
->
GetWildcard
()();
String
aFilterUIName
=
pFilt
->
GetUIName
();
pFileDlg
->
AddFilter
(
aFilterUIName
,
aFilterExtension
);
...
...
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