Lines Matching refs:m_pImpl

247 	m_pImpl = new OSaveAsDlgImpl(this,_rType,_xConnection,rDefault,_rObjectNameCheck,_nFlags);  in OSaveAsDlg()
252 implInitOnlyTitle(m_pImpl->m_aQryLabel); in OSaveAsDlg()
256 …OSL_ENSURE( m_pImpl->m_xMetaData.is(), "OSaveAsDlg::OSaveAsDlg: no meta data for entering table na… in OSaveAsDlg()
258 m_pImpl->m_aLabel.SetText(m_pImpl->m_sTblLabel); in OSaveAsDlg()
259 Point aPos(m_pImpl->m_aPB_OK.GetPosPixel()); in OSaveAsDlg()
260 if(m_pImpl->m_xMetaData.is() && !m_pImpl->m_xMetaData->supportsCatalogsInTableDefinitions()) in OSaveAsDlg()
262 m_pImpl->m_aCatalogLbl.Hide(); in OSaveAsDlg()
263 m_pImpl->m_aCatalog.Hide(); in OSaveAsDlg()
265 aPos = m_pImpl->m_aLabel.GetPosPixel(); in OSaveAsDlg()
267 m_pImpl->m_aLabel.SetPosPixel(m_pImpl->m_aSchemaLbl.GetPosPixel()); in OSaveAsDlg()
268 m_pImpl->m_aTitle.SetPosPixel(m_pImpl->m_aSchema.GetPosPixel()); in OSaveAsDlg()
270 m_pImpl->m_aSchemaLbl.SetPosPixel(m_pImpl->m_aCatalogLbl.GetPosPixel()); in OSaveAsDlg()
271 m_pImpl->m_aSchema.SetPosPixel(m_pImpl->m_aCatalog.GetPosPixel()); in OSaveAsDlg()
276 lcl_fillComboList( m_pImpl->m_aCatalog, _xConnection, in OSaveAsDlg()
280 if ( !m_pImpl->m_xMetaData->supportsSchemasInTableDefinitions()) in OSaveAsDlg()
282 m_pImpl->m_aSchemaLbl.Hide(); in OSaveAsDlg()
283 m_pImpl->m_aSchema.Hide(); in OSaveAsDlg()
285 aPos = m_pImpl->m_aLabel.GetPosPixel(); in OSaveAsDlg()
287 m_pImpl->m_aLabel.SetPosPixel(m_pImpl->m_aSchemaLbl.GetPosPixel()); in OSaveAsDlg()
288 m_pImpl->m_aTitle.SetPosPixel(m_pImpl->m_aSchema.GetPosPixel()); in OSaveAsDlg()
292 lcl_fillComboList( m_pImpl->m_aSchema, _xConnection, in OSaveAsDlg()
293 &XDatabaseMetaData::getSchemas, m_pImpl->m_xMetaData->getUserName() ); in OSaveAsDlg()
296 OSL_ENSURE(m_pImpl->m_xMetaData.is(),"The metadata can not be null!"); in OSaveAsDlg()
297 if(m_pImpl->m_aName.Search('.') != STRING_NOTFOUND) in OSaveAsDlg()
300 ::dbtools::qualifiedNameComponents(m_pImpl->m_xMetaData, in OSaveAsDlg()
301 m_pImpl->m_aName, in OSaveAsDlg()
307 sal_uInt16 nPos = m_pImpl->m_aCatalog.GetEntryPos(String(sCatalog)); in OSaveAsDlg()
309 m_pImpl->m_aCatalog.SelectEntryPos(nPos); in OSaveAsDlg()
313 nPos = m_pImpl->m_aSchema.GetEntryPos(String(sSchema)); in OSaveAsDlg()
315 m_pImpl->m_aSchema.SelectEntryPos(nPos); in OSaveAsDlg()
317 m_pImpl->m_aTitle.SetText(sTable); in OSaveAsDlg()
320 m_pImpl->m_aTitle.SetText(m_pImpl->m_aName); in OSaveAsDlg()
321 m_pImpl->m_aTitle.SetSelection( Selection( SELECTION_MIN, SELECTION_MAX ) ); in OSaveAsDlg()
323 m_pImpl->m_aPB_OK.SetPosPixel(Point(m_pImpl->m_aPB_OK.GetPosPixel().X(),aPos.Y())); in OSaveAsDlg()
324 m_pImpl->m_aPB_CANCEL.SetPosPixel(Point(m_pImpl->m_aPB_CANCEL.GetPosPixel().X(),aPos.Y())); in OSaveAsDlg()
325 m_pImpl->m_aPB_HELP.SetPosPixel(Point(m_pImpl->m_aPB_HELP.GetPosPixel().X(),aPos.Y())); in OSaveAsDlg()
327 …sal_uInt16 nLength = m_pImpl->m_xMetaData.is() ? static_cast<sal_uInt16>(m_pImpl->m_xMetaData->ge… in OSaveAsDlg()
330 m_pImpl->m_aTitle.SetMaxTextLen(nLength); in OSaveAsDlg()
331 m_pImpl->m_aSchema.SetMaxTextLen(nLength); in OSaveAsDlg()
332 m_pImpl->m_aCatalog.SetMaxTextLen(nLength); in OSaveAsDlg()
335 m_pImpl->m_aTitle.setCheck(bCheck); // enable non valid sql chars as well in OSaveAsDlg()
336 m_pImpl->m_aSchema.setCheck(bCheck); // enable non valid sql chars as well in OSaveAsDlg()
337 m_pImpl->m_aCatalog.setCheck(bCheck); // enable non valid sql chars as well in OSaveAsDlg()
341 …aPos.Y() + m_pImpl->m_aPB_OK.GetSizePixel().Height() + m_pImpl->m_aTitle.GetSizePixel().Height() /… in OSaveAsDlg()
362 m_pImpl = new OSaveAsDlgImpl(this,rDefault,_rObjectNameCheck,_nFlags); in OSaveAsDlg()
369 DELETEZ(m_pImpl); in ~OSaveAsDlg()
374 if (pButton == &m_pImpl->m_aPB_OK) in IMPL_LINK()
376 m_pImpl->m_aName = m_pImpl->m_aTitle.GetText(); in IMPL_LINK()
378 ::rtl::OUString sNameToCheck( m_pImpl->m_aName ); in IMPL_LINK()
380 if ( m_pImpl->m_nType == CommandType::TABLE ) in IMPL_LINK()
383 m_pImpl->m_xMetaData, in IMPL_LINK()
393 if ( m_pImpl->m_rObjectNameCheck.isNameValid( sNameToCheck, aNameError ) ) in IMPL_LINK()
397 m_pImpl->m_aTitle.GrabFocus(); in IMPL_LINK()
405 if (pEdit == &m_pImpl->m_aTitle) in IMPL_LINK()
406 m_pImpl->m_aPB_OK.Enable(0 != m_pImpl->m_aTitle.GetText().Len()); in IMPL_LINK()
412 m_pImpl->m_aLabel.SetText(_rLabel); in implInitOnlyTitle()
413 m_pImpl->m_aCatalogLbl.Hide(); in implInitOnlyTitle()
414 m_pImpl->m_aCatalog.Hide(); in implInitOnlyTitle()
415 m_pImpl->m_aSchemaLbl.Hide(); in implInitOnlyTitle()
416 m_pImpl->m_aSchema.Hide(); in implInitOnlyTitle()
418 Point aPos(m_pImpl->m_aSchemaLbl.GetPosPixel()); in implInitOnlyTitle()
419 m_pImpl->m_aLabel.SetPosPixel(m_pImpl->m_aCatalogLbl.GetPosPixel()); in implInitOnlyTitle()
420 m_pImpl->m_aTitle.SetPosPixel(m_pImpl->m_aCatalog.GetPosPixel()); in implInitOnlyTitle()
422 m_pImpl->m_aPB_OK.SetPosPixel(Point(m_pImpl->m_aPB_OK.GetPosPixel().X(),aPos.Y())); in implInitOnlyTitle()
423 m_pImpl->m_aPB_CANCEL.SetPosPixel(Point(m_pImpl->m_aPB_CANCEL.GetPosPixel().X(),aPos.Y())); in implInitOnlyTitle()
424 m_pImpl->m_aPB_HELP.SetPosPixel(Point(m_pImpl->m_aPB_HELP.GetPosPixel().X(),aPos.Y())); in implInitOnlyTitle()
427 …aPos.Y() + m_pImpl->m_aPB_OK.GetSizePixel().Height() + m_pImpl->m_aTitle.GetSizePixel().Height() /… in implInitOnlyTitle()
431 m_pImpl->m_aTitle.SetText(m_pImpl->m_aName); in implInitOnlyTitle()
432 m_pImpl->m_aTitle.setCheck(sal_False); // enable non valid sql chars as well in implInitOnlyTitle()
437 if ( 0 == ( m_pImpl->m_nFlags & SAD_ADDITIONAL_DESCRIPTION ) ) in implInit()
440 m_pImpl->m_aDescription.Hide(); in implInit()
443 …sal_Int32 nMoveUp = m_pImpl->m_aCatalog.GetPosPixel().Y() - m_pImpl->m_aDescription.GetPosPixel().… in implInit()
451 if ( &m_pImpl->m_aDescription != pChildControl ) in implInit()
465 if ( SAD_TITLE_PASTE_AS == ( m_pImpl->m_nFlags & SAD_TITLE_PASTE_AS ) ) in implInit()
467 else if ( SAD_TITLE_RENAME == ( m_pImpl->m_nFlags & SAD_TITLE_RENAME ) ) in implInit()
470 m_pImpl->m_aTitle.SetHelpId(HID_DLG_RENAME); in implInit()
473 m_pImpl->m_aPB_OK.SetClickHdl(LINK(this,OSaveAsDlg,ButtonClickHdl)); in implInit()
474 m_pImpl->m_aTitle.SetModifyHdl(LINK(this,OSaveAsDlg,EditModifyHdl)); in implInit()
475 m_pImpl->m_aTitle.GrabFocus(); in implInit()
479 String OSaveAsDlg::getName() const { return m_pImpl->m_aName; } in getName()
480 String OSaveAsDlg::getCatalog() const { return m_pImpl->m_aCatalog.IsVisible() ? m_pImpl->m_aCatalo… in getCatalog()
481 String OSaveAsDlg::getSchema() const { return m_pImpl->m_aSchema.IsVisible() ? m_pImpl->m_aSchema.G… in getSchema()