Lines Matching refs:_pImp
487 ,_pImp( new SvtExpFileDlg_Impl( nBits ) ) in SvtFileDialog()
510 ,_pImp( new SvtExpFileDlg_Impl( nBits ) ) in SvtFileDialog()
522 if ( _pImp->_aIniKey.Len() ) in ~SvtFileDialog()
525 SvtViewOptions aDlgOpt( E_DIALOG, _pImp->_aIniKey ); in ~SvtFileDialog()
534 delete _pImp; in ~SvtFileDialog()
558 _pImp->_nStyle = nStyle; in Init_Impl()
559 _pImp->_a6Size = LogicToPixel( Size( 6, 6 ), MAP_APPFONT ); in Init_Impl()
560 _pImp->_eMode = ( nStyle & WB_SAVEAS ) ? FILEDLG_MODE_SAVE : FILEDLG_MODE_OPEN; in Init_Impl()
561 _pImp->_eDlgType = FILEDLG_TYPE_FILEDLG; in Init_Impl()
564 _pImp->_eDlgType = FILEDLG_TYPE_PATHDLG; in Init_Impl()
573 _pImp->_nState |= FILEDLG_STATE_REMOTE; in Init_Impl()
578 _pImp->_pFtFileName = new FixedText( this, SvtResId( FT_EXPLORERFILE_FILENAME ) ); in Init_Impl()
582 _pImp->_pEdFileName = pURLBox; in Init_Impl()
585 _pImp->_pEdFileName->SetPosSizePixel( aDummy.GetPosPixel(), aDummy.GetSizePixel() ); in Init_Impl()
586 _pImp->_pEdFileName->Show(); in Init_Impl()
591 bool bIsFolderPicker = ( _pImp->_eDlgType == FILEDLG_TYPE_PATHDLG ); in Init_Impl()
595 bool bSaveMode = ( FILEDLG_MODE_SAVE == _pImp->_eMode ); in Init_Impl()
598 _pImp->_pEdFileName->SetHelpId( HID_FILEDLG_AUTOCOMPLETEBOX ); in Init_Impl()
600 _pImp->_pFtFileType = new FixedText( this, SvtResId( FT_EXPLORERFILE_FILETYPE ) ); in Init_Impl()
601 _pImp->CreateFilterListControl( this, SvtResId( LB_EXPLORERFILE_FILETYPE ) ); in Init_Impl()
611 _pImp->_pFtFileType->SetPosPixel( aSharedListBoxLabel.GetPosPixel() ); in Init_Impl()
616 _pImp->GetFilterListControl()->SetPosPixel( aSharedListBox.GetPosPixel() ); in Init_Impl()
620 _pImp->_pFtCurrentPath = new FixedText( this, SvtResId( FT_EXPLORERFILE_CURRENTPATH ) ); in Init_Impl()
621 WinBits nTmpStyle = _pImp->_pFtCurrentPath->GetStyle(); in Init_Impl()
623 _pImp->_pFtCurrentPath->SetStyle( nTmpStyle ); in Init_Impl()
625 _pImp->_pBtnFileOpen = new PushButton( this, SvtResId( BTN_EXPLORERFILE_OPEN ) ); in Init_Impl()
626 _pImp->_pBtnCancel = new CancelButton( this, SvtResId( BTN_EXPLORERFILE_CANCEL ) ); in Init_Impl()
627 _pImp->_pBtnHelp = new HelpButton( this, SvtResId( BTN_EXPLORERFILE_HELP ) ); in Init_Impl()
629 _pImp->_pBtnUp = new SvtUpButton_Impl( this, SvtResId( BTN_EXPLORERFILE_UP ) ); in Init_Impl()
630 _pImp->_pBtnNewFolder = new ImageButton( this, SvtResId( BTN_EXPLORERFILE_NEWFOLDER ) ); in Init_Impl()
631 _pImp->_pBtnNewFolder->SetStyle( _pImp->_pBtnNewFolder->GetStyle() | WB_NOPOINTERFOCUS ); in Init_Impl()
632 _pImp->_pBtnStandard = new SvtTravelButton_Impl( this, SvtResId( BTN_EXPLORERFILE_STANDARD ) ); in Init_Impl()
634 _pImp->_pBtnUp->SetAccessibleName( _pImp->_pBtnUp->GetQuickHelpText() ); in Init_Impl()
635 _pImp->_pBtnNewFolder->SetAccessibleName( _pImp->_pBtnNewFolder->GetQuickHelpText() ); in Init_Impl()
636 _pImp->_pBtnStandard->SetAccessibleName( _pImp->_pBtnStandard->GetQuickHelpText() ); in Init_Impl()
639 _pImp->_bMultiSelection = sal_True; in Init_Impl()
642 FILEDLG_TYPE_PATHDLG == _pImp->_eDlgType, in Init_Impl()
643 _pImp->_bMultiSelection ); in Init_Impl()
652 _pImp->_pBtnNewFolder->SetModeImage( aNewFolderImg ); in Init_Impl()
657 _pImp->_pBtnNewFolder->SetSizePixel( aSize ); in Init_Impl()
658 _pImp->_pBtnUp->SetSizePixel( aSize ); in Init_Impl()
659 _pImp->_pBtnStandard->SetSizePixel( aSize ); in Init_Impl()
675 _pImp->_pBtnUp->GetPosPixel().Y() in Init_Impl()
679 _pImp->_pFtCurrentPath->GetOutputSizePixel().Height() in Init_Impl()
681 _pImp->_pFtCurrentPath->SetOutputSizePixel( aCurPathSize ); in Init_Impl()
682 _pImp->_pBtnUp->SetPosPixel( aPos ); in Init_Impl()
685 _pImp->_pBtnNewFolder->SetPosPixel( aPos ); in Init_Impl()
688 _pImp->_pBtnStandard->SetPosPixel( aPos ); in Init_Impl()
692 Point aCurPathPos = _pImp->_pFtCurrentPath->GetPosPixel(); in Init_Impl()
694 _pImp->_pFtCurrentPath->SetPosPixel( aCurPathPos ); in Init_Impl()
708 _pImp->_pCbPassword = new CheckBox( this, SvtResId( CB_EXPLORERFILE_PASSWORD ) ); in Init_Impl()
709 _pImp->_pCbPassword->SetText( SvtResId( STR_SVT_FILEPICKER_PASSWORD ) ); in Init_Impl()
710 AddControl( _pImp->_pCbPassword ); in Init_Impl()
711 ReleaseOwnerShip( _pImp->_pCbPassword ); in Init_Impl()
712 _pImp->_pCbPassword->SetClickHdl( LINK( this, SvtFileDialog, ClickHdl_Impl ) ); in Init_Impl()
716 _pImp->_aIniKey = IODLG_CONFIGNAME; in Init_Impl()
732 lcl_MoveControl( _pImp->_pFtFileName, 0, nYOffset ); in Init_Impl()
733 lcl_MoveControl( _pImp->_pEdFileName, 0, nYOffset ); in Init_Impl()
735 lcl_MoveControl( _pImp->_pFtFileVersion, 0, nYOffset ); in Init_Impl()
736 lcl_MoveControl( _pImp->_pLbFileVersion, 0, nYOffset ); in Init_Impl()
738 lcl_MoveControl( _pImp->_pFtTemplates, 0, nYOffset ); in Init_Impl()
739 lcl_MoveControl( _pImp->_pLbTemplates, 0, nYOffset ); in Init_Impl()
741 lcl_MoveControl( _pImp->_pFtImageTemplates, 0, nYOffset ); in Init_Impl()
742 lcl_MoveControl( _pImp->_pLbImageTemplates, 0, nYOffset ); in Init_Impl()
744 lcl_MoveControl( _pImp->_pFtFileType, 0, nYOffset ); in Init_Impl()
745 lcl_MoveControl( _pImp->GetFilterListControl(), 0, nYOffset ); in Init_Impl()
747 lcl_MoveControl( _pImp->_pBtnFileOpen, 0, nYOffset ); in Init_Impl()
748 lcl_MoveControl( _pImp->_pBtnCancel, 0, nYOffset ); in Init_Impl()
750 lcl_MoveControl( _pImp->_pBtnHelp, 0, nYOffset + 3 ); in Init_Impl()
770 _pImp->_pFtFileName->SetText( SvtResId( STR_PATHNAME ) ); in Init_Impl()
778 _pImp->_pBtnFileOpen->SetText( SvtResId( nButtonResId ) ); in Init_Impl()
780 if ( FILEDLG_TYPE_FILEDLG != _pImp->_eDlgType ) in Init_Impl()
782 _pImp->_pFtFileType->Hide(); in Init_Impl()
783 _pImp->GetFilterListControl()->Hide(); in Init_Impl()
787 _pImp->_pBtnNewFolder->SetClickHdl( STATIC_LINK( this, SvtFileDialog, NewFolderHdl_Impl ) ); in Init_Impl()
788 _pImp->_pBtnFileOpen->SetClickHdl( STATIC_LINK( this, SvtFileDialog, OpenHdl_Impl ) ); in Init_Impl()
789 _pImp->_pBtnCancel->SetClickHdl( LINK( this, SvtFileDialog, CancelHdl_Impl ) ); in Init_Impl()
790 _pImp->SetFilterListSelectHdl( STATIC_LINK( this, SvtFileDialog, FilterSelectHdl_Impl ) ); in Init_Impl()
791 …_pImp->_pEdFileName->SetGetFocusHdl( STATIC_LINK( this, SvtFileDialog, FileNameGetFocusHdl_Impl ) … in Init_Impl()
792 _pImp->_pEdFileName->SetModifyHdl( STATIC_LINK( this, SvtFileDialog, FileNameModifiedHdl_Impl ) ); in Init_Impl()
801 _pImp->_aFilterTimer.SetTimeout( TRAVELFILTER_TIMEOUT ); in Init_Impl()
802 _pImp->_aFilterTimer.SetTimeoutHdl( STATIC_LINK( this, SvtFileDialog, FilterSelectHdl_Impl ) ); in Init_Impl()
810 _pImp->_pEdFileName->SetHelpId( HID_FILESAVE_FILEURL ); in Init_Impl()
811 _pImp->_pBtnFileOpen->SetHelpId( HID_FILESAVE_DOSAVE ); in Init_Impl()
812 _pImp->_pBtnNewFolder->SetHelpId( HID_FILESAVE_CREATEDIRECTORY ); in Init_Impl()
813 _pImp->_pBtnStandard->SetHelpId( HID_FILESAVE_DEFAULTDIRECTORY ); in Init_Impl()
814 _pImp->_pBtnUp->SetHelpId( HID_FILESAVE_LEVELUP ); in Init_Impl()
815 _pImp->GetFilterListControl()->SetHelpId( HID_FILESAVE_FILETYPE ); in Init_Impl()
824 if ( _pImp->_pLbFileVersion ) in Init_Impl()
825 _pImp->_pLbFileVersion->SetHelpId( HID_FILESAVE_TEMPLATE ); in Init_Impl()
826 if ( _pImp->_pLbTemplates ) in Init_Impl()
827 _pImp->_pLbTemplates->SetHelpId( HID_FILESAVE_TEMPLATE ); in Init_Impl()
828 if ( _pImp->_pLbImageTemplates ) in Init_Impl()
829 _pImp->_pLbImageTemplates->SetHelpId( HID_FILESAVE_TEMPLATE ); in Init_Impl()
831 if ( _pImp->_pCbPassword ) _pImp->_pCbPassword->SetHelpId( HID_FILESAVE_SAVEWITHPASSWORD ); in Init_Impl()
832 if ( _pImp->_pCbAutoExtension ) _pImp->_pCbAutoExtension->SetHelpId( HID_FILESAVE_AUTOEXTENSION ); in Init_Impl()
833 if ( _pImp->_pCbOptions ) _pImp->_pCbOptions->SetHelpId( HID_FILESAVE_CUSTOMIZEFILTER ); in Init_Impl()
884 DELETEZ( _pImp->_pUserFilter ); in createNewUserFilter()
885 _pImp->_pUserFilter = new SvtFileDialogFilter_Impl( _rNewFilter, _rNewFilter ); in createNewUserFilter()
901 String sUserFilter = _pImp->_pUserFilter->GetType(); in createNewUserFilter()
914 if ( _pImp->GetCurFilter( ) ) in createNewUserFilter()
915 SetDefaultExt( _pImp->GetCurFilter( )->GetExtension() ); in createNewUserFilter()
949 _pImp->SelectFilterListEntry( pFilter->GetName() ); in adjustFilter()
950 _pImp->SetCurFilter( pFilter ); in adjustFilter()
976 if ( _pImp->HasFilterListEntry( sAllFilesFilter ) ) in adjustFilter()
978 _pImp->SelectFilterListEntry( sAllFilesFilter ); in adjustFilter()
979 _pImp->SetCurFilter( _pImp->GetSelectedFilterEntry( sAllFilesFilter ) ); in adjustFilter()
982 _pImp->SetNoFilterListSelection( ); // there is no "all files" entry in adjustFilter()
987 _pImp->SetNoFilterListSelection( ); in adjustFilter()
1013 if ( pThis->_pImp->_bMultiSelection && pThis->_pFileView->GetSelectionCount() > 1 ) in IMPL_STATIC_LINK()
1022 if ( pThis->_pImp->_bDoubleClick || pThis->_pFileView->HasChildPathFocus() ) in IMPL_STATIC_LINK()
1038 if ( pThis->_pImp->_eMode == FILEDLG_MODE_OPEN && pThis->_pImp->_pEdFileName->IsTravelSelect() ) in IMPL_STATIC_LINK()
1043 if ( pThis->_pImp->_pEdFileName->GetText().Len() ) in IMPL_STATIC_LINK()
1045 String aText = pThis->_pImp->_pEdFileName->GetText(); in IMPL_STATIC_LINK()
1062 pThis->_pImp->_pEdFileName->SetText( String() ); in IMPL_STATIC_LINK()
1068 aFileName = pThis->_pImp->_pEdFileName->GetURL(); in IMPL_STATIC_LINK()
1071 else if ( pVoid == pThis->_pImp->_pBtnFileOpen ) in IMPL_STATIC_LINK()
1077 if ( !aFileName.Len() && pVoid == pThis->_pImp->_pEdFileName && pThis->_pImp->_pUserFilter ) in IMPL_STATIC_LINK()
1079 DELETEZ( pThis->_pImp->_pUserFilter ); in IMPL_STATIC_LINK()
1087 if( pThis->_pImp->_eDlgType == FILEDLG_TYPE_PATHDLG ) in IMPL_STATIC_LINK()
1089 aFileName = pThis->_pImp->_pFtCurrentPath->GetText(); in IMPL_STATIC_LINK()
1098 pThis->_pImp->_pEdFileName->SetSelection( Selection( 0, nLen ) ); in IMPL_STATIC_LINK()
1110 pThis->_pImp->_pEdFileName->SetText( aFilter ); in IMPL_STATIC_LINK()
1111 pThis->_pImp->_pEdFileName->SetSelection( Selection( 0, aFilter.Len() ) ); in IMPL_STATIC_LINK()
1160 ( pThis->_pImp->_eMode == FILEDLG_MODE_OPEN ) ) in IMPL_STATIC_LINK()
1176 && pThis->_pImp->_pCbAutoExtension // auto extension is enabled in general in IMPL_STATIC_LINK()
1177 && pThis->_pImp->_pCbAutoExtension->IsChecked() // auto extension is really to be used in IMPL_STATIC_LINK()
1180 && !( FILEDLG_MODE_SAVE == pThis->_pImp->_eMode // we're saving a file in IMPL_STATIC_LINK()
1184 && FILEDLG_MODE_OPEN != pThis->_pImp->_eMode // pb: #i83408# don't append extension on open in IMPL_STATIC_LINK()
1190 pThis->_pImp->GetCurFilter()->GetType()); in IMPL_STATIC_LINK()
1193 sal_Bool bOpenFolder = ( FILEDLG_TYPE_PATHDLG == pThis->_pImp->_eDlgType ) && in IMPL_STATIC_LINK()
1194 !pThis->_pImp->_bDoubleClick && pVoid != pThis->_pImp->_pEdFileName; in IMPL_STATIC_LINK()
1249 switch ( pThis->_pImp->_eMode ) in IMPL_STATIC_LINK()
1337 _pImp->_pEdFileName->EnableAutocompletion( _bEnable ); in EnableAutocompletion()
1347 if ( pBox == (ListBox*)&pThis->_pImp->_aFilterTimer ) in IMPL_STATIC_LINK()
1355 …SvtFileDialogFilter_Impl* pSelectedFilter = pThis->_pImp->GetSelectedFilterEntry( sSelectedFilterD… in IMPL_STATIC_LINK()
1360 if ( restoreCurrentFilter( pThis->_pImp ) ) in IMPL_STATIC_LINK()
1368 if ( pThis->_pImp->IsFilterListTravelSelect() ) in IMPL_STATIC_LINK()
1370 pThis->_pImp->SetNoFilterListSelection( ); in IMPL_STATIC_LINK()
1373 if ( pThis->_pImp->_aFilterTimer.IsActive() ) in IMPL_STATIC_LINK()
1374 pThis->_pImp->m_bNeedDelayedFilterExecute = sal_True; in IMPL_STATIC_LINK()
1375 pThis->_pImp->_aFilterTimer.Stop(); in IMPL_STATIC_LINK()
1379 if ( restoreCurrentFilter( pThis->_pImp ) ) in IMPL_STATIC_LINK()
1383 else if ( ( pSelectedFilter != pThis->_pImp->GetCurFilter() ) in IMPL_STATIC_LINK()
1384 || pThis->_pImp->_pUserFilter in IMPL_STATIC_LINK()
1388 String sLastFilterExt = pThis->_pImp->GetCurFilter()->GetExtension(); in IMPL_STATIC_LINK()
1389 DELETEZ( pThis->_pImp->_pUserFilter ); in IMPL_STATIC_LINK()
1392 pThis->_pImp->SetCurFilter( pSelectedFilter, sSelectedFilterDisplayName ); in IMPL_STATIC_LINK()
1406 if ( pThis->_pImp->IsFilterListTravelSelect() ) in IMPL_STATIC_LINK()
1410 pThis->_pImp->_aFilterTimer.Start(); in IMPL_STATIC_LINK()
1415 pThis->_pImp->_aFilterTimer.Stop(); in IMPL_STATIC_LINK()
1463 SvtFileDialogFilterList_Impl* pList = _pImp->_pFilter; in FindFilter_Impl()
1496 _rFilterChanged = _pImp->_pUserFilter || ( _pImp->GetCurFilter() != pFilter ); in FindFilter_Impl()
1510 _pImp->m_bNeedDelayedFilterExecute = sal_False; in ExecuteFilter()
1511 executeAsync( AsyncPickerAction::eExecuteFilter, String(), getMostCurrentFilter( _pImp ) ); in ExecuteFilter()
1547 _pImp->_pEdFileName->SetBaseURL( rURL ); in UpdateControls()
1572 if ( FILEDLG_TYPE_PATHDLG == _pImp->_eDlgType ) in UpdateControls()
1574 _pImp->_pEdFileName->SetText( sText ); in UpdateControls()
1588 _pImp->_pFtCurrentPath->SetText( sText ); in UpdateControls()
1608 if ( FILEDLG_TYPE_PATHDLG == _pImp->_eDlgType ) in IMPL_LINK()
1615 _pImp->_pEdFileName->SetText( aName ); in IMPL_LINK()
1616 _pImp->_pEdFileName->SetSelection( Selection( 0, aName.Len() ) ); in IMPL_LINK()
1621 _pImp->_pEdFileName->SetText( pUserData->maURL ); in IMPL_LINK()
1622 _pImp->_pEdFileName->SetSelection( Selection( 0, pUserData->maURL.Len() ) ); in IMPL_LINK()
1626 _pImp->_pEdFileName->SetText( UniString() ); in IMPL_LINK()
1633 _pImp->_pEdFileName->SetText( aName ); in IMPL_LINK()
1634 _pImp->_pEdFileName->SetSelection( Selection( 0, aName.Len() ) ); in IMPL_LINK()
1640 if ( _pImp->_bMultiSelection && _pFileView->GetSelectionCount() > 1 ) in IMPL_LINK()
1643 _pImp->_pEdFileName->SetText( String() ); in IMPL_LINK()
1655 _pImp->_bDoubleClick = sal_True; in IMPL_LINK()
1657 _pImp->_bDoubleClick = sal_False; in IMPL_LINK()
1677 …EnableControl( _pImp->_pBtnNewFolder, ContentCanMakeFolder( sCurrentFolder ) && m_aURLFilter.isUrl… in IMPL_LINK()
1691 EnableControl( _pImp->_pBtnUp, bCanTravelUp ); in IMPL_LINK()
1705 lcl_autoUpdateFileExtension( this, _pImp->GetCurFilter()->GetExtension() ); in IMPL_LINK()
1719 if ( pCheckBox == _pImp->_pCbOptions ) in IMPL_LINK()
1725 else if ( pCheckBox == _pImp->_pCbPassword ) in IMPL_LINK()
1768 KEY_BACKSPACE == nCode && !_pImp->_pEdFileName->HasChildPathFocus() ) in Notify()
1772 if ( !nRet && _pImp->_pBtnUp->IsEnabled() ) in Notify()
1945 if ( nLevel > 1 && ( FILEDLG_TYPE_FILEDLG == _pImp->_eDlgType || !bDir ) ) in Execute()
1968 _pImp->_pBtnCancel->Enable( sal_True ); in onAsyncOperationStarted()
1969 _pImp->_pBtnCancel->GrabFocus(); in onAsyncOperationStarted()
1978 _pImp->_pEdFileName->GrabFocus(); in onAsyncOperationFinished()
2130 if ( ( _pImp->_nStyle & WB_SAVEAS ) && m_bHasFilename ) in PrepareExecute()
2140 if( _aPath.Len() && (_pImp->_eMode == FILEDLG_MODE_SAVE) in PrepareExecute()
2153 _aPath = lcl_ensureFinalSlash( _pImp->GetStandardDir() ); in PrepareExecute()
2163 if ( _pImp->_nStyle & WB_SAVEAS && !m_bHasFilename ) in PrepareExecute()
2174 _pImp->InitFilterList(); in PrepareExecute()
2179 sal_Bool bHasAll = _pImp->HasFilterListEntry( aAll ); in PrepareExecute()
2180 if ( _pImp->GetCurFilter() || nFilterCount == 1 || ( nFilterCount == 2 && bHasAll ) ) in PrepareExecute()
2184 if ( !_pImp->GetCurFilter() ) in PrepareExecute()
2196 SvtFileDialogFilter_Impl* pNewCurFilter = _pImp->_pFilter->GetObject( nPos ); in PrepareExecute()
2198 _pImp->SetCurFilter( pNewCurFilter, pNewCurFilter->GetName() ); in PrepareExecute()
2202 _pImp->SelectFilterListEntry( _pImp->GetCurFilter()->GetName() ); in PrepareExecute()
2203 SetDefaultExt( _pImp->GetCurFilter()->GetExtension() ); in PrepareExecute()
2214 _pImp->InsertFilterListEntry( pAllFilter ); in PrepareExecute()
2215 _pImp->SetCurFilter( pAllFilter, aAll ); in PrepareExecute()
2217 _pImp->SelectFilterListEntry( aAll ); in PrepareExecute()
2220 _pImp->_pDefaultFilter = _pImp->GetCurFilter(); in PrepareExecute()
2232 _pImp->_pEdFileName->SetText( aFilter ); in PrepareExecute()
2243 _pImp->_pEdFileName->SetText( GET_DECODED_NAME( aFolderURL ) ); in PrepareExecute()
2295 DBG_ASSERT( _pImp->_pBtnStandard, "SvtFileDialog::implInitializeSpecialURLLists: how this?" ); in implInitializeSpecialURLLists()
2296 if ( _pImp->_pBtnStandard ) in implInitializeSpecialURLLists()
2297 _pImp->_pBtnStandard->SetFavouriteLocations( aFavourites ); in implInitializeSpecialURLLists()
2351 _pImp->SetStandardDir( aObj.GetMainURL( INetURLObject::NO_DECODE ) ); in SetStandardDir()
2356 _pImp->SetBlackList( rBlackList ); in SetBlackList()
2363 return _pImp->GetBlackList(); in GetBlackList()
2375 return _pImp->GetStandardDir(); in GetStandardDir()
2395 executeAsync( AsyncPickerAction::eOpenURL, _rURL, getMostCurrentFilter( _pImp ) ); in OpenURL_Impl()
2402 _pImp->_pFilter->C40_INSERT( SvtFileDialogFilter_Impl, pNewFilter, (sal_uInt16)0 ); in implAddFilter()
2404 if ( !_pImp->GetCurFilter() ) in implAddFilter()
2405 _pImp->SetCurFilter( pNewFilter, _rFilter ); in implAddFilter()
2438 sal_uInt16 nPos = _pImp->_pFilter->Count(); in SetCurFilter()
2442 SvtFileDialogFilter_Impl* pFilter = _pImp->_pFilter->GetObject( nPos ); in SetCurFilter()
2445 _pImp->SetCurFilter( pFilter, rFilter ); in SetCurFilter()
2457 const SvtFileDialogFilter_Impl* pCurrentFilter = _pImp->GetCurFilter(); in GetCurFilter()
2473 return _pImp->_pFilter->Count(); in GetFilterCount()
2481 return _pImp->_pFilter->GetObject( nPos )->GetName(); in GetFilterName()
2488 if ( ! _pImp->_aIniKey.Len() ) in InitSize()
2494 if ( !_pImp->_nFixDeltaHeight ) in InitSize()
2500 _pImp->_nFixDeltaHeight = nH - nBoxH; in InitSize()
2504 SvtViewOptions aDlgOpt( E_DIALOG, _pImp->_aIniKey ); in InitSize()
2529 if ( _pImp->_pEdFileName->GetText().Len() && _bIsInExecute ) in GetPathList()
2530 pURL = new String( _pImp->_pEdFileName->GetURL() ); in GetPathList()
2558 _pImp->_pFtCurrentPath, in implArrangeControls()
2559 _pImp->_pBtnUp, _pImp->_pBtnNewFolder, _pImp->_pBtnStandard, // image buttons in implArrangeControls()
2561 _pImp->_pFtFileName, _pImp->_pEdFileName, in implArrangeControls()
2562 _pImp->_pFtFileVersion, _pImp->_pLbFileVersion, in implArrangeControls()
2563 _pImp->_pFtTemplates, _pImp->_pLbTemplates, in implArrangeControls()
2564 _pImp->_pFtImageTemplates, _pImp->_pLbImageTemplates, in implArrangeControls()
2565 … _pImp->_pFtFileType, _pImp->GetFilterListControl(), // edit fields/list boxes in implArrangeControls()
2566 _pImp->_pCbPassword, _pImp->_pCbAutoExtension, _pImp->_pCbOptions, // checkboxes in implArrangeControls()
2568 _pImp->_pBtnFileOpen, _pImp->_pBtnCancel, _pImp->_pBtnHelp // buttons in implArrangeControls()
2593 _pImp->_pEdFileName->GrabFocus(); in implArrangeControls()
2686 if ( _pImp->_pBtnUp ) in implUpdateImages()
2687 _pImp->_pBtnUp->SetModeImage( GetButtonImage( IMG_FILEDLG_BTN_UP ) ); in implUpdateImages()
2689 if ( _pImp->_pBtnStandard ) in implUpdateImages()
2690 _pImp->_pBtnStandard->SetModeImage( GetButtonImage( IMG_FILEDLG_BTN_STD ) ); in implUpdateImages()
2692 if ( _pImp->_pBtnNewFolder ) in implUpdateImages()
2693 _pImp->_pBtnNewFolder->SetModeImage( GetButtonImage( IMG_FILEDLG_CREATEFOLDER ) ); in implUpdateImages()
2712 Size aOldSize = _pImp->_aDlgSize; in Resize()
2713 _pImp->_aDlgSize = aDlgSize; in Resize()
2719 nWinDeltaW = _pPrevWin->GetOutputSizePixel().Width() + _pImp->_a6Size.Width(); in Resize()
2726 aNewSize.Height() = aDlgSize.Height() - _pImp->_nFixDeltaHeight; in Resize()
2727 aNewSize.Width() = aDlgSize.Width() - aBoxPos.X() - _pImp->_a6Size.Width() - nWinDeltaW; in Resize()
2729 nDeltaY = _pImp->_aDlgSize.Height() - aOldSize.Height(); in Resize()
2752 _pImp->_pFtFileName, _pImp->_pEdFileName, _pImp->_pFtFileVersion, _pImp->_pLbFileVersion, in Resize()
2753 _pImp->_pFtTemplates, _pImp->_pLbTemplates, _pImp->_pFtImageTemplates, _pImp->_pLbImageTemplates, in Resize()
2754 _pImp->_pFtFileType, _pImp->GetFilterListControl(), _pCbReadOnly, _pCbLinkBox, _pCbPreviewBox, in Resize()
2755 _pPbPlay, _pImp->_pCbPassword, _pImp->_pCbAutoExtension, _pImp->_pCbOptions, _pCbSelection in Resize()
2767 _pImp->_pBtnFileOpen, _pImp->_pBtnCancel, _pImp->_pBtnHelp in Resize()
2779 _pImp->_pBtnUp, _pImp->_pBtnNewFolder, _pImp->_pBtnStandard in Resize()
2792 _pImp->_pEdFileName, _pImp->_pLbFileVersion, _pImp->_pLbTemplates, _pImp->_pLbImageTemplates, in Resize()
2793 _pImp->GetFilterListControl(), _pImp->_pFtCurrentPath, in Resize()
2822 aNewSize.Height() -= ( _pImp->_a6Size.Height() / 2 ); in Resize()
2847 ? static_cast< Control* >( _pImp->_pFtFileName ) in getControl()
2848 : static_cast< Control* >( _pImp->_pEdFileName ); in getControl()
2852 pReturn = static_cast< Control* >( _pImp->_pFtFileName ); in getControl()
2856 pReturn = _pImp->_pCbAutoExtension; in getControl()
2860 pReturn = _pImp->_pCbPassword; in getControl()
2864 pReturn = _pImp->_pCbOptions; in getControl()
2884 pReturn = _bLabelControl ? _pImp->_pFtFileType : _pImp->GetFilterListControl(); in getControl()
2888 pReturn = _pImp->_pFtFileType; in getControl()
2892 pReturn = _pImp->_pFtCurrentPath; in getControl()
2897 ? static_cast< Control* >( _pImp->_pFtFileVersion ) in getControl()
2898 : static_cast< Control* >( _pImp->_pLbFileVersion ); in getControl()
2903 ? static_cast< Control* >( _pImp->_pFtTemplates ) in getControl()
2904 : static_cast< Control* >( _pImp->_pLbTemplates ); in getControl()
2909 ? static_cast< Control* >( _pImp->_pFtImageTemplates ) in getControl()
2910 : static_cast< Control* >( _pImp->_pLbImageTemplates ); in getControl()
2914 pReturn = _pImp->_pFtFileVersion; in getControl()
2918 pReturn = _pImp->_pFtTemplates; in getControl()
2922 pReturn = _pImp->_pFtImageTemplates; in getControl()
2926 pReturn = _pImp->_pBtnFileOpen; in getControl()
2930 pReturn = _pImp->_pBtnCancel; in getControl()
2938 pReturn = _pImp->_pBtnHelp; in getControl()
2942 pReturn = _pImp->_pBtnStandard; in getControl()
2946 pReturn = _pImp->_pBtnUp; in getControl()
2950 pReturn = _pImp->_pBtnNewFolder; in getControl()
2991 _pImp->_aIniKey = IMPGRF_CONFIGNAME; in AddControls_Impl()
2994 _pImp->DisableFilterBoxAutoWidth(); in AddControls_Impl()
3018 _pImp->_pCbAutoExtension = new CheckBox( this, SvtResId( CB_AUTO_EXTENSION ) ); in AddControls_Impl()
3019 _pImp->_pCbAutoExtension->SetText( SvtResId( STR_SVT_FILEPICKER_AUTO_EXTENSION ) ); in AddControls_Impl()
3020 _pImp->_pCbAutoExtension->Check( sal_True ); in AddControls_Impl()
3021 AddControl( _pImp->_pCbAutoExtension ); in AddControls_Impl()
3022 ReleaseOwnerShip( _pImp->_pCbAutoExtension ); in AddControls_Impl()
3023 _pImp->_pCbAutoExtension->SetClickHdl( LINK( this, SvtFileDialog, AutoExtensionHdl_Impl ) ); in AddControls_Impl()
3028 _pImp->_pCbOptions = new CheckBox( this, SvtResId( CB_OPTIONS ) ); in AddControls_Impl()
3029 _pImp->_pCbOptions->SetText( SvtResId( STR_SVT_FILEPICKER_FILTER_OPTIONS ) ); in AddControls_Impl()
3030 AddControl( _pImp->_pCbOptions ); in AddControls_Impl()
3031 ReleaseOwnerShip( _pImp->_pCbOptions ); in AddControls_Impl()
3032 _pImp->_pCbOptions->SetClickHdl( LINK( this, SvtFileDialog, ClickHdl_Impl ) ); in AddControls_Impl()
3056 _pImp->_pFtFileVersion = new FixedText( this, SvtResId( FT_EXPLORERFILE_SHARED_LISTBOX ) ); in AddControls_Impl()
3057 _pImp->_pFtFileVersion->SetText( SvtResId( STR_SVT_FILEPICKER_VERSION ) ); in AddControls_Impl()
3059 _pImp->_pLbFileVersion = new ListBox( this, SvtResId( LB_EXPLORERFILE_SHARED_LISTBOX ) ); in AddControls_Impl()
3060 _pImp->_pLbFileVersion->SetHelpId( HID_FILEOPEN_VERSION ); in AddControls_Impl()
3064 _pImp->_pFtTemplates = new FixedText( this, SvtResId( FT_EXPLORERFILE_SHARED_LISTBOX ) ); in AddControls_Impl()
3065 _pImp->_pFtTemplates->SetText( SvtResId( STR_SVT_FILEPICKER_TEMPLATES ) ); in AddControls_Impl()
3067 _pImp->_pLbTemplates = new ListBox( this, SvtResId( LB_EXPLORERFILE_SHARED_LISTBOX ) ); in AddControls_Impl()
3068 _pImp->_pLbTemplates->SetHelpId( HID_FILEOPEN_VERSION ); in AddControls_Impl()
3076 _pImp->_pFtImageTemplates = new FixedText( this, SvtResId( FT_EXPLORERFILE_SHARED_LISTBOX ) ); in AddControls_Impl()
3077 _pImp->_pFtImageTemplates->SetText( SvtResId( STR_SVT_FILEPICKER_IMAGE_TEMPLATE ) ); in AddControls_Impl()
3079 _pImp->_pLbImageTemplates = new ListBox( this, SvtResId( LB_EXPLORERFILE_SHARED_LISTBOX ) ); in AddControls_Impl()
3080 _pImp->_pLbImageTemplates->SetHelpId( HID_FILEOPEN_IMAGE_TEMPLATE ); in AddControls_Impl()
3167 if ( _pImp && _pImp->_pEdFileName ) in getCurrentFileText()
3168 sReturn = _pImp->_pEdFileName->GetText(); in getCurrentFileText()
3175 if ( _pImp && _pImp->_pEdFileName ) in setCurrentFileText()
3177 _pImp->_pEdFileName->SetText( _rText ); in setCurrentFileText()
3179 _pImp->_pEdFileName->SetSelection( Selection( 0, _rText.Len() ) ); in setCurrentFileText()
3186 return _pImp->_pCbAutoExtension && _pImp->_pCbAutoExtension->IsChecked(); in isAutoExtensionEnabled()