Lines Matching refs:m_pImpl
567 ,m_pImpl( new AddressBookSourceDialogData ) in AddressBookSourceDialog()
577 …,m_pImpl( new AddressBookSourceDialogData( _rxTransientDS, _rDataSourceName, _rTable, _rMapping ) ) in AddressBookSourceDialog()
590 …m_pImpl->pFieldLabels[row * 2 + column] = new FixedText(&m_aFieldsFrame, SvtResId((sal_uInt16)(FT_… in implConstruct()
592 …m_pImpl->pFields[row * 2 + column] = new ListBox(&m_aFieldsFrame, SvtResId((sal_uInt16)(LB_FIELD_B… in implConstruct()
593 m_pImpl->pFields[row * 2 + column]->SetDropDownLineCount(15); in implConstruct()
594 …m_pImpl->pFields[row * 2 + column]->SetSelectHdl(LINK(this, AddressBookSourceDialog, OnFieldSelect… in implConstruct()
596 m_pImpl->pFields[row * 2 + column]->SetHelpId(HID_ADDRTEMPL_FIELD_ASSIGNMENT); in implConstruct()
603 m_aFieldScroller.SetZOrder(m_pImpl->pFields[FIELD_CONTROLS_VISIBLE - 1], WINDOW_ZORDER_BEHIND); in implConstruct()
617 m_pImpl->aFieldLabels.push_back( String(SvtResId( STR_FIELD_FIRSTNAME )) ); in implConstruct()
618 m_pImpl->aFieldLabels.push_back( String(SvtResId( STR_FIELD_LASTNAME )) ); in implConstruct()
619 m_pImpl->aFieldLabels.push_back( String(SvtResId( STR_FIELD_COMPANY)) ); in implConstruct()
620 m_pImpl->aFieldLabels.push_back( String(SvtResId( STR_FIELD_DEPARTMENT )) ); in implConstruct()
621 m_pImpl->aFieldLabels.push_back( String(SvtResId( STR_FIELD_STREET )) ); in implConstruct()
622 m_pImpl->aFieldLabels.push_back( String(SvtResId( STR_FIELD_ZIPCODE )) ); in implConstruct()
623 m_pImpl->aFieldLabels.push_back( String(SvtResId( STR_FIELD_CITY )) ); in implConstruct()
624 m_pImpl->aFieldLabels.push_back( String(SvtResId( STR_FIELD_STATE)) ); in implConstruct()
625 m_pImpl->aFieldLabels.push_back( String(SvtResId( STR_FIELD_COUNTRY )) ); in implConstruct()
626 m_pImpl->aFieldLabels.push_back( String(SvtResId( STR_FIELD_HOMETEL )) ); in implConstruct()
627 m_pImpl->aFieldLabels.push_back( String(SvtResId( STR_FIELD_WORKTEL )) ); in implConstruct()
628 m_pImpl->aFieldLabels.push_back( String(SvtResId( STR_FIELD_OFFICETEL)) ); in implConstruct()
629 m_pImpl->aFieldLabels.push_back( String(SvtResId( STR_FIELD_MOBILE)) ); in implConstruct()
630 m_pImpl->aFieldLabels.push_back( String(SvtResId( STR_FIELD_TELOTHER)) ); in implConstruct()
631 m_pImpl->aFieldLabels.push_back( String(SvtResId( STR_FIELD_PAGER)) ); in implConstruct()
632 m_pImpl->aFieldLabels.push_back( String(SvtResId( STR_FIELD_FAX )) ); in implConstruct()
633 m_pImpl->aFieldLabels.push_back( String(SvtResId( STR_FIELD_EMAIL )) ); in implConstruct()
634 m_pImpl->aFieldLabels.push_back( String(SvtResId( STR_FIELD_URL )) ); in implConstruct()
635 m_pImpl->aFieldLabels.push_back( String(SvtResId( STR_FIELD_TITLE )) ); in implConstruct()
636 m_pImpl->aFieldLabels.push_back( String(SvtResId( STR_FIELD_POSITION )) ); in implConstruct()
637 m_pImpl->aFieldLabels.push_back( String(SvtResId( STR_FIELD_INITIALS )) ); in implConstruct()
638 m_pImpl->aFieldLabels.push_back( String(SvtResId( STR_FIELD_ADDRFORM )) ); in implConstruct()
639 m_pImpl->aFieldLabels.push_back( String(SvtResId( STR_FIELD_SALUTATION )) ); in implConstruct()
640 m_pImpl->aFieldLabels.push_back( String(SvtResId( STR_FIELD_ID)) ); in implConstruct()
641 m_pImpl->aFieldLabels.push_back( String(SvtResId( STR_FIELD_CALENDAR)) ); in implConstruct()
642 m_pImpl->aFieldLabels.push_back( String(SvtResId( STR_FIELD_INVITE)) ); in implConstruct()
643 m_pImpl->aFieldLabels.push_back( String(SvtResId( STR_FIELD_NOTE)) ); in implConstruct()
644 m_pImpl->aFieldLabels.push_back( String(SvtResId( STR_FIELD_USER1)) ); in implConstruct()
645 m_pImpl->aFieldLabels.push_back( String(SvtResId( STR_FIELD_USER2)) ); in implConstruct()
646 m_pImpl->aFieldLabels.push_back( String(SvtResId( STR_FIELD_USER3)) ); in implConstruct()
647 m_pImpl->aFieldLabels.push_back( String(SvtResId( STR_FIELD_USER4)) ); in implConstruct()
650 m_pImpl->bOddFieldNumber = (m_pImpl->aFieldLabels.size() % 2) != 0; in implConstruct()
651 if (m_pImpl->bOddFieldNumber) in implConstruct()
652 m_pImpl->aFieldLabels.push_back( String() ); in implConstruct()
655 sal_Int32 nOverallFieldPairs = m_pImpl->aFieldLabels.size() / 2; in implConstruct()
661 m_pImpl->aFieldAssignments.resize(m_pImpl->aFieldLabels.size()); in implConstruct()
682 m_pImpl->nFieldScrollPos = -1; in implConstruct()
687 …sal_Int32 nAdjustedTokenCount = sLogicalFieldNames.GetTokenCount(';') + (m_pImpl->bOddFieldNumber … in implConstruct()
688 DBG_ASSERT(nAdjustedTokenCount == (sal_Int32)m_pImpl->aFieldLabels.size(), in implConstruct()
690 m_pImpl->aLogicalFieldNames.reserve(nAdjustedTokenCount); in implConstruct()
692 m_pImpl->aLogicalFieldNames.push_back(sLogicalFieldNames.GetToken((sal_uInt16)i, ';')); in implConstruct()
700 if ( !m_pImpl->bWorkingPersistent ) in implConstruct()
720 _rMapping.realloc( m_pImpl->aLogicalFieldNames.size() ); in getFieldMapping()
724 for ( ConstStringArrayIterator aProgrammatic = m_pImpl->aLogicalFieldNames.begin(); in getFieldMapping()
725 aProgrammatic != m_pImpl->aLogicalFieldNames.end(); in getFieldMapping()
730 if ( m_pImpl->pConfigData->hasFieldAssignment( sCurrent ) ) in getFieldMapping()
734 pPair->Alias = m_pImpl->pConfigData->getFieldAssignment( *aProgrammatic ); in getFieldMapping()
745 ::rtl::OUString sName = m_pImpl->pConfigData->getDatasourceName(); in loadConfiguration()
754 m_aTable.SetText(m_pImpl->pConfigData->getCommand()); in loadConfiguration()
758 DBG_ASSERT(m_pImpl->aLogicalFieldNames.size() == m_pImpl->aFieldAssignments.size(), in loadConfiguration()
761 ConstStringArrayIterator aLogical = m_pImpl->aLogicalFieldNames.begin(); in loadConfiguration()
762 StringArrayIterator aAssignment = m_pImpl->aFieldAssignments.begin(); in loadConfiguration()
764 aLogical < m_pImpl->aLogicalFieldNames.end(); in loadConfiguration()
767 *aAssignment = m_pImpl->pConfigData->getFieldAssignment(*aLogical); in loadConfiguration()
776 delete m_pImpl->pFieldLabels[i]; in ~AddressBookSourceDialog()
777 delete m_pImpl->pFields[i]; in ~AddressBookSourceDialog()
780 delete m_pImpl; in ~AddressBookSourceDialog()
867 if ( m_pImpl->bWorkingPersistent ) in resetTables()
878 xDS = xDS.query( m_pImpl->m_xTransientDataSource ); in resetTables()
972 …std::vector<String>::iterator aInitialSelection = m_pImpl->aFieldAssignments.begin() + m_pImpl->nF… in resetFields()
974 ListBox** pListbox = m_pImpl->pFields; in resetFields()
1005 for ( StringArrayIterator aAdjust = m_pImpl->aFieldAssignments.begin(); in resetFields()
1006 aAdjust != m_pImpl->aFieldAssignments.end(); in resetFields()
1025 m_pImpl->aFieldAssignments[m_pImpl->nFieldScrollPos * 2 + nListBoxIndex] = String(); in IMPL_LINK()
1028 …m_pImpl->aFieldAssignments[m_pImpl->nFieldScrollPos * 2 + nListBoxIndex] = _pListbox->GetSelectEnt… in IMPL_LINK()
1036 if (_nPos == m_pImpl->nFieldScrollPos) in implScrollFields()
1042 FixedText** pLeftLabelControl = m_pImpl->pFieldLabels; in implScrollFields()
1044 ConstStringArrayIterator pLeftColumnLabel = m_pImpl->aFieldLabels.begin() + 2 * _nPos; in implScrollFields()
1048 ListBox** pLeftListControl = m_pImpl->pFields; in implScrollFields()
1056 ConstStringArrayIterator pLeftAssignment = m_pImpl->aFieldAssignments.begin() + 2 * _nPos; in implScrollFields()
1059 m_pImpl->nLastVisibleListIndex = -1; in implScrollFields()
1092 ++m_pImpl->nLastVisibleListIndex; // the left hand side box is always visible in implScrollFields()
1094 ++m_pImpl->nLastVisibleListIndex; in implScrollFields()
1114 sal_Int32 nDelta = m_pImpl->nFieldScrollPos - _nPos; in implScrollFields()
1121 m_pImpl->pFields[nNewFocusRow * 2 + nOldFocusColumn]->GrabFocus(); in implScrollFields()
1124 m_pImpl->nFieldScrollPos = _nPos; in implScrollFields()
1127 m_aFieldScroller.SetThumbPos(m_pImpl->nFieldScrollPos); in implScrollFields()
1149 if ( !m_pImpl->bWorkingPersistent ) in IMPL_LINK()
1150 if ( m_pImpl->pFields[0] ) in IMPL_LINK()
1151 m_pImpl->pFields[0]->GrabFocus(); in IMPL_LINK()
1190 if ( m_pImpl->bWorkingPersistent ) in IMPL_LINK()
1192 m_pImpl->pConfigData->setDatasourceName(sSelectedDS); in IMPL_LINK()
1193 m_pImpl->pConfigData->setCommand(m_aTable.GetText()); in IMPL_LINK()
1197 ConstStringArrayIterator aLogical = m_pImpl->aLogicalFieldNames.begin(); in IMPL_LINK()
1198 ConstStringArrayIterator aAssignment = m_pImpl->aFieldAssignments.begin(); in IMPL_LINK()
1200 aLogical < m_pImpl->aLogicalFieldNames.end(); in IMPL_LINK()
1203 m_pImpl->pConfigData->setFieldAssignment(*aLogical, *aAssignment); in IMPL_LINK()
1249 delete m_pImpl->pConfigData; in IMPL_LINK()
1250 m_pImpl->pConfigData = new AssignmentPersistentData(); in IMPL_LINK()
1287 if (m_pImpl->pFields[m_pImpl->nLastVisibleListIndex]->HasChildPathFocus()) in PreNotify()
1289 if (m_pImpl->nFieldScrollPos < m_aFieldScroller.GetRangeMax()) in PreNotify()
1291 sal_Int32 nNextFocusList = m_pImpl->nLastVisibleListIndex + 1 - 2; in PreNotify()
1293 implScrollFields(m_pImpl->nFieldScrollPos + 1, sal_False, sal_True); in PreNotify()
1295 m_pImpl->pFields[nNextFocusList]->GrabFocus(); in PreNotify()
1302 if (m_pImpl->pFields[0]->HasChildPathFocus()) in PreNotify()
1304 if (m_pImpl->nFieldScrollPos > 0) in PreNotify()
1307 implScrollFields(m_pImpl->nFieldScrollPos - 1, sal_False, sal_True); in PreNotify()
1309 m_pImpl->pFields[0 - 1 + 2]->GrabFocus(); in PreNotify()