diff --git a/filter/UIConfig_xsltdlg.mk b/filter/UIConfig_xsltdlg.mk index d474ec5fbcc9..6cb146c077c2 100644 --- a/filter/UIConfig_xsltdlg.mk +++ b/filter/UIConfig_xsltdlg.mk @@ -13,6 +13,7 @@ $(eval $(call gb_UIConfig_add_uifiles,filter,\ filter/uiconfig/ui/pdflinkspage \ filter/uiconfig/ui/pdfsecuritypage \ filter/uiconfig/ui/pdfuserinterfacepage \ + filter/uiconfig/ui/pdfviewpage \ filter/uiconfig/ui/testxmlfilter \ filter/uiconfig/ui/xmlfiltersettings \ )) diff --git a/filter/inc/filter.hrc b/filter/inc/filter.hrc index ec5879b2f5bd..8077a815e7cc 100644 --- a/filter/inc/filter.hrc +++ b/filter/inc/filter.hrc @@ -32,7 +32,6 @@ // warning, next range is RID_FILTER_START + 100 ! #define HID_FILTER_PDF_OPTIONS "HID_FILTER_PDF_OPTIONS" -#define HID_FILTER_PDF_INITIAL_VIEW "HID_FILTER_PDF_INITIAL_VIEW" #define HID_FILTER_PDF_SIGNING "HID_FILTER_PDF_SIGNING" #endif diff --git a/filter/source/pdf/impdialog.cxx b/filter/source/pdf/impdialog.cxx index 73b65928ebde..d4d43beb8384 100644 --- a/filter/source/pdf/impdialog.cxx +++ b/filter/source/pdf/impdialog.cxx @@ -822,47 +822,33 @@ IMPL_LINK_NOARG(ImpPDFTabGeneralPage, ToggleExportPDFAHdl) return 0; } -///////////////////////////////////////////////////////////////// // the option features tab page -// ----------------------------------------------------------------------------- -ImpPDFTabOpnFtrPage::ImpPDFTabOpnFtrPage( Window* pParent, - const SfxItemSet& rCoreSet ) : - SfxTabPage( pParent, PDFFilterResId( RID_PDF_TAB_OPNFTR ), rCoreSet ), - - maFlInitialView( this, PDFFilterResId( FL_INITVIEW ) ), - maRbOpnPageOnly( this, PDFFilterResId( RB_OPNMODE_PAGEONLY ) ), - maRbOpnOutline( this, PDFFilterResId( RB_OPNMODE_OUTLINE ) ), - maRbOpnThumbs( this, PDFFilterResId( RB_OPNMODE_THUMBS ) ), - maFtInitialPage( this, PDFFilterResId( FT_MAGNF_INITIAL_PAGE ) ), - maNumInitialPage( this, PDFFilterResId( NUM_MAGNF_INITIAL_PAGE ) ), - - maFlMagnification( this, PDFFilterResId( FL_MAGNIFICATION ) ), - maRbMagnDefault( this, PDFFilterResId( RB_MAGNF_DEFAULT ) ), - maRbMagnFitWin( this, PDFFilterResId( RB_MAGNF_WIND ) ), - maRbMagnFitWidth( this, PDFFilterResId( RB_MAGNF_WIDTH ) ), - maRbMagnFitVisible( this, PDFFilterResId( RB_MAGNF_VISIBLE ) ), - maRbMagnZoom( this, PDFFilterResId( RB_MAGNF_ZOOM ) ), - maNumZoom( this, PDFFilterResId( NUM_MAGNF_ZOOM ) ), - - m_aVerticalLine(this, PDFFilterResId(FL_INITVIEW_VERTICAL)), - - maFlPageLayout( this, PDFFilterResId( FL_PAGE_LAYOUT ) ), - maRbPgLyDefault( this, PDFFilterResId( RB_PGLY_DEFAULT ) ), - maRbPgLySinglePage( this, PDFFilterResId( RB_PGLY_SINGPG ) ), - maRbPgLyContinue( this, PDFFilterResId( RB_PGLY_CONT ) ), - maRbPgLyContinueFacing( this, PDFFilterResId( RB_PGLY_CONTFAC ) ), - maCbPgLyFirstOnLeft( this, PDFFilterResId( CB_PGLY_FIRSTLEFT ) ), - mbUseCTLFont( sal_False ) +ImpPDFTabOpnFtrPage::ImpPDFTabOpnFtrPage(Window* pParent, const SfxItemSet& rCoreSet) + : SfxTabPage(pParent, "PdfViewPage","filter/ui/pdfviewpage.ui", rCoreSet) + , mbUseCTLFont(false) { - FreeResource(); + get(mpRbOpnPageOnly, "pageonly"); + get(mpRbOpnOutline, "outline"); + get(mpRbOpnThumbs, "thumbs"); + get(mpNumInitialPage, "page"); + get(mpRbMagnDefault, "fitdefault"); + get(mpRbMagnFitWin, "fitwin"); + get(mpRbMagnFitWidth, "fitwidth"); + get(mpRbMagnFitVisible, "fitvis"); + get(mpRbMagnZoom, "fitzoom"); + get(mpNumZoom, "zoom"); + get(mpRbPgLyDefault, "defaultlayout"); + get(mpRbPgLySinglePage, "singlelayout"); + get(mpRbPgLyContinue, "contlayout"); + get(mpRbPgLyContinueFacing, "contfacinglayout"); + get(mpCbPgLyFirstOnLeft, "firstonleft"); - maRbMagnDefault.SetToggleHdl( LINK( this, ImpPDFTabOpnFtrPage, ToggleRbMagnHdl ) ); - maRbMagnFitWin.SetToggleHdl( LINK( this, ImpPDFTabOpnFtrPage, ToggleRbMagnHdl ) ); - maRbMagnFitWidth.SetToggleHdl( LINK( this, ImpPDFTabOpnFtrPage, ToggleRbMagnHdl ) ); - maRbMagnFitVisible.SetToggleHdl( LINK( this, ImpPDFTabOpnFtrPage, ToggleRbMagnHdl ) ); - maRbMagnZoom.SetToggleHdl( LINK( this, ImpPDFTabOpnFtrPage, ToggleRbMagnHdl ) ); - maNumZoom.SetAccessibleName(maRbMagnZoom.GetText()); - maNumZoom.SetAccessibleRelationLabeledBy(&maRbMagnZoom); + mpRbMagnDefault->SetToggleHdl( LINK( this, ImpPDFTabOpnFtrPage, ToggleRbMagnHdl ) ); + mpRbMagnFitWin->SetToggleHdl( LINK( this, ImpPDFTabOpnFtrPage, ToggleRbMagnHdl ) ); + mpRbMagnFitWidth->SetToggleHdl( LINK( this, ImpPDFTabOpnFtrPage, ToggleRbMagnHdl ) ); + mpRbMagnFitVisible->SetToggleHdl( LINK( this, ImpPDFTabOpnFtrPage, ToggleRbMagnHdl ) ); + mpRbMagnZoom->SetToggleHdl( LINK( this, ImpPDFTabOpnFtrPage, ToggleRbMagnHdl ) ); + mpNumZoom->SetAccessibleName(mpRbMagnZoom->GetText()); } // ----------------------------------------------------------------------------- @@ -881,35 +867,35 @@ SfxTabPage* ImpPDFTabOpnFtrPage::Create( Window* pParent, void ImpPDFTabOpnFtrPage::GetFilterConfigItem( ImpPDFTabDialog* paParent ) { paParent->mnInitialView = 0; - if( maRbOpnOutline.IsChecked() ) + if( mpRbOpnOutline->IsChecked() ) paParent->mnInitialView = 1; - else if( maRbOpnThumbs.IsChecked() ) + else if( mpRbOpnThumbs->IsChecked() ) paParent->mnInitialView = 2; paParent->mnMagnification = 0; - if( maRbMagnFitWin.IsChecked() ) + if( mpRbMagnFitWin->IsChecked() ) paParent->mnMagnification = 1; - else if( maRbMagnFitWidth.IsChecked() ) + else if( mpRbMagnFitWidth->IsChecked() ) paParent->mnMagnification = 2; - else if( maRbMagnFitVisible.IsChecked() ) + else if( mpRbMagnFitVisible->IsChecked() ) paParent->mnMagnification = 3; - else if( maRbMagnZoom.IsChecked() ) + else if( mpRbMagnZoom->IsChecked() ) { paParent->mnMagnification = 4; - paParent->mnZoom = static_cast(maNumZoom.GetValue()); + paParent->mnZoom = static_cast(mpNumZoom->GetValue()); } - paParent->mnInitialPage = static_cast(maNumInitialPage.GetValue()); + paParent->mnInitialPage = static_cast(mpNumInitialPage->GetValue()); paParent->mnPageLayout = 0; - if( maRbPgLySinglePage.IsChecked() ) + if( mpRbPgLySinglePage->IsChecked() ) paParent->mnPageLayout = 1; - else if( maRbPgLyContinue.IsChecked() ) + else if( mpRbPgLyContinue->IsChecked() ) paParent->mnPageLayout = 2; - else if( maRbPgLyContinueFacing.IsChecked() ) + else if( mpRbPgLyContinueFacing->IsChecked() ) paParent->mnPageLayout = 3; - paParent->mbFirstPageLeft = ( mbUseCTLFont ) ? maCbPgLyFirstOnLeft.IsChecked() : sal_False; + paParent->mbFirstPageLeft = ( mbUseCTLFont ) ? mpCbPgLyFirstOnLeft->IsChecked() : sal_False; } // ----------------------------------------------------------------------------- @@ -920,16 +906,16 @@ void ImpPDFTabOpnFtrPage::SetFilterConfigItem( const ImpPDFTabDialog* paParent { default: case 0: - maRbPgLyDefault.Check(); + mpRbPgLyDefault->Check(); break; case 1: - maRbPgLySinglePage.Check(); + mpRbPgLySinglePage->Check(); break; case 2: - maRbPgLyContinue.Check(); + mpRbPgLyContinue->Check(); break; case 3: - maRbPgLyContinueFacing.Check(); + mpRbPgLyContinueFacing->Check(); break; }; @@ -937,13 +923,13 @@ void ImpPDFTabOpnFtrPage::SetFilterConfigItem( const ImpPDFTabDialog* paParent { default: case 0: - maRbOpnPageOnly.Check(); + mpRbOpnPageOnly->Check(); break; case 1: - maRbOpnOutline.Check(); + mpRbOpnOutline->Check(); break; case 2: - maRbOpnThumbs.Check(); + mpRbOpnThumbs->Check(); break; }; @@ -951,49 +937,49 @@ void ImpPDFTabOpnFtrPage::SetFilterConfigItem( const ImpPDFTabDialog* paParent { default: case 0: - maRbMagnDefault.Check(); - maNumZoom.Enable( sal_False ); + mpRbMagnDefault->Check(); + mpNumZoom->Enable( sal_False ); break; case 1: - maRbMagnFitWin.Check(); - maNumZoom.Enable( sal_False ); + mpRbMagnFitWin->Check(); + mpNumZoom->Enable( sal_False ); break; case 2: - maRbMagnFitWidth.Check(); - maNumZoom.Enable( sal_False ); + mpRbMagnFitWidth->Check(); + mpNumZoom->Enable( sal_False ); break; case 3: - maRbMagnFitVisible.Check(); - maNumZoom.Enable( sal_False ); + mpRbMagnFitVisible->Check(); + mpNumZoom->Enable( sal_False ); break; case 4: - maRbMagnZoom.Check(); - maNumZoom.Enable( sal_True ); + mpRbMagnZoom->Check(); + mpNumZoom->Enable( sal_True ); break; }; - maNumZoom.SetValue( paParent->mnZoom ); - maNumInitialPage.SetValue( paParent->mnInitialPage ); + mpNumZoom->SetValue( paParent->mnZoom ); + mpNumInitialPage->SetValue( paParent->mnInitialPage ); if( !mbUseCTLFont ) - maCbPgLyFirstOnLeft.Hide( ); + mpCbPgLyFirstOnLeft->Hide( ); else { - maRbPgLyContinueFacing.SetToggleHdl( LINK( this, ImpPDFTabOpnFtrPage, ToggleRbPgLyContinueFacingHdl ) ); - maCbPgLyFirstOnLeft.Check( paParent->mbFirstPageLeft ); + mpRbPgLyContinueFacing->SetToggleHdl( LINK( this, ImpPDFTabOpnFtrPage, ToggleRbPgLyContinueFacingHdl ) ); + mpCbPgLyFirstOnLeft->Check( paParent->mbFirstPageLeft ); ToggleRbPgLyContinueFacingHdl( NULL ); } } IMPL_LINK_NOARG(ImpPDFTabOpnFtrPage, ToggleRbPgLyContinueFacingHdl) { - maCbPgLyFirstOnLeft.Enable( maRbPgLyContinueFacing.IsChecked() ); + mpCbPgLyFirstOnLeft->Enable( mpRbPgLyContinueFacing->IsChecked() ); return 0; } IMPL_LINK( ImpPDFTabOpnFtrPage, ToggleRbMagnHdl, void*, ) { - maNumZoom.Enable( maRbMagnZoom.IsChecked() ); + mpNumZoom->Enable( mpRbMagnZoom->IsChecked() ); return 0; } diff --git a/filter/source/pdf/impdialog.hrc b/filter/source/pdf/impdialog.hrc index fa86c243609f..207482b27ad0 100644 --- a/filter/source/pdf/impdialog.hrc +++ b/filter/source/pdf/impdialog.hrc @@ -89,61 +89,6 @@ #define CB_VIEWPDF 35 -//controls for open options tab page -#define FL_INITVIEW 80 -#define RB_OPNMODE_PAGEONLY 81 -#define RB_OPNMODE_OUTLINE 82 -#define RB_OPNMODE_THUMBS 83 - -#define FL_MAGNIFICATION 84 -#define RB_MAGNF_DEFAULT 85 -#define RB_MAGNF_WIND 86 -#define RB_MAGNF_WIDTH 87 -#define RB_MAGNF_VISIBLE 88 -#define RB_MAGNF_ZOOM 89 -#define NUM_MAGNF_ZOOM 90 -#define FT_MAGNF_INITIAL_PAGE 91 -#define NUM_MAGNF_INITIAL_PAGE 92 - -#define FL_PAGE_LAYOUT 93 -#define RB_PGLY_DEFAULT 94 -#define RB_PGLY_SINGPG 95 -#define RB_PGLY_CONT 96 -#define RB_PGLY_CONTFAC 97 -#define CB_PGLY_FIRSTLEFT 98 - -//controls for security preferences tab page -#define FL_PWD_GROUP 119 -#define BTN_SET_PWD 120 -#define FT_USER_PWD 121 -#define STR_USER_PWD_SET 122 -#define STR_USER_PWD_ENC 123 -#define STR_USER_PWD_UNSET 124 -#define STR_USER_PWD_UNENC 125 -#define STR_SET_PWD 126 -#define STR_USER_PWD_PDFA 127 - -#define FT_OWNER_PWD 128 -#define STR_OWNER_PWD_SET 129 -#define STR_OWNER_PWD_REST 130 -#define STR_OWNER_PWD_UNSET 131 -#define STR_OWNER_PWD_UNREST 132 -#define STR_OWNER_PWD_PDFA 133 - -#define FL_PRINT_PERMISSIONS 133 -#define RB_PRINT_NONE 134 -#define RB_PRINT_LOWRES 135 -#define RB_PRINT_HIGHRES 136 - -#define FL_CHANGES_ALLOWED 137 -#define RB_CHANGES_NONE 138 -#define RB_CHANGES_INSDEL 139 -#define RB_CHANGES_FILLFORM 140 -#define RB_CHANGES_COMMENT 141 -#define RB_CHANGES_ANY_NOCOPY 142 -#define CB_ENDAB_COPY 143 -#define CB_ENAB_ACCESS 144 - #define FL_GENERAL_VERTICAL 157 #define FL_INITVIEW_VERTICAL 158 #define FL_VPREFER_VERTICAL 158 diff --git a/filter/source/pdf/impdialog.hxx b/filter/source/pdf/impdialog.hxx index e83a72a68a6b..832e6d2906ec 100644 --- a/filter/source/pdf/impdialog.hxx +++ b/filter/source/pdf/impdialog.hxx @@ -250,29 +250,23 @@ public: //class tab page viewer class ImpPDFTabOpnFtrPage : public SfxTabPage { - FixedLine maFlInitialView; - RadioButton maRbOpnPageOnly; - RadioButton maRbOpnOutline; - RadioButton maRbOpnThumbs; - FixedText maFtInitialPage; - NumericField maNumInitialPage; + RadioButton* mpRbOpnPageOnly; + RadioButton* mpRbOpnOutline; + RadioButton* mpRbOpnThumbs; + NumericField* mpNumInitialPage; - FixedLine maFlMagnification; - RadioButton maRbMagnDefault; - RadioButton maRbMagnFitWin; - RadioButton maRbMagnFitWidth; - RadioButton maRbMagnFitVisible; - RadioButton maRbMagnZoom; - MetricField maNumZoom; + RadioButton* mpRbMagnDefault; + RadioButton* mpRbMagnFitWin; + RadioButton* mpRbMagnFitWidth; + RadioButton* mpRbMagnFitVisible; + RadioButton* mpRbMagnZoom; + NumericField* mpNumZoom; - FixedLine m_aVerticalLine; - - FixedLine maFlPageLayout; - RadioButton maRbPgLyDefault; - RadioButton maRbPgLySinglePage; - RadioButton maRbPgLyContinue; - RadioButton maRbPgLyContinueFacing; - CheckBox maCbPgLyFirstOnLeft; + RadioButton* mpRbPgLyDefault; + RadioButton* mpRbPgLySinglePage; + RadioButton* mpRbPgLyContinue; + RadioButton* mpRbPgLyContinueFacing; + CheckBox* mpCbPgLyFirstOnLeft; sal_Bool mbUseCTLFont; diff --git a/filter/source/pdf/impdialog.src b/filter/source/pdf/impdialog.src index c5398efe5164..871d88e0af9a 100644 --- a/filter/source/pdf/impdialog.src +++ b/filter/source/pdf/impdialog.src @@ -318,171 +318,6 @@ WarningBox RID_PDF_WARNPDFAPASSWORD Message[ en-US ] = "PDF/A does not allow encryption. The exported PDF file will not be password protected."; }; -//---------------------------------------------------------- -//tab page for PDF Export, opening features -TabPage RID_PDF_TAB_OPNFTR -{ - HelpId = HID_FILTER_PDF_INITIAL_VIEW ; - Text[ en-US ] = "Initial View" ; - TAB_PDF_SIZE; - Hide = TRUE; - -//////////////////////////////////////// - FixedLine FL_INITVIEW - { - Pos = MAP_APPFONT ( 6 , 3 ) ; - Size = MAP_APPFONT ( 164 , 8 ) ; - Text[ en-US ] = "Panes" ; - }; - RadioButton RB_OPNMODE_PAGEONLY - { - HelpID = "filter:RadioButton:RID_PDF_TAB_OPNFTR:RB_OPNMODE_PAGEONLY"; - Pos = MAP_APPFONT ( 12 , 14 ) ; - Size = MAP_APPFONT ( 158 , 10 ) ; - Text[ en-US ] = "~Page only" ; - }; - RadioButton RB_OPNMODE_OUTLINE - { - HelpID = "filter:RadioButton:RID_PDF_TAB_OPNFTR:RB_OPNMODE_OUTLINE"; - Pos = MAP_APPFONT ( 12 , 26 ) ; - Size = MAP_APPFONT ( 158 , 10 ) ; - Text[ en-US ] = "~Bookmarks and page" ; - }; - RadioButton RB_OPNMODE_THUMBS - { - HelpID = "filter:RadioButton:RID_PDF_TAB_OPNFTR:RB_OPNMODE_THUMBS"; - Pos = MAP_APPFONT ( 12 , 38 ) ; - Size = MAP_APPFONT ( 158 , 10 ) ; - Text[ en-US ] = "~Thumbnails and page" ; - }; - - FixedText FT_MAGNF_INITIAL_PAGE - { - Pos = MAP_APPFONT( 12, 52 ); - Size = MAP_APPFONT( 109, 10 ); - Text[ en-US ] = "Open on page"; - }; - NumericField NUM_MAGNF_INITIAL_PAGE - { - HelpID = "filter:NumericField:RID_PDF_TAB_OPNFTR:NUM_MAGNF_INITIAL_PAGE"; - Pos = MAP_APPFONT( 124, 52 ); - Size = MAP_APPFONT( 40, 12 ); - Value = 1; - Spin = TRUE; - Border = TRUE; - Minimum = 1; - }; - -/////////////////////////////////////////////////// - FixedLine FL_MAGNIFICATION - { - Pos = MAP_APPFONT ( 6 , 68 ) ; - Size = MAP_APPFONT ( 164 , 8 ) ; - Text[ en-US ] = "Magnification" ; - }; - RadioButton RB_MAGNF_DEFAULT - { - HelpID = "filter:RadioButton:RID_PDF_TAB_OPNFTR:RB_MAGNF_DEFAULT"; - // see PDF ref v 1.5 tab 8.2, pg. 542 ( /XYZ ) - Pos = MAP_APPFONT ( 12 , 80 ) ; - Size = MAP_APPFONT ( 158 , 10 ) ; - Text[ en-US ] = "~Default" ; - }; - RadioButton RB_MAGNF_WIND - { - HelpID = "filter:RadioButton:RID_PDF_TAB_OPNFTR:RB_MAGNF_WIND"; - // see PDF ref v 1.5 tab 8.2, pg. 542 ( /Fit ) - Pos = MAP_APPFONT ( 12 , 92 ) ; - Size = MAP_APPFONT ( 158 , 10 ) ; - Text[ en-US ] = "~Fit in window" ; - }; - RadioButton RB_MAGNF_WIDTH - { - HelpID = "filter:RadioButton:RID_PDF_TAB_OPNFTR:RB_MAGNF_WIDTH"; - // see PDF ref v 1.5 tab 8.2, pg. 542 ( /FitH top ) - Pos = MAP_APPFONT ( 12 , 104 ) ; - Size = MAP_APPFONT ( 158 , 10 ) ; - Text[ en-US ] = "Fit ~width" ; - }; - RadioButton RB_MAGNF_VISIBLE - { - HelpID = "filter:RadioButton:RID_PDF_TAB_OPNFTR:RB_MAGNF_VISIBLE"; - // see PDF ref v 1.5 tab 8.2, pg. 542 ( /FitBH top ) - Pos = MAP_APPFONT ( 12 , 116 ) ; - Size = MAP_APPFONT ( 158 , 10 ) ; - Text[ en-US ] = "Fit ~visible" ; - }; - RadioButton RB_MAGNF_ZOOM - { - HelpID = "filter:RadioButton:RID_PDF_TAB_OPNFTR:RB_MAGNF_ZOOM"; - // see PDF ref v 1.6 tab 8.2, pg. 551 ( /XYZ left top zoom ) - Pos = MAP_APPFONT ( 12 , 128 ) ; - Size = MAP_APPFONT ( 109 , 10 ) ; - Text[ en-US ] = "~Zoom factor" ; - }; - MetricField NUM_MAGNF_ZOOM - { - HelpID = "filter:MetricField:RID_PDF_TAB_OPNFTR:NUM_MAGNF_ZOOM"; - Pos = MAP_APPFONT( 124, 128 ) ; - Size = MAP_APPFONT( 40, 12 ) ; - Unit = FUNIT_PERCENT; - Value = 100; - Spin = TRUE; - Border = TRUE; - Minimum = 50; - Maximum = 1600; - }; - - FixedLine FL_INITVIEW_VERTICAL - { - Pos = MAP_APPFONT ( 175 , 3 ) ; - Size = MAP_APPFONT ( 4 , 171 ) ; - Vert = TRUE; - }; - - FixedLine FL_PAGE_LAYOUT - { - Pos = MAP_APPFONT ( 182 , 3 ) ; - Size = MAP_APPFONT (164 , 8 ) ; - Text[ en-US ] = "Page layout" ; - }; - RadioButton RB_PGLY_DEFAULT - { - HelpID = "filter:RadioButton:RID_PDF_TAB_OPNFTR:RB_PGLY_DEFAULT"; - Pos = MAP_APPFONT ( 188 , 15 ) ; - Size = MAP_APPFONT ( 158 , 10 ) ; - Text[ en-US ] = "D~efault" ; - }; - RadioButton RB_PGLY_SINGPG - { - HelpID = "filter:RadioButton:RID_PDF_TAB_OPNFTR:RB_PGLY_SINGPG"; - Pos = MAP_APPFONT ( 188 , 27 ) ; - Size = MAP_APPFONT ( 158 , 10 ) ; - Text[ en-US ] = "~Single page" ; - }; - RadioButton RB_PGLY_CONT - { - HelpID = "filter:RadioButton:RID_PDF_TAB_OPNFTR:RB_PGLY_CONT"; - Pos = MAP_APPFONT ( 188 , 39 ) ; - Size = MAP_APPFONT ( 158 , 10 ) ; - Text[ en-US ] = "~Continuous" ; - }; - RadioButton RB_PGLY_CONTFAC - { - HelpID = "filter:RadioButton:RID_PDF_TAB_OPNFTR:RB_PGLY_CONTFAC"; - Pos = MAP_APPFONT ( 188 , 51 ) ; - Size = MAP_APPFONT ( 158 , 10 ) ; - Text[ en-US ] = "C~ontinuous facing" ; - }; - CheckBox CB_PGLY_FIRSTLEFT - { - HelpID = "filter:CheckBox:RID_PDF_TAB_OPNFTR:CB_PGLY_FIRSTLEFT"; - Pos = MAP_APPFONT ( 198 , 63 ) ; - Size = MAP_APPFONT ( 148 , 10 ) ; - Text[ en-US ] = "First page is ~left" ; - }; -}; - //---------------------------------------------------------- //tab page for PDF Export, digital signatures TabPage RID_PDF_TAB_SIGNING diff --git a/filter/uiconfig/ui/pdfviewpage.ui b/filter/uiconfig/ui/pdfviewpage.ui new file mode 100644 index 000000000000..a680c747be4f --- /dev/null +++ b/filter/uiconfig/ui/pdfviewpage.ui @@ -0,0 +1,464 @@ + + + + + 1 + 2147483647 + 1 + 1 + 10 + + + 50 + 1600 + 100 + 1 + 10 + + + True + False + 6 + 12 + True + + + True + False + vertical + 12 + + + True + False + 0 + none + + + True + False + 6 + 12 + + + True + False + 6 + + + _Page only + True + True + False + True + 0 + True + True + outline + + + 0 + 0 + 1 + 1 + + + + + _Bookmarks and page + True + True + False + True + 0 + True + thumbs + + + 0 + 1 + 1 + 1 + + + + + _Thumbnails and page + True + True + False + True + 0 + True + pageonly + + + 0 + 2 + 1 + 1 + + + + + True + False + 12 + + + True + False + 0 + Open on pa_ge + True + page + + + 0 + 0 + 1 + 1 + + + + + True + True + + adjustment1 + + + 1 + 0 + 1 + 1 + + + + + 0 + 3 + 1 + 1 + + + + + + + + + True + False + Panes + + + + + + + + False + True + 0 + + + + + True + False + 0 + none + + + True + False + 6 + 12 + + + True + False + 6 + + + _Default + True + True + False + True + 0 + True + True + fitwin + + + 0 + 0 + 1 + 1 + + + + + _Fit in window + True + True + False + True + 0 + True + fitwidth + + + 0 + 1 + 1 + 1 + + + + + Fit _width + True + True + False + True + 0 + True + fitvis + + + 0 + 2 + 1 + 1 + + + + + Fit _visible + True + True + False + True + 0 + True + fitzoom + + + 0 + 3 + 1 + 1 + + + + + True + False + 12 + + + _Zoom factor + True + True + False + True + 0 + True + fitdefault + + + + + + 0 + 0 + 1 + 1 + + + + + True + True + + adjustment2 + + + + + + 1 + 0 + 1 + 1 + + + + + 0 + 4 + 1 + 1 + + + + + + + + + True + False + Magnification + + + + + + + + False + True + 1 + + + + + False + True + 0 + + + + + True + False + 0 + none + + + True + False + 6 + 12 + + + True + False + 6 + + + D_efault + True + True + False + True + 0 + True + True + singlelayout + + + 0 + 0 + 1 + 1 + + + + + _Single page + True + True + False + True + 0 + True + contlayout + + + 0 + 1 + 1 + 1 + + + + + _Continuous + True + True + False + True + 0 + True + contfacinglayout + + + 0 + 2 + 1 + 1 + + + + + C_ontinuous facing + True + True + False + True + 0 + True + defaultlayout + + + 0 + 3 + 1 + 1 + + + + + First page is _left + True + True + False + True + 0 + True + + + 0 + 4 + 1 + 1 + + + + + + + + + True + False + Page layout + + + + + + + + False + True + 1 + + + +