Lines Matching refs:m_pImpl

566 		,m_pImpl( new AddressBookSourceDialogData )  in AddressBookSourceDialog()
576 …,m_pImpl( new AddressBookSourceDialogData( _rxTransientDS, _rDataSourceName, _rTable, _rMapping ) ) in AddressBookSourceDialog()
589m_pImpl->pFieldLabels[row * 2 + column] = new FixedText(&m_aFieldsFrame, SvtResId((sal_uInt16)(FT_… in implConstruct()
591m_pImpl->pFields[row * 2 + column] = new ListBox(&m_aFieldsFrame, SvtResId((sal_uInt16)(LB_FIELD_B… in implConstruct()
592 m_pImpl->pFields[row * 2 + column]->SetDropDownLineCount(15); in implConstruct()
593m_pImpl->pFields[row * 2 + column]->SetSelectHdl(LINK(this, AddressBookSourceDialog, OnFieldSelect… in implConstruct()
595 m_pImpl->pFields[row * 2 + column]->SetHelpId(HID_ADDRTEMPL_FIELD_ASSIGNMENT); in implConstruct()
602 m_aFieldScroller.SetZOrder(m_pImpl->pFields[FIELD_CONTROLS_VISIBLE - 1], WINDOW_ZORDER_BEHIND); in implConstruct()
616 m_pImpl->aFieldLabels.push_back( String(SvtResId( STR_FIELD_FIRSTNAME )) ); in implConstruct()
617 m_pImpl->aFieldLabels.push_back( String(SvtResId( STR_FIELD_LASTNAME )) ); in implConstruct()
618 m_pImpl->aFieldLabels.push_back( String(SvtResId( STR_FIELD_COMPANY)) ); in implConstruct()
619 m_pImpl->aFieldLabels.push_back( String(SvtResId( STR_FIELD_DEPARTMENT )) ); in implConstruct()
620 m_pImpl->aFieldLabels.push_back( String(SvtResId( STR_FIELD_STREET )) ); in implConstruct()
621 m_pImpl->aFieldLabels.push_back( String(SvtResId( STR_FIELD_ZIPCODE )) ); in implConstruct()
622 m_pImpl->aFieldLabels.push_back( String(SvtResId( STR_FIELD_CITY )) ); in implConstruct()
623 m_pImpl->aFieldLabels.push_back( String(SvtResId( STR_FIELD_STATE)) ); in implConstruct()
624 m_pImpl->aFieldLabels.push_back( String(SvtResId( STR_FIELD_COUNTRY )) ); in implConstruct()
625 m_pImpl->aFieldLabels.push_back( String(SvtResId( STR_FIELD_HOMETEL )) ); in implConstruct()
626 m_pImpl->aFieldLabels.push_back( String(SvtResId( STR_FIELD_WORKTEL )) ); in implConstruct()
627 m_pImpl->aFieldLabels.push_back( String(SvtResId( STR_FIELD_OFFICETEL)) ); in implConstruct()
628 m_pImpl->aFieldLabels.push_back( String(SvtResId( STR_FIELD_MOBILE)) ); in implConstruct()
629 m_pImpl->aFieldLabels.push_back( String(SvtResId( STR_FIELD_TELOTHER)) ); in implConstruct()
630 m_pImpl->aFieldLabels.push_back( String(SvtResId( STR_FIELD_PAGER)) ); in implConstruct()
631 m_pImpl->aFieldLabels.push_back( String(SvtResId( STR_FIELD_FAX )) ); in implConstruct()
632 m_pImpl->aFieldLabels.push_back( String(SvtResId( STR_FIELD_EMAIL )) ); in implConstruct()
633 m_pImpl->aFieldLabels.push_back( String(SvtResId( STR_FIELD_URL )) ); in implConstruct()
634 m_pImpl->aFieldLabels.push_back( String(SvtResId( STR_FIELD_TITLE )) ); in implConstruct()
635 m_pImpl->aFieldLabels.push_back( String(SvtResId( STR_FIELD_POSITION )) ); in implConstruct()
636 m_pImpl->aFieldLabels.push_back( String(SvtResId( STR_FIELD_INITIALS )) ); in implConstruct()
637 m_pImpl->aFieldLabels.push_back( String(SvtResId( STR_FIELD_ADDRFORM )) ); in implConstruct()
638 m_pImpl->aFieldLabels.push_back( String(SvtResId( STR_FIELD_SALUTATION )) ); in implConstruct()
639 m_pImpl->aFieldLabels.push_back( String(SvtResId( STR_FIELD_ID)) ); in implConstruct()
640 m_pImpl->aFieldLabels.push_back( String(SvtResId( STR_FIELD_CALENDAR)) ); in implConstruct()
641 m_pImpl->aFieldLabels.push_back( String(SvtResId( STR_FIELD_INVITE)) ); in implConstruct()
642 m_pImpl->aFieldLabels.push_back( String(SvtResId( STR_FIELD_NOTE)) ); in implConstruct()
643 m_pImpl->aFieldLabels.push_back( String(SvtResId( STR_FIELD_USER1)) ); in implConstruct()
644 m_pImpl->aFieldLabels.push_back( String(SvtResId( STR_FIELD_USER2)) ); in implConstruct()
645 m_pImpl->aFieldLabels.push_back( String(SvtResId( STR_FIELD_USER3)) ); in implConstruct()
646 m_pImpl->aFieldLabels.push_back( String(SvtResId( STR_FIELD_USER4)) ); in implConstruct()
649 m_pImpl->bOddFieldNumber = (m_pImpl->aFieldLabels.size() % 2) != 0; in implConstruct()
650 if (m_pImpl->bOddFieldNumber) in implConstruct()
651 m_pImpl->aFieldLabels.push_back( String() ); in implConstruct()
654 sal_Int32 nOverallFieldPairs = m_pImpl->aFieldLabels.size() / 2; in implConstruct()
660 m_pImpl->aFieldAssignments.resize(m_pImpl->aFieldLabels.size()); in implConstruct()
681 m_pImpl->nFieldScrollPos = -1; in implConstruct()
686 …sal_Int32 nAdjustedTokenCount = sLogicalFieldNames.GetTokenCount(';') + (m_pImpl->bOddFieldNumber … in implConstruct()
687 DBG_ASSERT(nAdjustedTokenCount == (sal_Int32)m_pImpl->aFieldLabels.size(), in implConstruct()
689 m_pImpl->aLogicalFieldNames.reserve(nAdjustedTokenCount); in implConstruct()
691 m_pImpl->aLogicalFieldNames.push_back(sLogicalFieldNames.GetToken((sal_uInt16)i, ';')); in implConstruct()
699 if ( !m_pImpl->bWorkingPersistent ) in implConstruct()
719 _rMapping.realloc( m_pImpl->aLogicalFieldNames.size() ); in getFieldMapping()
723 for ( ConstStringArrayIterator aProgrammatic = m_pImpl->aLogicalFieldNames.begin(); in getFieldMapping()
724 aProgrammatic != m_pImpl->aLogicalFieldNames.end(); in getFieldMapping()
729 if ( m_pImpl->pConfigData->hasFieldAssignment( sCurrent ) ) in getFieldMapping()
733 pPair->Alias = m_pImpl->pConfigData->getFieldAssignment( *aProgrammatic ); in getFieldMapping()
744 ::rtl::OUString sName = m_pImpl->pConfigData->getDatasourceName(); in loadConfiguration()
753 m_aTable.SetText(m_pImpl->pConfigData->getCommand()); in loadConfiguration()
757 DBG_ASSERT(m_pImpl->aLogicalFieldNames.size() == m_pImpl->aFieldAssignments.size(), in loadConfiguration()
760 ConstStringArrayIterator aLogical = m_pImpl->aLogicalFieldNames.begin(); in loadConfiguration()
761 StringArrayIterator aAssignment = m_pImpl->aFieldAssignments.begin(); in loadConfiguration()
763 aLogical < m_pImpl->aLogicalFieldNames.end(); in loadConfiguration()
766 *aAssignment = m_pImpl->pConfigData->getFieldAssignment(*aLogical); in loadConfiguration()
775 delete m_pImpl->pFieldLabels[i]; in ~AddressBookSourceDialog()
776 delete m_pImpl->pFields[i]; in ~AddressBookSourceDialog()
779 delete m_pImpl; in ~AddressBookSourceDialog()
866 if ( m_pImpl->bWorkingPersistent ) in resetTables()
877 xDS = xDS.query( m_pImpl->m_xTransientDataSource ); in resetTables()
971 …std::vector<String>::iterator aInitialSelection = m_pImpl->aFieldAssignments.begin() + m_pImpl->nF… in resetFields()
973 ListBox** pListbox = m_pImpl->pFields; in resetFields()
1004 for ( StringArrayIterator aAdjust = m_pImpl->aFieldAssignments.begin(); in resetFields()
1005 aAdjust != m_pImpl->aFieldAssignments.end(); in resetFields()
1024 m_pImpl->aFieldAssignments[m_pImpl->nFieldScrollPos * 2 + nListBoxIndex] = String(); in IMPL_LINK()
1027m_pImpl->aFieldAssignments[m_pImpl->nFieldScrollPos * 2 + nListBoxIndex] = _pListbox->GetSelectEnt… in IMPL_LINK()
1035 if (_nPos == m_pImpl->nFieldScrollPos) in implScrollFields()
1041 FixedText** pLeftLabelControl = m_pImpl->pFieldLabels; in implScrollFields()
1043 ConstStringArrayIterator pLeftColumnLabel = m_pImpl->aFieldLabels.begin() + 2 * _nPos; in implScrollFields()
1047 ListBox** pLeftListControl = m_pImpl->pFields; in implScrollFields()
1055 ConstStringArrayIterator pLeftAssignment = m_pImpl->aFieldAssignments.begin() + 2 * _nPos; in implScrollFields()
1058 m_pImpl->nLastVisibleListIndex = -1; in implScrollFields()
1091 ++m_pImpl->nLastVisibleListIndex; // the left hand side box is always visible in implScrollFields()
1093 ++m_pImpl->nLastVisibleListIndex; in implScrollFields()
1113 sal_Int32 nDelta = m_pImpl->nFieldScrollPos - _nPos; in implScrollFields()
1120 m_pImpl->pFields[nNewFocusRow * 2 + nOldFocusColumn]->GrabFocus(); in implScrollFields()
1123 m_pImpl->nFieldScrollPos = _nPos; in implScrollFields()
1126 m_aFieldScroller.SetThumbPos(m_pImpl->nFieldScrollPos); in implScrollFields()
1148 if ( !m_pImpl->bWorkingPersistent ) in IMPL_LINK()
1149 if ( m_pImpl->pFields[0] ) in IMPL_LINK()
1150 m_pImpl->pFields[0]->GrabFocus(); in IMPL_LINK()
1189 if ( m_pImpl->bWorkingPersistent ) in IMPL_LINK()
1191 m_pImpl->pConfigData->setDatasourceName(sSelectedDS); in IMPL_LINK()
1192 m_pImpl->pConfigData->setCommand(m_aTable.GetText()); in IMPL_LINK()
1196 ConstStringArrayIterator aLogical = m_pImpl->aLogicalFieldNames.begin(); in IMPL_LINK()
1197 ConstStringArrayIterator aAssignment = m_pImpl->aFieldAssignments.begin(); in IMPL_LINK()
1199 aLogical < m_pImpl->aLogicalFieldNames.end(); in IMPL_LINK()
1202 m_pImpl->pConfigData->setFieldAssignment(*aLogical, *aAssignment); in IMPL_LINK()
1248 delete m_pImpl->pConfigData; in IMPL_LINK()
1249 m_pImpl->pConfigData = new AssignmentPersistentData(); in IMPL_LINK()
1286 if (m_pImpl->pFields[m_pImpl->nLastVisibleListIndex]->HasChildPathFocus()) in PreNotify()
1288 if (m_pImpl->nFieldScrollPos < m_aFieldScroller.GetRangeMax()) in PreNotify()
1290 sal_Int32 nNextFocusList = m_pImpl->nLastVisibleListIndex + 1 - 2; in PreNotify()
1292 implScrollFields(m_pImpl->nFieldScrollPos + 1, sal_False, sal_True); in PreNotify()
1294 m_pImpl->pFields[nNextFocusList]->GrabFocus(); in PreNotify()
1301 if (m_pImpl->pFields[0]->HasChildPathFocus()) in PreNotify()
1303 if (m_pImpl->nFieldScrollPos > 0) in PreNotify()
1306 implScrollFields(m_pImpl->nFieldScrollPos - 1, sal_False, sal_True); in PreNotify()
1308 m_pImpl->pFields[0 - 1 + 2]->GrabFocus(); in PreNotify()