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
67c953e5
Kaydet (Commit)
67c953e5
authored
Şub 26, 2012
tarafından
Julien Nabet
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Avoid temporary rtl::OUString
üst
0499a44c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
52 additions
and
52 deletions
+52
-52
pdfexport.cxx
filter/source/pdf/pdfexport.cxx
+52
-52
No files found.
filter/source/pdf/pdfexport.cxx
Dosyayı görüntüle @
67c953e5
...
@@ -184,11 +184,11 @@ sal_Bool PDFExport::ExportSelection( vcl::PDFWriter& rPDFWriter,
...
@@ -184,11 +184,11 @@ sal_Bool PDFExport::ExportSelection( vcl::PDFWriter& rPDFWriter,
for
(
sal_Int32
nData
=
0
,
nDataCount
=
rRenderOptions
.
getLength
();
nData
<
nDataCount
;
++
nData
)
for
(
sal_Int32
nData
=
0
,
nDataCount
=
rRenderOptions
.
getLength
();
nData
<
nDataCount
;
++
nData
)
{
{
if
(
rRenderOptions
[
nData
].
Name
==
OUString
(
RTL_CONSTASCII_U
STRINGPARAM
(
"IsFirstPage"
)
)
)
if
(
rRenderOptions
[
nData
].
Name
.
equalsAsciiL
(
RTL_CONSTASCII_
STRINGPARAM
(
"IsFirstPage"
)
)
)
pFirstPage
=
&
rRenderOptions
[
nData
].
Value
;
pFirstPage
=
&
rRenderOptions
[
nData
].
Value
;
else
if
(
rRenderOptions
[
nData
].
Name
==
OUString
(
RTL_CONSTASCII_U
STRINGPARAM
(
"IsLastPage"
)
)
)
else
if
(
rRenderOptions
[
nData
].
Name
.
equalsAsciiL
(
RTL_CONSTASCII_
STRINGPARAM
(
"IsLastPage"
)
)
)
pLastPage
=
&
rRenderOptions
[
nData
].
Value
;
pLastPage
=
&
rRenderOptions
[
nData
].
Value
;
else
if
(
rRenderOptions
[
nData
].
Name
==
OUString
(
RTL_CONSTASCII_U
STRINGPARAM
(
"ExportNotesPages"
)
)
)
else
if
(
rRenderOptions
[
nData
].
Name
.
equalsAsciiL
(
RTL_CONSTASCII_
STRINGPARAM
(
"ExportNotesPages"
)
)
)
rRenderOptions
[
nData
].
Value
>>=
bExportNotesPages
;
rRenderOptions
[
nData
].
Value
>>=
bExportNotesPages
;
}
}
...
@@ -211,7 +211,7 @@ sal_Bool PDFExport::ExportSelection( vcl::PDFWriter& rPDFWriter,
...
@@ -211,7 +211,7 @@ sal_Bool PDFExport::ExportSelection( vcl::PDFWriter& rPDFWriter,
for
(
sal_Int32
nProperty
=
0
,
nPropertyCount
=
aRenderer
.
getLength
();
nProperty
<
nPropertyCount
;
++
nProperty
)
for
(
sal_Int32
nProperty
=
0
,
nPropertyCount
=
aRenderer
.
getLength
();
nProperty
<
nPropertyCount
;
++
nProperty
)
{
{
if
(
aRenderer
[
nProperty
].
Name
==
OUString
(
RTL_CONSTASCII_U
STRINGPARAM
(
"PageSize"
)
)
)
if
(
aRenderer
[
nProperty
].
Name
.
equalsAsciiL
(
RTL_CONSTASCII_
STRINGPARAM
(
"PageSize"
)
)
)
aRenderer
[
nProperty
].
Value
>>=
aPageSize
;
aRenderer
[
nProperty
].
Value
>>=
aPageSize
;
}
}
...
@@ -453,107 +453,107 @@ sal_Bool PDFExport::Export( const OUString& rFile, const Sequence< PropertyValue
...
@@ -453,107 +453,107 @@ sal_Bool PDFExport::Export( const OUString& rFile, const Sequence< PropertyValue
for
(
sal_Int32
nData
=
0
,
nDataCount
=
rFilterData
.
getLength
();
nData
<
nDataCount
;
++
nData
)
for
(
sal_Int32
nData
=
0
,
nDataCount
=
rFilterData
.
getLength
();
nData
<
nDataCount
;
++
nData
)
{
{
if
(
rFilterData
[
nData
].
Name
==
OUString
(
RTL_CONSTASCII_U
STRINGPARAM
(
"PageRange"
)
)
)
if
(
rFilterData
[
nData
].
Name
.
equalsAsciiL
(
RTL_CONSTASCII_
STRINGPARAM
(
"PageRange"
)
)
)
rFilterData
[
nData
].
Value
>>=
aPageRange
;
rFilterData
[
nData
].
Value
>>=
aPageRange
;
else
if
(
rFilterData
[
nData
].
Name
==
OUString
(
RTL_CONSTASCII_U
STRINGPARAM
(
"Selection"
)
)
)
else
if
(
rFilterData
[
nData
].
Name
.
equalsAsciiL
(
RTL_CONSTASCII_
STRINGPARAM
(
"Selection"
)
)
)
rFilterData
[
nData
].
Value
>>=
aSelection
;
rFilterData
[
nData
].
Value
>>=
aSelection
;
else
if
(
rFilterData
[
nData
].
Name
==
OUString
(
RTL_CONSTASCII_U
STRINGPARAM
(
"UseLosslessCompression"
)
)
)
else
if
(
rFilterData
[
nData
].
Name
.
equalsAsciiL
(
RTL_CONSTASCII_
STRINGPARAM
(
"UseLosslessCompression"
)
)
)
rFilterData
[
nData
].
Value
>>=
mbUseLosslessCompression
;
rFilterData
[
nData
].
Value
>>=
mbUseLosslessCompression
;
else
if
(
rFilterData
[
nData
].
Name
==
OUString
(
RTL_CONSTASCII_U
STRINGPARAM
(
"Quality"
)
)
)
else
if
(
rFilterData
[
nData
].
Name
.
equalsAsciiL
(
RTL_CONSTASCII_
STRINGPARAM
(
"Quality"
)
)
)
rFilterData
[
nData
].
Value
>>=
mnQuality
;
rFilterData
[
nData
].
Value
>>=
mnQuality
;
else
if
(
rFilterData
[
nData
].
Name
==
OUString
(
RTL_CONSTASCII_U
STRINGPARAM
(
"ReduceImageResolution"
)
)
)
else
if
(
rFilterData
[
nData
].
Name
.
equalsAsciiL
(
RTL_CONSTASCII_
STRINGPARAM
(
"ReduceImageResolution"
)
)
)
rFilterData
[
nData
].
Value
>>=
mbReduceImageResolution
;
rFilterData
[
nData
].
Value
>>=
mbReduceImageResolution
;
else
if
(
rFilterData
[
nData
].
Name
==
OUString
(
RTL_CONSTASCII_U
STRINGPARAM
(
"IsSkipEmptyPages"
)
)
)
else
if
(
rFilterData
[
nData
].
Name
.
equalsAsciiL
(
RTL_CONSTASCII_
STRINGPARAM
(
"IsSkipEmptyPages"
)
)
)
rFilterData
[
nData
].
Value
>>=
mbSkipEmptyPages
;
rFilterData
[
nData
].
Value
>>=
mbSkipEmptyPages
;
else
if
(
rFilterData
[
nData
].
Name
==
OUString
(
RTL_CONSTASCII_U
STRINGPARAM
(
"MaxImageResolution"
)
)
)
else
if
(
rFilterData
[
nData
].
Name
.
equalsAsciiL
(
RTL_CONSTASCII_
STRINGPARAM
(
"MaxImageResolution"
)
)
)
rFilterData
[
nData
].
Value
>>=
mnMaxImageResolution
;
rFilterData
[
nData
].
Value
>>=
mnMaxImageResolution
;
else
if
(
rFilterData
[
nData
].
Name
==
OUString
(
RTL_CONSTASCII_U
STRINGPARAM
(
"UseTaggedPDF"
)
)
)
else
if
(
rFilterData
[
nData
].
Name
.
equalsAsciiL
(
RTL_CONSTASCII_
STRINGPARAM
(
"UseTaggedPDF"
)
)
)
rFilterData
[
nData
].
Value
>>=
mbUseTaggedPDF
;
rFilterData
[
nData
].
Value
>>=
mbUseTaggedPDF
;
else
if
(
rFilterData
[
nData
].
Name
==
OUString
(
RTL_CONSTASCII_U
STRINGPARAM
(
"SelectPdfVersion"
)
)
)
else
if
(
rFilterData
[
nData
].
Name
.
equalsAsciiL
(
RTL_CONSTASCII_
STRINGPARAM
(
"SelectPdfVersion"
)
)
)
rFilterData
[
nData
].
Value
>>=
mnPDFTypeSelection
;
rFilterData
[
nData
].
Value
>>=
mnPDFTypeSelection
;
else
if
(
rFilterData
[
nData
].
Name
==
OUString
(
RTL_CONSTASCII_U
STRINGPARAM
(
"ExportNotes"
)
)
)
else
if
(
rFilterData
[
nData
].
Name
.
equalsAsciiL
(
RTL_CONSTASCII_
STRINGPARAM
(
"ExportNotes"
)
)
)
rFilterData
[
nData
].
Value
>>=
mbExportNotes
;
rFilterData
[
nData
].
Value
>>=
mbExportNotes
;
else
if
(
rFilterData
[
nData
].
Name
==
OUString
(
RTL_CONSTASCII_U
STRINGPARAM
(
"ExportNotesPages"
)
)
)
else
if
(
rFilterData
[
nData
].
Name
.
equalsAsciiL
(
RTL_CONSTASCII_
STRINGPARAM
(
"ExportNotesPages"
)
)
)
rFilterData
[
nData
].
Value
>>=
mbExportNotesPages
;
rFilterData
[
nData
].
Value
>>=
mbExportNotesPages
;
else
if
(
rFilterData
[
nData
].
Name
==
OUString
(
RTL_CONSTASCII_U
STRINGPARAM
(
"EmbedStandardFonts"
)
)
)
else
if
(
rFilterData
[
nData
].
Name
.
equalsAsciiL
(
RTL_CONSTASCII_
STRINGPARAM
(
"EmbedStandardFonts"
)
)
)
rFilterData
[
nData
].
Value
>>=
mbEmbedStandardFonts
;
rFilterData
[
nData
].
Value
>>=
mbEmbedStandardFonts
;
else
if
(
rFilterData
[
nData
].
Name
==
OUString
(
RTL_CONSTASCII_U
STRINGPARAM
(
"UseTransitionEffects"
)
)
)
else
if
(
rFilterData
[
nData
].
Name
.
equalsAsciiL
(
RTL_CONSTASCII_
STRINGPARAM
(
"UseTransitionEffects"
)
)
)
rFilterData
[
nData
].
Value
>>=
mbUseTransitionEffects
;
rFilterData
[
nData
].
Value
>>=
mbUseTransitionEffects
;
else
if
(
rFilterData
[
nData
].
Name
==
OUString
(
RTL_CONSTASCII_U
STRINGPARAM
(
"ExportFormFields"
)
)
)
else
if
(
rFilterData
[
nData
].
Name
.
equalsAsciiL
(
RTL_CONSTASCII_
STRINGPARAM
(
"ExportFormFields"
)
)
)
rFilterData
[
nData
].
Value
>>=
mbExportFormFields
;
rFilterData
[
nData
].
Value
>>=
mbExportFormFields
;
else
if
(
rFilterData
[
nData
].
Name
==
OUString
(
RTL_CONSTASCII_U
STRINGPARAM
(
"FormsType"
)
)
)
else
if
(
rFilterData
[
nData
].
Name
.
equalsAsciiL
(
RTL_CONSTASCII_
STRINGPARAM
(
"FormsType"
)
)
)
rFilterData
[
nData
].
Value
>>=
mnFormsFormat
;
rFilterData
[
nData
].
Value
>>=
mnFormsFormat
;
else
if
(
rFilterData
[
nData
].
Name
==
OUString
(
RTL_CONSTASCII_U
STRINGPARAM
(
"AllowDuplicateFieldNames"
)
)
)
else
if
(
rFilterData
[
nData
].
Name
.
equalsAsciiL
(
RTL_CONSTASCII_
STRINGPARAM
(
"AllowDuplicateFieldNames"
)
)
)
rFilterData
[
nData
].
Value
>>=
mbAllowDuplicateFieldNames
;
rFilterData
[
nData
].
Value
>>=
mbAllowDuplicateFieldNames
;
//viewer properties
//viewer properties
else
if
(
rFilterData
[
nData
].
Name
==
OUString
(
RTL_CONSTASCII_U
STRINGPARAM
(
"HideViewerToolbar"
)
)
)
else
if
(
rFilterData
[
nData
].
Name
.
equalsAsciiL
(
RTL_CONSTASCII_
STRINGPARAM
(
"HideViewerToolbar"
)
)
)
rFilterData
[
nData
].
Value
>>=
mbHideViewerToolbar
;
rFilterData
[
nData
].
Value
>>=
mbHideViewerToolbar
;
else
if
(
rFilterData
[
nData
].
Name
==
OUString
(
RTL_CONSTASCII_U
STRINGPARAM
(
"HideViewerMenubar"
)
)
)
else
if
(
rFilterData
[
nData
].
Name
.
equalsAsciiL
(
RTL_CONSTASCII_
STRINGPARAM
(
"HideViewerMenubar"
)
)
)
rFilterData
[
nData
].
Value
>>=
mbHideViewerMenubar
;
rFilterData
[
nData
].
Value
>>=
mbHideViewerMenubar
;
else
if
(
rFilterData
[
nData
].
Name
==
OUString
(
RTL_CONSTASCII_U
STRINGPARAM
(
"HideViewerWindowControls"
)
)
)
else
if
(
rFilterData
[
nData
].
Name
.
equalsAsciiL
(
RTL_CONSTASCII_
STRINGPARAM
(
"HideViewerWindowControls"
)
)
)
rFilterData
[
nData
].
Value
>>=
mbHideViewerWindowControls
;
rFilterData
[
nData
].
Value
>>=
mbHideViewerWindowControls
;
else
if
(
rFilterData
[
nData
].
Name
==
OUString
(
RTL_CONSTASCII_U
STRINGPARAM
(
"ResizeWindowToInitialPage"
)
)
)
else
if
(
rFilterData
[
nData
].
Name
.
equalsAsciiL
(
RTL_CONSTASCII_
STRINGPARAM
(
"ResizeWindowToInitialPage"
)
)
)
rFilterData
[
nData
].
Value
>>=
mbFitWindow
;
rFilterData
[
nData
].
Value
>>=
mbFitWindow
;
else
if
(
rFilterData
[
nData
].
Name
==
OUString
(
RTL_CONSTASCII_U
STRINGPARAM
(
"CenterWindow"
)
)
)
else
if
(
rFilterData
[
nData
].
Name
.
equalsAsciiL
(
RTL_CONSTASCII_
STRINGPARAM
(
"CenterWindow"
)
)
)
rFilterData
[
nData
].
Value
>>=
mbCenterWindow
;
rFilterData
[
nData
].
Value
>>=
mbCenterWindow
;
else
if
(
rFilterData
[
nData
].
Name
==
OUString
(
RTL_CONSTASCII_U
STRINGPARAM
(
"OpenInFullScreenMode"
)
)
)
else
if
(
rFilterData
[
nData
].
Name
.
equalsAsciiL
(
RTL_CONSTASCII_
STRINGPARAM
(
"OpenInFullScreenMode"
)
)
)
rFilterData
[
nData
].
Value
>>=
mbOpenInFullScreenMode
;
rFilterData
[
nData
].
Value
>>=
mbOpenInFullScreenMode
;
else
if
(
rFilterData
[
nData
].
Name
==
OUString
(
RTL_CONSTASCII_U
STRINGPARAM
(
"DisplayPDFDocumentTitle"
)
)
)
else
if
(
rFilterData
[
nData
].
Name
.
equalsAsciiL
(
RTL_CONSTASCII_
STRINGPARAM
(
"DisplayPDFDocumentTitle"
)
)
)
rFilterData
[
nData
].
Value
>>=
mbDisplayPDFDocumentTitle
;
rFilterData
[
nData
].
Value
>>=
mbDisplayPDFDocumentTitle
;
else
if
(
rFilterData
[
nData
].
Name
==
OUString
(
RTL_CONSTASCII_U
STRINGPARAM
(
"InitialView"
)
)
)
else
if
(
rFilterData
[
nData
].
Name
.
equalsAsciiL
(
RTL_CONSTASCII_
STRINGPARAM
(
"InitialView"
)
)
)
rFilterData
[
nData
].
Value
>>=
mnPDFDocumentMode
;
rFilterData
[
nData
].
Value
>>=
mnPDFDocumentMode
;
else
if
(
rFilterData
[
nData
].
Name
==
OUString
(
RTL_CONSTASCII_U
STRINGPARAM
(
"Magnification"
)
)
)
else
if
(
rFilterData
[
nData
].
Name
.
equalsAsciiL
(
RTL_CONSTASCII_
STRINGPARAM
(
"Magnification"
)
)
)
rFilterData
[
nData
].
Value
>>=
mnPDFDocumentAction
;
rFilterData
[
nData
].
Value
>>=
mnPDFDocumentAction
;
else
if
(
rFilterData
[
nData
].
Name
==
OUString
(
RTL_CONSTASCII_U
STRINGPARAM
(
"Zoom"
)
)
)
else
if
(
rFilterData
[
nData
].
Name
.
equalsAsciiL
(
RTL_CONSTASCII_
STRINGPARAM
(
"Zoom"
)
)
)
rFilterData
[
nData
].
Value
>>=
mnZoom
;
rFilterData
[
nData
].
Value
>>=
mnZoom
;
else
if
(
rFilterData
[
nData
].
Name
==
OUString
(
RTL_CONSTASCII_U
STRINGPARAM
(
"InitialPage"
)
)
)
else
if
(
rFilterData
[
nData
].
Name
.
equalsAsciiL
(
RTL_CONSTASCII_
STRINGPARAM
(
"InitialPage"
)
)
)
rFilterData
[
nData
].
Value
>>=
mnInitialPage
;
rFilterData
[
nData
].
Value
>>=
mnInitialPage
;
else
if
(
rFilterData
[
nData
].
Name
==
OUString
(
RTL_CONSTASCII_U
STRINGPARAM
(
"PageLayout"
)
)
)
else
if
(
rFilterData
[
nData
].
Name
.
equalsAsciiL
(
RTL_CONSTASCII_
STRINGPARAM
(
"PageLayout"
)
)
)
rFilterData
[
nData
].
Value
>>=
mnPDFPageLayout
;
rFilterData
[
nData
].
Value
>>=
mnPDFPageLayout
;
else
if
(
rFilterData
[
nData
].
Name
==
OUString
(
RTL_CONSTASCII_U
STRINGPARAM
(
"FirstPageOnLeft"
)
)
)
else
if
(
rFilterData
[
nData
].
Name
.
equalsAsciiL
(
RTL_CONSTASCII_
STRINGPARAM
(
"FirstPageOnLeft"
)
)
)
rFilterData
[
nData
].
Value
>>=
aContext
.
FirstPageLeft
;
rFilterData
[
nData
].
Value
>>=
aContext
.
FirstPageLeft
;
else
if
(
rFilterData
[
nData
].
Name
==
OUString
(
RTL_CONSTASCII_U
STRINGPARAM
(
"IsAddStream"
)
)
)
else
if
(
rFilterData
[
nData
].
Name
.
equalsAsciiL
(
RTL_CONSTASCII_
STRINGPARAM
(
"IsAddStream"
)
)
)
rFilterData
[
nData
].
Value
>>=
mbAddStream
;
rFilterData
[
nData
].
Value
>>=
mbAddStream
;
else
if
(
rFilterData
[
nData
].
Name
==
OUString
(
RTL_CONSTASCII_U
STRINGPARAM
(
"Watermark"
)
)
)
else
if
(
rFilterData
[
nData
].
Name
.
equalsAsciiL
(
RTL_CONSTASCII_
STRINGPARAM
(
"Watermark"
)
)
)
{
{
maWatermark
=
rFilterData
[
nData
].
Value
;
maWatermark
=
rFilterData
[
nData
].
Value
;
mbWatermark
=
sal_True
;
mbWatermark
=
sal_True
;
}
}
//now all the security related properties...
//now all the security related properties...
else
if
(
rFilterData
[
nData
].
Name
==
OUString
(
RTL_CONSTASCII_U
STRINGPARAM
(
"EncryptFile"
)
)
)
else
if
(
rFilterData
[
nData
].
Name
.
equalsAsciiL
(
RTL_CONSTASCII_
STRINGPARAM
(
"EncryptFile"
)
)
)
rFilterData
[
nData
].
Value
>>=
mbEncrypt
;
rFilterData
[
nData
].
Value
>>=
mbEncrypt
;
else
if
(
rFilterData
[
nData
].
Name
==
OUString
(
RTL_CONSTASCII_U
STRINGPARAM
(
"DocumentOpenPassword"
)
)
)
else
if
(
rFilterData
[
nData
].
Name
.
equalsAsciiL
(
RTL_CONSTASCII_
STRINGPARAM
(
"DocumentOpenPassword"
)
)
)
rFilterData
[
nData
].
Value
>>=
aOpenPassword
;
rFilterData
[
nData
].
Value
>>=
aOpenPassword
;
else
if
(
rFilterData
[
nData
].
Name
==
OUString
(
RTL_CONSTASCII_U
STRINGPARAM
(
"RestrictPermissions"
)
)
)
else
if
(
rFilterData
[
nData
].
Name
.
equalsAsciiL
(
RTL_CONSTASCII_
STRINGPARAM
(
"RestrictPermissions"
)
)
)
rFilterData
[
nData
].
Value
>>=
mbRestrictPermissions
;
rFilterData
[
nData
].
Value
>>=
mbRestrictPermissions
;
else
if
(
rFilterData
[
nData
].
Name
==
OUString
(
RTL_CONSTASCII_U
STRINGPARAM
(
"PermissionPassword"
)
)
)
else
if
(
rFilterData
[
nData
].
Name
.
equalsAsciiL
(
RTL_CONSTASCII_
STRINGPARAM
(
"PermissionPassword"
)
)
)
rFilterData
[
nData
].
Value
>>=
aPermissionPassword
;
rFilterData
[
nData
].
Value
>>=
aPermissionPassword
;
else
if
(
rFilterData
[
nData
].
Name
==
OUString
(
RTL_CONSTASCII_U
STRINGPARAM
(
"PreparedPasswords"
)
)
)
else
if
(
rFilterData
[
nData
].
Name
.
equalsAsciiL
(
RTL_CONSTASCII_
STRINGPARAM
(
"PreparedPasswords"
)
)
)
rFilterData
[
nData
].
Value
>>=
xEnc
;
rFilterData
[
nData
].
Value
>>=
xEnc
;
else
if
(
rFilterData
[
nData
].
Name
==
OUString
(
RTL_CONSTASCII_U
STRINGPARAM
(
"PreparedPermissionPassword"
)
)
)
else
if
(
rFilterData
[
nData
].
Name
.
equalsAsciiL
(
RTL_CONSTASCII_
STRINGPARAM
(
"PreparedPermissionPassword"
)
)
)
rFilterData
[
nData
].
Value
>>=
aPreparedPermissionPassword
;
rFilterData
[
nData
].
Value
>>=
aPreparedPermissionPassword
;
else
if
(
rFilterData
[
nData
].
Name
==
OUString
(
RTL_CONSTASCII_U
STRINGPARAM
(
"Printing"
)
)
)
else
if
(
rFilterData
[
nData
].
Name
.
equalsAsciiL
(
RTL_CONSTASCII_
STRINGPARAM
(
"Printing"
)
)
)
rFilterData
[
nData
].
Value
>>=
mnPrintAllowed
;
rFilterData
[
nData
].
Value
>>=
mnPrintAllowed
;
else
if
(
rFilterData
[
nData
].
Name
==
OUString
(
RTL_CONSTASCII_U
STRINGPARAM
(
"Changes"
)
)
)
else
if
(
rFilterData
[
nData
].
Name
.
equalsAsciiL
(
RTL_CONSTASCII_
STRINGPARAM
(
"Changes"
)
)
)
rFilterData
[
nData
].
Value
>>=
mnChangesAllowed
;
rFilterData
[
nData
].
Value
>>=
mnChangesAllowed
;
else
if
(
rFilterData
[
nData
].
Name
==
OUString
(
RTL_CONSTASCII_U
STRINGPARAM
(
"EnableCopyingOfContent"
)
)
)
else
if
(
rFilterData
[
nData
].
Name
.
equalsAsciiL
(
RTL_CONSTASCII_
STRINGPARAM
(
"EnableCopyingOfContent"
)
)
)
rFilterData
[
nData
].
Value
>>=
mbCanCopyOrExtract
;
rFilterData
[
nData
].
Value
>>=
mbCanCopyOrExtract
;
else
if
(
rFilterData
[
nData
].
Name
==
OUString
(
RTL_CONSTASCII_U
STRINGPARAM
(
"EnableTextAccessForAccessibilityTools"
)
)
)
else
if
(
rFilterData
[
nData
].
Name
.
equalsAsciiL
(
RTL_CONSTASCII_
STRINGPARAM
(
"EnableTextAccessForAccessibilityTools"
)
)
)
rFilterData
[
nData
].
Value
>>=
mbCanExtractForAccessibility
;
rFilterData
[
nData
].
Value
>>=
mbCanExtractForAccessibility
;
//--->i56629 links extra (relative links and other related stuff)
//--->i56629 links extra (relative links and other related stuff)
else
if
(
rFilterData
[
nData
].
Name
==
OUString
(
RTL_CONSTASCII_U
STRINGPARAM
(
"ExportLinksRelativeFsys"
)
)
)
else
if
(
rFilterData
[
nData
].
Name
.
equalsAsciiL
(
RTL_CONSTASCII_
STRINGPARAM
(
"ExportLinksRelativeFsys"
)
)
)
rFilterData
[
nData
].
Value
>>=
mbExportRelativeFsysLinks
;
rFilterData
[
nData
].
Value
>>=
mbExportRelativeFsysLinks
;
else
if
(
rFilterData
[
nData
].
Name
==
OUString
(
RTL_CONSTASCII_U
STRINGPARAM
(
"PDFViewSelection"
)
)
)
else
if
(
rFilterData
[
nData
].
Name
.
equalsAsciiL
(
RTL_CONSTASCII_
STRINGPARAM
(
"PDFViewSelection"
)
)
)
rFilterData
[
nData
].
Value
>>=
mnDefaultLinkAction
;
rFilterData
[
nData
].
Value
>>=
mnDefaultLinkAction
;
else
if
(
rFilterData
[
nData
].
Name
==
OUString
(
RTL_CONSTASCII_U
STRINGPARAM
(
"ConvertOOoTargetToPDFTarget"
)
)
)
else
if
(
rFilterData
[
nData
].
Name
.
equalsAsciiL
(
RTL_CONSTASCII_
STRINGPARAM
(
"ConvertOOoTargetToPDFTarget"
)
)
)
rFilterData
[
nData
].
Value
>>=
mbConvertOOoTargetToPDFTarget
;
rFilterData
[
nData
].
Value
>>=
mbConvertOOoTargetToPDFTarget
;
else
if
(
rFilterData
[
nData
].
Name
==
OUString
(
RTL_CONSTASCII_U
STRINGPARAM
(
"ExportBookmarksToPDFDestination"
)
)
)
else
if
(
rFilterData
[
nData
].
Name
.
equalsAsciiL
(
RTL_CONSTASCII_
STRINGPARAM
(
"ExportBookmarksToPDFDestination"
)
)
)
rFilterData
[
nData
].
Value
>>=
mbExportBmkToDest
;
rFilterData
[
nData
].
Value
>>=
mbExportBmkToDest
;
else
if
(
rFilterData
[
nData
].
Name
==
OUString
(
RTL_CONSTASCII_U
STRINGPARAM
(
"ExportBookmarks"
)
)
)
else
if
(
rFilterData
[
nData
].
Name
.
equalsAsciiL
(
RTL_CONSTASCII_
STRINGPARAM
(
"ExportBookmarks"
)
)
)
rFilterData
[
nData
].
Value
>>=
mbExportBookmarks
;
rFilterData
[
nData
].
Value
>>=
mbExportBookmarks
;
else
if
(
rFilterData
[
nData
].
Name
==
OUString
(
RTL_CONSTASCII_U
STRINGPARAM
(
"ExportHiddenSlides"
)
)
)
else
if
(
rFilterData
[
nData
].
Name
.
equalsAsciiL
(
RTL_CONSTASCII_
STRINGPARAM
(
"ExportHiddenSlides"
)
)
)
rFilterData
[
nData
].
Value
>>=
mbExportHiddenSlides
;
rFilterData
[
nData
].
Value
>>=
mbExportHiddenSlides
;
else
if
(
rFilterData
[
nData
].
Name
==
OUString
(
RTL_CONSTASCII_U
STRINGPARAM
(
"OpenBookmarkLevels"
)
)
)
else
if
(
rFilterData
[
nData
].
Name
.
equalsAsciiL
(
RTL_CONSTASCII_
STRINGPARAM
(
"OpenBookmarkLevels"
)
)
)
rFilterData
[
nData
].
Value
>>=
mnOpenBookmarkLevels
;
rFilterData
[
nData
].
Value
>>=
mnOpenBookmarkLevels
;
}
}
aContext
.
URL
=
aURL
.
GetMainURL
(
INetURLObject
::
DECODE_TO_IURI
);
aContext
.
URL
=
aURL
.
GetMainURL
(
INetURLObject
::
DECODE_TO_IURI
);
...
...
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