CWS-TOOLING: integrate CWS accfixes
This commit is contained in:
commit
40d16ca36b
4 changed files with 20 additions and 3 deletions
|
@ -473,6 +473,10 @@ ImpPDFTabGeneralPage::ImpPDFTabGeneralPage( Window* pParent,
|
|||
aNewPos.Y() -= nDelta;
|
||||
maCbEmbedStandardFonts.SetPosPixel( aNewPos );
|
||||
}
|
||||
|
||||
maEdPages.SetAccessibleName(maRbRange.GetText());
|
||||
maEdPages.SetAccessibleRelationLabeledBy(&maRbRange);
|
||||
|
||||
maCbExportEmptyPages.SetStyle( maCbExportEmptyPages.GetStyle() | WB_VCENTER );
|
||||
}
|
||||
|
||||
|
@ -658,7 +662,8 @@ SfxTabPage* ImpPDFTabGeneralPage::Create( Window* pParent,
|
|||
IMPL_LINK( ImpPDFTabGeneralPage, TogglePagesHdl, void*, EMPTYARG )
|
||||
{
|
||||
maEdPages.Enable( maRbRange.IsChecked() );
|
||||
maEdPages.SetReadOnly( !maRbRange.IsChecked() );
|
||||
//Sym2_5805, When the control is disabled, it is also readonly. So here, it is not necessary to set it as readonly.
|
||||
//maEdPages.SetReadOnly( !maRbRange.IsChecked() );
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
@ -695,7 +700,8 @@ IMPL_LINK( ImpPDFTabGeneralPage, ToggleAddStreamHdl, void*, EMPTYARG )
|
|||
maRbRange.Enable( sal_False );
|
||||
maRbSelection.Enable( sal_False );
|
||||
maEdPages.Enable( sal_False );
|
||||
maEdPages.SetReadOnly( sal_True );
|
||||
//Sym2_5805, When the control is disabled, it is also readonly. So here, it is not necessary to set it as readonly.
|
||||
//maEdPages.SetReadOnly( sal_True );
|
||||
maRbAll.Enable( sal_False );
|
||||
}
|
||||
else
|
||||
|
@ -799,6 +805,8 @@ ImpPDFTabOpnFtrPage::ImpPDFTabOpnFtrPage( Window* pParent,
|
|||
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);
|
||||
}
|
||||
|
||||
// -----------------------------------------------------------------------------
|
||||
|
@ -961,6 +969,8 @@ ImpPDFTabViewerPage::ImpPDFTabViewerPage( Window* pParent,
|
|||
FreeResource();
|
||||
maRbAllBookmarkLevels.SetToggleHdl( LINK( this, ImpPDFTabViewerPage, ToggleRbBookmarksHdl ) );
|
||||
maRbVisibleBookmarkLevels.SetToggleHdl( LINK( this, ImpPDFTabViewerPage, ToggleRbBookmarksHdl ) );
|
||||
maNumBookmarkLevels.SetAccessibleName(maRbVisibleBookmarkLevels.GetText());
|
||||
maNumBookmarkLevels.SetAccessibleRelationLabeledBy(&maRbVisibleBookmarkLevels);
|
||||
}
|
||||
|
||||
// -----------------------------------------------------------------------------
|
||||
|
|
|
@ -91,6 +91,8 @@ XMLFilterSettingsDialog::XMLFilterSettingsDialog( Window* pParent, ResMgr& rResM
|
|||
mpFilterListBox->SetSelectHdl( LINK( this, XMLFilterSettingsDialog, SelectionChangedHdl_Impl ) );
|
||||
mpFilterListBox->SetDeselectHdl( LINK( this, XMLFilterSettingsDialog, SelectionChangedHdl_Impl ) );
|
||||
mpFilterListBox->SetDoubleClickHdl( LINK( this, XMLFilterSettingsDialog, DoubleClickHdl_Impl ) );
|
||||
mpFilterListBox->SetAccessibleName(String( RESID( STR_XML_FILTER_LISTBOX )));
|
||||
maCtrlFilterList.SetAccessibleName(String( RESID( STR_XML_FILTER_LISTBOX )));
|
||||
mpFilterListBox->SetHelpId( HID_XML_FILTER_LIST );
|
||||
|
||||
maPBNew.SetClickHdl(LINK( this, XMLFilterSettingsDialog, ClickHdl_Impl ) );
|
||||
|
|
|
@ -39,5 +39,5 @@
|
|||
#define PB_XML_FILTER_OPEN 7
|
||||
#define BTN_XML_FILTER_HELP 8
|
||||
#define PB_XML_FILTER_CLOSE 9
|
||||
|
||||
#define STR_XML_FILTER_LISTBOX 10
|
||||
#endif
|
||||
|
|
|
@ -126,6 +126,11 @@ WorkWindow DLG_XML_FILTER_SETTINGS_DIALOG
|
|||
|
||||
};
|
||||
|
||||
String STR_XML_FILTER_LISTBOX
|
||||
{
|
||||
Text [ en-US ] = "XML Filter List";
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue