Lines Matching refs:_pImp

489 	,_pImp( new SvtExpFileDlg_Impl( nBits ) )  in SvtFileDialog()
512 ,_pImp( new SvtExpFileDlg_Impl( nBits ) ) in SvtFileDialog()
524 if ( _pImp->_aIniKey.Len() ) in ~SvtFileDialog()
527 SvtViewOptions aDlgOpt( E_DIALOG, _pImp->_aIniKey ); in ~SvtFileDialog()
536 delete _pImp; in ~SvtFileDialog()
560 _pImp->_nStyle = nStyle; in Init_Impl()
561 _pImp->_a6Size = LogicToPixel( Size( 6, 6 ), MAP_APPFONT ); in Init_Impl()
562 _pImp->_eMode = ( nStyle & WB_SAVEAS ) ? FILEDLG_MODE_SAVE : FILEDLG_MODE_OPEN; in Init_Impl()
563 _pImp->_eDlgType = FILEDLG_TYPE_FILEDLG; in Init_Impl()
566 _pImp->_eDlgType = FILEDLG_TYPE_PATHDLG; in Init_Impl()
575 _pImp->_nState |= FILEDLG_STATE_REMOTE; in Init_Impl()
580 _pImp->_pFtFileName = new FixedText( this, SvtResId( FT_EXPLORERFILE_FILENAME ) ); in Init_Impl()
584 _pImp->_pEdFileName = pURLBox; in Init_Impl()
587 _pImp->_pEdFileName->SetPosSizePixel( aDummy.GetPosPixel(), aDummy.GetSizePixel() ); in Init_Impl()
588 _pImp->_pEdFileName->Show(); in Init_Impl()
593 bool bIsFolderPicker = ( _pImp->_eDlgType == FILEDLG_TYPE_PATHDLG ); in Init_Impl()
597 bool bSaveMode = ( FILEDLG_MODE_SAVE == _pImp->_eMode ); in Init_Impl()
600 _pImp->_pEdFileName->SetHelpId( HID_FILEDLG_AUTOCOMPLETEBOX ); in Init_Impl()
602 _pImp->_pFtFileType = new FixedText( this, SvtResId( FT_EXPLORERFILE_FILETYPE ) ); in Init_Impl()
603 _pImp->CreateFilterListControl( this, SvtResId( LB_EXPLORERFILE_FILETYPE ) ); in Init_Impl()
613 _pImp->_pFtFileType->SetPosPixel( aSharedListBoxLabel.GetPosPixel() ); in Init_Impl()
618 _pImp->GetFilterListControl()->SetPosPixel( aSharedListBox.GetPosPixel() ); in Init_Impl()
622 _pImp->_pFtCurrentPath = new FixedText( this, SvtResId( FT_EXPLORERFILE_CURRENTPATH ) ); in Init_Impl()
623 WinBits nTmpStyle = _pImp->_pFtCurrentPath->GetStyle(); in Init_Impl()
625 _pImp->_pFtCurrentPath->SetStyle( nTmpStyle ); in Init_Impl()
627 _pImp->_pBtnFileOpen = new PushButton( this, SvtResId( BTN_EXPLORERFILE_OPEN ) ); in Init_Impl()
628 _pImp->_pBtnCancel = new CancelButton( this, SvtResId( BTN_EXPLORERFILE_CANCEL ) ); in Init_Impl()
629 _pImp->_pBtnHelp = new HelpButton( this, SvtResId( BTN_EXPLORERFILE_HELP ) ); in Init_Impl()
631 _pImp->_pBtnUp = new SvtUpButton_Impl( this, SvtResId( BTN_EXPLORERFILE_UP ) ); in Init_Impl()
632 _pImp->_pBtnNewFolder = new ImageButton( this, SvtResId( BTN_EXPLORERFILE_NEWFOLDER ) ); in Init_Impl()
633 _pImp->_pBtnNewFolder->SetStyle( _pImp->_pBtnNewFolder->GetStyle() | WB_NOPOINTERFOCUS ); in Init_Impl()
634 _pImp->_pBtnStandard = new SvtTravelButton_Impl( this, SvtResId( BTN_EXPLORERFILE_STANDARD ) ); in Init_Impl()
636 _pImp->_pBtnUp->SetAccessibleName( _pImp->_pBtnUp->GetQuickHelpText() ); in Init_Impl()
637 _pImp->_pBtnNewFolder->SetAccessibleName( _pImp->_pBtnNewFolder->GetQuickHelpText() ); in Init_Impl()
638 _pImp->_pBtnStandard->SetAccessibleName( _pImp->_pBtnStandard->GetQuickHelpText() ); in Init_Impl()
641 _pImp->_bMultiSelection = sal_True; in Init_Impl()
644 FILEDLG_TYPE_PATHDLG == _pImp->_eDlgType, in Init_Impl()
645 _pImp->_bMultiSelection ); in Init_Impl()
654 _pImp->_pBtnNewFolder->SetModeImage( aNewFolderImg ); in Init_Impl()
659 _pImp->_pBtnNewFolder->SetSizePixel( aSize ); in Init_Impl()
660 _pImp->_pBtnUp->SetSizePixel( aSize ); in Init_Impl()
661 _pImp->_pBtnStandard->SetSizePixel( aSize ); in Init_Impl()
677 _pImp->_pBtnUp->GetPosPixel().Y() in Init_Impl()
681 _pImp->_pFtCurrentPath->GetOutputSizePixel().Height() in Init_Impl()
683 _pImp->_pFtCurrentPath->SetOutputSizePixel( aCurPathSize ); in Init_Impl()
684 _pImp->_pBtnUp->SetPosPixel( aPos ); in Init_Impl()
687 _pImp->_pBtnNewFolder->SetPosPixel( aPos ); in Init_Impl()
690 _pImp->_pBtnStandard->SetPosPixel( aPos ); in Init_Impl()
694 Point aCurPathPos = _pImp->_pFtCurrentPath->GetPosPixel(); in Init_Impl()
696 _pImp->_pFtCurrentPath->SetPosPixel( aCurPathPos ); in Init_Impl()
710 _pImp->_pCbPassword = new CheckBox( this, SvtResId( CB_EXPLORERFILE_PASSWORD ) ); in Init_Impl()
711 _pImp->_pCbPassword->SetText( SvtResId( STR_SVT_FILEPICKER_PASSWORD ) ); in Init_Impl()
712 AddControl( _pImp->_pCbPassword ); in Init_Impl()
713 ReleaseOwnerShip( _pImp->_pCbPassword ); in Init_Impl()
714 _pImp->_pCbPassword->SetClickHdl( LINK( this, SvtFileDialog, ClickHdl_Impl ) ); in Init_Impl()
718 _pImp->_aIniKey = IODLG_CONFIGNAME; in Init_Impl()
734 lcl_MoveControl( _pImp->_pFtFileName, 0, nYOffset ); in Init_Impl()
735 lcl_MoveControl( _pImp->_pEdFileName, 0, nYOffset ); in Init_Impl()
737 lcl_MoveControl( _pImp->_pFtFileVersion, 0, nYOffset ); in Init_Impl()
738 lcl_MoveControl( _pImp->_pLbFileVersion, 0, nYOffset ); in Init_Impl()
740 lcl_MoveControl( _pImp->_pFtTemplates, 0, nYOffset ); in Init_Impl()
741 lcl_MoveControl( _pImp->_pLbTemplates, 0, nYOffset ); in Init_Impl()
743 lcl_MoveControl( _pImp->_pFtImageTemplates, 0, nYOffset ); in Init_Impl()
744 lcl_MoveControl( _pImp->_pLbImageTemplates, 0, nYOffset ); in Init_Impl()
746 lcl_MoveControl( _pImp->_pFtFileType, 0, nYOffset ); in Init_Impl()
747 lcl_MoveControl( _pImp->GetFilterListControl(), 0, nYOffset ); in Init_Impl()
749 lcl_MoveControl( _pImp->_pBtnFileOpen, 0, nYOffset ); in Init_Impl()
750 lcl_MoveControl( _pImp->_pBtnCancel, 0, nYOffset ); in Init_Impl()
752 lcl_MoveControl( _pImp->_pBtnHelp, 0, nYOffset + 3 ); in Init_Impl()
772 _pImp->_pFtFileName->SetText( SvtResId( STR_PATHNAME ) ); in Init_Impl()
780 _pImp->_pBtnFileOpen->SetText( SvtResId( nButtonResId ) ); in Init_Impl()
782 if ( FILEDLG_TYPE_FILEDLG != _pImp->_eDlgType ) in Init_Impl()
784 _pImp->_pFtFileType->Hide(); in Init_Impl()
785 _pImp->GetFilterListControl()->Hide(); in Init_Impl()
789 _pImp->_pBtnNewFolder->SetClickHdl( STATIC_LINK( this, SvtFileDialog, NewFolderHdl_Impl ) ); in Init_Impl()
790 _pImp->_pBtnFileOpen->SetClickHdl( STATIC_LINK( this, SvtFileDialog, OpenHdl_Impl ) ); in Init_Impl()
791 _pImp->_pBtnCancel->SetClickHdl( LINK( this, SvtFileDialog, CancelHdl_Impl ) ); in Init_Impl()
792 _pImp->SetFilterListSelectHdl( STATIC_LINK( this, SvtFileDialog, FilterSelectHdl_Impl ) ); in Init_Impl()
793_pImp->_pEdFileName->SetGetFocusHdl( STATIC_LINK( this, SvtFileDialog, FileNameGetFocusHdl_Impl ) … in Init_Impl()
794 _pImp->_pEdFileName->SetModifyHdl( STATIC_LINK( this, SvtFileDialog, FileNameModifiedHdl_Impl ) ); in Init_Impl()
803 _pImp->_aFilterTimer.SetTimeout( TRAVELFILTER_TIMEOUT ); in Init_Impl()
804 _pImp->_aFilterTimer.SetTimeoutHdl( STATIC_LINK( this, SvtFileDialog, FilterSelectHdl_Impl ) ); in Init_Impl()
812 _pImp->_pEdFileName->SetHelpId( HID_FILESAVE_FILEURL ); in Init_Impl()
813 _pImp->_pBtnFileOpen->SetHelpId( HID_FILESAVE_DOSAVE ); in Init_Impl()
814 _pImp->_pBtnNewFolder->SetHelpId( HID_FILESAVE_CREATEDIRECTORY ); in Init_Impl()
815 _pImp->_pBtnStandard->SetHelpId( HID_FILESAVE_DEFAULTDIRECTORY ); in Init_Impl()
816 _pImp->_pBtnUp->SetHelpId( HID_FILESAVE_LEVELUP ); in Init_Impl()
817 _pImp->GetFilterListControl()->SetHelpId( HID_FILESAVE_FILETYPE ); in Init_Impl()
826 if ( _pImp->_pLbFileVersion ) in Init_Impl()
827 _pImp->_pLbFileVersion->SetHelpId( HID_FILESAVE_TEMPLATE ); in Init_Impl()
828 if ( _pImp->_pLbTemplates ) in Init_Impl()
829 _pImp->_pLbTemplates->SetHelpId( HID_FILESAVE_TEMPLATE ); in Init_Impl()
830 if ( _pImp->_pLbImageTemplates ) in Init_Impl()
831 _pImp->_pLbImageTemplates->SetHelpId( HID_FILESAVE_TEMPLATE ); in Init_Impl()
833 if ( _pImp->_pCbPassword ) _pImp->_pCbPassword->SetHelpId( HID_FILESAVE_SAVEWITHPASSWORD ); in Init_Impl()
834 if ( _pImp->_pCbAutoExtension ) _pImp->_pCbAutoExtension->SetHelpId( HID_FILESAVE_AUTOEXTENSION ); in Init_Impl()
835 if ( _pImp->_pCbOptions ) _pImp->_pCbOptions->SetHelpId( HID_FILESAVE_CUSTOMIZEFILTER ); in Init_Impl()
886 DELETEZ( _pImp->_pUserFilter ); in createNewUserFilter()
887 _pImp->_pUserFilter = new SvtFileDialogFilter_Impl( _rNewFilter, _rNewFilter ); in createNewUserFilter()
903 String sUserFilter = _pImp->_pUserFilter->GetType(); in createNewUserFilter()
916 if ( _pImp->GetCurFilter( ) ) in createNewUserFilter()
917 SetDefaultExt( _pImp->GetCurFilter( )->GetExtension() ); in createNewUserFilter()
951 _pImp->SelectFilterListEntry( pFilter->GetName() ); in adjustFilter()
952 _pImp->SetCurFilter( pFilter ); in adjustFilter()
978 if ( _pImp->HasFilterListEntry( sAllFilesFilter ) ) in adjustFilter()
980 _pImp->SelectFilterListEntry( sAllFilesFilter ); in adjustFilter()
981 _pImp->SetCurFilter( _pImp->GetSelectedFilterEntry( sAllFilesFilter ) ); in adjustFilter()
984 _pImp->SetNoFilterListSelection( ); // there is no "all files" entry in adjustFilter()
989 _pImp->SetNoFilterListSelection( ); in adjustFilter()
1015 if ( pThis->_pImp->_bMultiSelection && pThis->_pFileView->GetSelectionCount() > 1 ) in IMPL_STATIC_LINK()
1024 if ( pThis->_pImp->_bDoubleClick || pThis->_pFileView->HasChildPathFocus() ) in IMPL_STATIC_LINK()
1040 if ( pThis->_pImp->_eMode == FILEDLG_MODE_OPEN && pThis->_pImp->_pEdFileName->IsTravelSelect() ) in IMPL_STATIC_LINK()
1045 if ( pThis->_pImp->_pEdFileName->GetText().Len() ) in IMPL_STATIC_LINK()
1047 String aText = pThis->_pImp->_pEdFileName->GetText(); in IMPL_STATIC_LINK()
1064 pThis->_pImp->_pEdFileName->SetText( String() ); in IMPL_STATIC_LINK()
1070 aFileName = pThis->_pImp->_pEdFileName->GetURL(); in IMPL_STATIC_LINK()
1073 else if ( pVoid == pThis->_pImp->_pBtnFileOpen ) in IMPL_STATIC_LINK()
1079 if ( !aFileName.Len() && pVoid == pThis->_pImp->_pEdFileName && pThis->_pImp->_pUserFilter ) in IMPL_STATIC_LINK()
1081 DELETEZ( pThis->_pImp->_pUserFilter ); in IMPL_STATIC_LINK()
1089 if( pThis->_pImp->_eDlgType == FILEDLG_TYPE_PATHDLG ) in IMPL_STATIC_LINK()
1091 aFileName = pThis->_pImp->_pFtCurrentPath->GetText(); in IMPL_STATIC_LINK()
1100 pThis->_pImp->_pEdFileName->SetSelection( Selection( 0, nLen ) ); in IMPL_STATIC_LINK()
1112 pThis->_pImp->_pEdFileName->SetText( aFilter ); in IMPL_STATIC_LINK()
1113 pThis->_pImp->_pEdFileName->SetSelection( Selection( 0, aFilter.Len() ) ); in IMPL_STATIC_LINK()
1162 ( pThis->_pImp->_eMode == FILEDLG_MODE_OPEN ) ) in IMPL_STATIC_LINK()
1178 && pThis->_pImp->_pCbAutoExtension // auto extension is enabled in general in IMPL_STATIC_LINK()
1179 && pThis->_pImp->_pCbAutoExtension->IsChecked() // auto extension is really to be used in IMPL_STATIC_LINK()
1182 && !( FILEDLG_MODE_SAVE == pThis->_pImp->_eMode // we're saving a file in IMPL_STATIC_LINK()
1186 && FILEDLG_MODE_OPEN != pThis->_pImp->_eMode // pb: #i83408# don't append extension on open in IMPL_STATIC_LINK()
1192 pThis->_pImp->GetCurFilter()->GetType()); in IMPL_STATIC_LINK()
1195 sal_Bool bOpenFolder = ( FILEDLG_TYPE_PATHDLG == pThis->_pImp->_eDlgType ) && in IMPL_STATIC_LINK()
1196 !pThis->_pImp->_bDoubleClick && pVoid != pThis->_pImp->_pEdFileName; in IMPL_STATIC_LINK()
1251 switch ( pThis->_pImp->_eMode ) in IMPL_STATIC_LINK()
1339 _pImp->_pEdFileName->EnableAutocompletion( _bEnable ); in EnableAutocompletion()
1349 if ( pBox == (ListBox*)&pThis->_pImp->_aFilterTimer ) in IMPL_STATIC_LINK()
1357 …SvtFileDialogFilter_Impl* pSelectedFilter = pThis->_pImp->GetSelectedFilterEntry( sSelectedFilterD… in IMPL_STATIC_LINK()
1362 if ( restoreCurrentFilter( pThis->_pImp ) ) in IMPL_STATIC_LINK()
1370 if ( pThis->_pImp->IsFilterListTravelSelect() ) in IMPL_STATIC_LINK()
1372 pThis->_pImp->SetNoFilterListSelection( ); in IMPL_STATIC_LINK()
1375 if ( pThis->_pImp->_aFilterTimer.IsActive() ) in IMPL_STATIC_LINK()
1376 pThis->_pImp->m_bNeedDelayedFilterExecute = sal_True; in IMPL_STATIC_LINK()
1377 pThis->_pImp->_aFilterTimer.Stop(); in IMPL_STATIC_LINK()
1381 if ( restoreCurrentFilter( pThis->_pImp ) ) in IMPL_STATIC_LINK()
1385 else if ( ( pSelectedFilter != pThis->_pImp->GetCurFilter() ) in IMPL_STATIC_LINK()
1386 || pThis->_pImp->_pUserFilter in IMPL_STATIC_LINK()
1390 String sLastFilterExt = pThis->_pImp->GetCurFilter()->GetExtension(); in IMPL_STATIC_LINK()
1391 DELETEZ( pThis->_pImp->_pUserFilter ); in IMPL_STATIC_LINK()
1394 pThis->_pImp->SetCurFilter( pSelectedFilter, sSelectedFilterDisplayName ); in IMPL_STATIC_LINK()
1408 if ( pThis->_pImp->IsFilterListTravelSelect() ) in IMPL_STATIC_LINK()
1412 pThis->_pImp->_aFilterTimer.Start(); in IMPL_STATIC_LINK()
1417 pThis->_pImp->_aFilterTimer.Stop(); in IMPL_STATIC_LINK()
1465 SvtFileDialogFilterList_Impl* pList = _pImp->_pFilter; in FindFilter_Impl()
1498 _rFilterChanged = _pImp->_pUserFilter || ( _pImp->GetCurFilter() != pFilter ); in FindFilter_Impl()
1512 _pImp->m_bNeedDelayedFilterExecute = sal_False; in ExecuteFilter()
1513 executeAsync( AsyncPickerAction::eExecuteFilter, String(), getMostCurrentFilter( _pImp ) ); in ExecuteFilter()
1549 _pImp->_pEdFileName->SetBaseURL( rURL ); in UpdateControls()
1574 if ( FILEDLG_TYPE_PATHDLG == _pImp->_eDlgType ) in UpdateControls()
1576 _pImp->_pEdFileName->SetText( sText ); in UpdateControls()
1590 _pImp->_pFtCurrentPath->SetText( sText ); in UpdateControls()
1610 if ( FILEDLG_TYPE_PATHDLG == _pImp->_eDlgType ) in IMPL_LINK()
1617 _pImp->_pEdFileName->SetText( aName ); in IMPL_LINK()
1618 _pImp->_pEdFileName->SetSelection( Selection( 0, aName.Len() ) ); in IMPL_LINK()
1623 _pImp->_pEdFileName->SetText( pUserData->maURL ); in IMPL_LINK()
1624 _pImp->_pEdFileName->SetSelection( Selection( 0, pUserData->maURL.Len() ) ); in IMPL_LINK()
1628 _pImp->_pEdFileName->SetText( UniString() ); in IMPL_LINK()
1635 _pImp->_pEdFileName->SetText( aName ); in IMPL_LINK()
1636 _pImp->_pEdFileName->SetSelection( Selection( 0, aName.Len() ) ); in IMPL_LINK()
1642 if ( _pImp->_bMultiSelection && _pFileView->GetSelectionCount() > 1 ) in IMPL_LINK()
1645 _pImp->_pEdFileName->SetText( String() ); in IMPL_LINK()
1657 _pImp->_bDoubleClick = sal_True; in IMPL_LINK()
1659 _pImp->_bDoubleClick = sal_False; in IMPL_LINK()
1679 …EnableControl( _pImp->_pBtnNewFolder, ContentCanMakeFolder( sCurrentFolder ) && m_aURLFilter.isUrl… in IMPL_LINK()
1693 EnableControl( _pImp->_pBtnUp, bCanTravelUp ); in IMPL_LINK()
1707 lcl_autoUpdateFileExtension( this, _pImp->GetCurFilter()->GetExtension() ); in IMPL_LINK()
1721 if ( pCheckBox == _pImp->_pCbOptions ) in IMPL_LINK()
1727 else if ( pCheckBox == _pImp->_pCbPassword ) in IMPL_LINK()
1770 KEY_BACKSPACE == nCode && !_pImp->_pEdFileName->HasChildPathFocus() ) in Notify()
1774 if ( !nRet && _pImp->_pBtnUp->IsEnabled() ) in Notify()
1947 if ( nLevel > 1 && ( FILEDLG_TYPE_FILEDLG == _pImp->_eDlgType || !bDir ) ) in Execute()
1970 _pImp->_pBtnCancel->Enable( sal_True ); in onAsyncOperationStarted()
1971 _pImp->_pBtnCancel->GrabFocus(); in onAsyncOperationStarted()
1980 _pImp->_pEdFileName->GrabFocus(); in onAsyncOperationFinished()
2132 if ( ( _pImp->_nStyle & WB_SAVEAS ) && m_bHasFilename ) in PrepareExecute()
2142 if( _aPath.Len() && (_pImp->_eMode == FILEDLG_MODE_SAVE) in PrepareExecute()
2155 _aPath = lcl_ensureFinalSlash( _pImp->GetStandardDir() ); in PrepareExecute()
2165 if ( _pImp->_nStyle & WB_SAVEAS && !m_bHasFilename ) in PrepareExecute()
2176 _pImp->InitFilterList(); in PrepareExecute()
2181 sal_Bool bHasAll = _pImp->HasFilterListEntry( aAll ); in PrepareExecute()
2182 if ( _pImp->GetCurFilter() || nFilterCount == 1 || ( nFilterCount == 2 && bHasAll ) ) in PrepareExecute()
2186 if ( !_pImp->GetCurFilter() ) in PrepareExecute()
2198 SvtFileDialogFilter_Impl* pNewCurFilter = _pImp->_pFilter->GetObject( nPos ); in PrepareExecute()
2200 _pImp->SetCurFilter( pNewCurFilter, pNewCurFilter->GetName() ); in PrepareExecute()
2204 _pImp->SelectFilterListEntry( _pImp->GetCurFilter()->GetName() ); in PrepareExecute()
2205 SetDefaultExt( _pImp->GetCurFilter()->GetExtension() ); in PrepareExecute()
2216 _pImp->InsertFilterListEntry( pAllFilter ); in PrepareExecute()
2217 _pImp->SetCurFilter( pAllFilter, aAll ); in PrepareExecute()
2219 _pImp->SelectFilterListEntry( aAll ); in PrepareExecute()
2222 _pImp->_pDefaultFilter = _pImp->GetCurFilter(); in PrepareExecute()
2234 _pImp->_pEdFileName->SetText( aFilter ); in PrepareExecute()
2245 _pImp->_pEdFileName->SetText( GET_DECODED_NAME( aFolderURL ) ); in PrepareExecute()
2297 DBG_ASSERT( _pImp->_pBtnStandard, "SvtFileDialog::implInitializeSpecialURLLists: how this?" ); in implInitializeSpecialURLLists()
2298 if ( _pImp->_pBtnStandard ) in implInitializeSpecialURLLists()
2299 _pImp->_pBtnStandard->SetFavouriteLocations( aFavourites ); in implInitializeSpecialURLLists()
2353 _pImp->SetStandardDir( aObj.GetMainURL( INetURLObject::NO_DECODE ) ); in SetStandardDir()
2358 _pImp->SetBlackList( rBlackList ); in SetBlackList()
2365 return _pImp->GetBlackList(); in GetBlackList()
2377 return _pImp->GetStandardDir(); in GetStandardDir()
2397 executeAsync( AsyncPickerAction::eOpenURL, _rURL, getMostCurrentFilter( _pImp ) ); in OpenURL_Impl()
2404 _pImp->_pFilter->C40_INSERT( SvtFileDialogFilter_Impl, pNewFilter, (sal_uInt16)0 ); in implAddFilter()
2406 if ( !_pImp->GetCurFilter() ) in implAddFilter()
2407 _pImp->SetCurFilter( pNewFilter, _rFilter ); in implAddFilter()
2440 sal_uInt16 nPos = _pImp->_pFilter->Count(); in SetCurFilter()
2444 SvtFileDialogFilter_Impl* pFilter = _pImp->_pFilter->GetObject( nPos ); in SetCurFilter()
2447 _pImp->SetCurFilter( pFilter, rFilter ); in SetCurFilter()
2459 const SvtFileDialogFilter_Impl* pCurrentFilter = _pImp->GetCurFilter(); in GetCurFilter()
2475 return _pImp->_pFilter->Count(); in GetFilterCount()
2483 return _pImp->_pFilter->GetObject( nPos )->GetName(); in GetFilterName()
2490 if ( ! _pImp->_aIniKey.Len() ) in InitSize()
2496 if ( !_pImp->_nFixDeltaHeight ) in InitSize()
2502 _pImp->_nFixDeltaHeight = nH - nBoxH; in InitSize()
2506 SvtViewOptions aDlgOpt( E_DIALOG, _pImp->_aIniKey ); in InitSize()
2531 if ( _pImp->_pEdFileName->GetText().Len() && _bIsInExecute ) in GetPathList()
2532 pURL = new String( _pImp->_pEdFileName->GetURL() ); in GetPathList()
2560 _pImp->_pFtCurrentPath, in implArrangeControls()
2561 _pImp->_pBtnUp, _pImp->_pBtnNewFolder, _pImp->_pBtnStandard, // image buttons in implArrangeControls()
2563 _pImp->_pFtFileName, _pImp->_pEdFileName, in implArrangeControls()
2564 _pImp->_pFtFileVersion, _pImp->_pLbFileVersion, in implArrangeControls()
2565 _pImp->_pFtTemplates, _pImp->_pLbTemplates, in implArrangeControls()
2566 _pImp->_pFtImageTemplates, _pImp->_pLbImageTemplates, in implArrangeControls()
2567 _pImp->_pFtFileType, _pImp->GetFilterListControl(), // edit fields/list boxes in implArrangeControls()
2568 _pImp->_pCbPassword, _pImp->_pCbAutoExtension, _pImp->_pCbOptions, // checkboxes in implArrangeControls()
2570 _pImp->_pBtnFileOpen, _pImp->_pBtnCancel, _pImp->_pBtnHelp // buttons in implArrangeControls()
2595 _pImp->_pEdFileName->GrabFocus(); in implArrangeControls()
2688 if ( _pImp->_pBtnUp ) in implUpdateImages()
2689 _pImp->_pBtnUp->SetModeImage( GetButtonImage( IMG_FILEDLG_BTN_UP ) ); in implUpdateImages()
2691 if ( _pImp->_pBtnStandard ) in implUpdateImages()
2692 _pImp->_pBtnStandard->SetModeImage( GetButtonImage( IMG_FILEDLG_BTN_STD ) ); in implUpdateImages()
2694 if ( _pImp->_pBtnNewFolder ) in implUpdateImages()
2695 _pImp->_pBtnNewFolder->SetModeImage( GetButtonImage( IMG_FILEDLG_CREATEFOLDER ) ); in implUpdateImages()
2714 Size aOldSize = _pImp->_aDlgSize; in Resize()
2715 _pImp->_aDlgSize = aDlgSize; in Resize()
2721 nWinDeltaW = _pPrevWin->GetOutputSizePixel().Width() + _pImp->_a6Size.Width(); in Resize()
2728 aNewSize.Height() = aDlgSize.Height() - _pImp->_nFixDeltaHeight; in Resize()
2729 aNewSize.Width() = aDlgSize.Width() - aBoxPos.X() - _pImp->_a6Size.Width() - nWinDeltaW; in Resize()
2731 nDeltaY = _pImp->_aDlgSize.Height() - aOldSize.Height(); in Resize()
2754 _pImp->_pFtFileName, _pImp->_pEdFileName, _pImp->_pFtFileVersion, _pImp->_pLbFileVersion, in Resize()
2755 _pImp->_pFtTemplates, _pImp->_pLbTemplates, _pImp->_pFtImageTemplates, _pImp->_pLbImageTemplates, in Resize()
2756 _pImp->_pFtFileType, _pImp->GetFilterListControl(), _pCbReadOnly, _pCbLinkBox, _pCbPreviewBox, in Resize()
2757 _pPbPlay, _pImp->_pCbPassword, _pImp->_pCbAutoExtension, _pImp->_pCbOptions, _pCbSelection in Resize()
2769 _pImp->_pBtnFileOpen, _pImp->_pBtnCancel, _pImp->_pBtnHelp in Resize()
2781 _pImp->_pBtnUp, _pImp->_pBtnNewFolder, _pImp->_pBtnStandard in Resize()
2794 _pImp->_pEdFileName, _pImp->_pLbFileVersion, _pImp->_pLbTemplates, _pImp->_pLbImageTemplates, in Resize()
2795 _pImp->GetFilterListControl(), _pImp->_pFtCurrentPath, in Resize()
2824 aNewSize.Height() -= ( _pImp->_a6Size.Height() / 2 ); in Resize()
2849 ? static_cast< Control* >( _pImp->_pFtFileName ) in getControl()
2850 : static_cast< Control* >( _pImp->_pEdFileName ); in getControl()
2854 pReturn = static_cast< Control* >( _pImp->_pFtFileName ); in getControl()
2858 pReturn = _pImp->_pCbAutoExtension; in getControl()
2862 pReturn = _pImp->_pCbPassword; in getControl()
2866 pReturn = _pImp->_pCbOptions; in getControl()
2886 pReturn = _bLabelControl ? _pImp->_pFtFileType : _pImp->GetFilterListControl(); in getControl()
2890 pReturn = _pImp->_pFtFileType; in getControl()
2894 pReturn = _pImp->_pFtCurrentPath; in getControl()
2899 ? static_cast< Control* >( _pImp->_pFtFileVersion ) in getControl()
2900 : static_cast< Control* >( _pImp->_pLbFileVersion ); in getControl()
2905 ? static_cast< Control* >( _pImp->_pFtTemplates ) in getControl()
2906 : static_cast< Control* >( _pImp->_pLbTemplates ); in getControl()
2911 ? static_cast< Control* >( _pImp->_pFtImageTemplates ) in getControl()
2912 : static_cast< Control* >( _pImp->_pLbImageTemplates ); in getControl()
2916 pReturn = _pImp->_pFtFileVersion; in getControl()
2920 pReturn = _pImp->_pFtTemplates; in getControl()
2924 pReturn = _pImp->_pFtImageTemplates; in getControl()
2928 pReturn = _pImp->_pBtnFileOpen; in getControl()
2932 pReturn = _pImp->_pBtnCancel; in getControl()
2940 pReturn = _pImp->_pBtnHelp; in getControl()
2944 pReturn = _pImp->_pBtnStandard; in getControl()
2948 pReturn = _pImp->_pBtnUp; in getControl()
2952 pReturn = _pImp->_pBtnNewFolder; in getControl()
2993 _pImp->_aIniKey = IMPGRF_CONFIGNAME; in AddControls_Impl()
2996 _pImp->DisableFilterBoxAutoWidth(); in AddControls_Impl()
3020 _pImp->_pCbAutoExtension = new CheckBox( this, SvtResId( CB_AUTO_EXTENSION ) ); in AddControls_Impl()
3021 _pImp->_pCbAutoExtension->SetText( SvtResId( STR_SVT_FILEPICKER_AUTO_EXTENSION ) ); in AddControls_Impl()
3022 _pImp->_pCbAutoExtension->Check( sal_True ); in AddControls_Impl()
3023 AddControl( _pImp->_pCbAutoExtension ); in AddControls_Impl()
3024 ReleaseOwnerShip( _pImp->_pCbAutoExtension ); in AddControls_Impl()
3025 _pImp->_pCbAutoExtension->SetClickHdl( LINK( this, SvtFileDialog, AutoExtensionHdl_Impl ) ); in AddControls_Impl()
3030 _pImp->_pCbOptions = new CheckBox( this, SvtResId( CB_OPTIONS ) ); in AddControls_Impl()
3031 _pImp->_pCbOptions->SetText( SvtResId( STR_SVT_FILEPICKER_FILTER_OPTIONS ) ); in AddControls_Impl()
3032 AddControl( _pImp->_pCbOptions ); in AddControls_Impl()
3033 ReleaseOwnerShip( _pImp->_pCbOptions ); in AddControls_Impl()
3034 _pImp->_pCbOptions->SetClickHdl( LINK( this, SvtFileDialog, ClickHdl_Impl ) ); in AddControls_Impl()
3058 _pImp->_pFtFileVersion = new FixedText( this, SvtResId( FT_EXPLORERFILE_SHARED_LISTBOX ) ); in AddControls_Impl()
3059 _pImp->_pFtFileVersion->SetText( SvtResId( STR_SVT_FILEPICKER_VERSION ) ); in AddControls_Impl()
3061 _pImp->_pLbFileVersion = new ListBox( this, SvtResId( LB_EXPLORERFILE_SHARED_LISTBOX ) ); in AddControls_Impl()
3062 _pImp->_pLbFileVersion->SetHelpId( HID_FILEOPEN_VERSION ); in AddControls_Impl()
3066 _pImp->_pFtTemplates = new FixedText( this, SvtResId( FT_EXPLORERFILE_SHARED_LISTBOX ) ); in AddControls_Impl()
3067 _pImp->_pFtTemplates->SetText( SvtResId( STR_SVT_FILEPICKER_TEMPLATES ) ); in AddControls_Impl()
3069 _pImp->_pLbTemplates = new ListBox( this, SvtResId( LB_EXPLORERFILE_SHARED_LISTBOX ) ); in AddControls_Impl()
3070 _pImp->_pLbTemplates->SetHelpId( HID_FILEOPEN_VERSION ); in AddControls_Impl()
3078 _pImp->_pFtImageTemplates = new FixedText( this, SvtResId( FT_EXPLORERFILE_SHARED_LISTBOX ) ); in AddControls_Impl()
3079 _pImp->_pFtImageTemplates->SetText( SvtResId( STR_SVT_FILEPICKER_IMAGE_TEMPLATE ) ); in AddControls_Impl()
3081 _pImp->_pLbImageTemplates = new ListBox( this, SvtResId( LB_EXPLORERFILE_SHARED_LISTBOX ) ); in AddControls_Impl()
3082 _pImp->_pLbImageTemplates->SetHelpId( HID_FILEOPEN_IMAGE_TEMPLATE ); in AddControls_Impl()
3169 if ( _pImp && _pImp->_pEdFileName ) in getCurrentFileText()
3170 sReturn = _pImp->_pEdFileName->GetText(); in getCurrentFileText()
3177 if ( _pImp && _pImp->_pEdFileName ) in setCurrentFileText()
3179 _pImp->_pEdFileName->SetText( _rText ); in setCurrentFileText()
3181 _pImp->_pEdFileName->SetSelection( Selection( 0, _rText.Len() ) ); in setCurrentFileText()
3188 return _pImp->_pCbAutoExtension && _pImp->_pCbAutoExtension->IsChecked(); in isAutoExtensionEnabled()