Lines Matching refs:m_pImpl
796 m_pImpl = pOptions; in SwMailMergeConfigItem()
815 if(m_pImpl->IsModified()) in Commit()
816 m_pImpl->Commit(); in Commit()
823 return m_pImpl->m_AddressHeaderSA; in GetDefaultAddressHeaders()
831 m_pImpl->SetAddressBlocks(rBlocks); in SetAddressBlocks()
838 return m_pImpl->GetAddressBlocks(); in GetAddressBlocks()
845 return m_pImpl->bIsAddressBlock && IsOutputToLetter(); in IsAddressBlock()
852 m_pImpl->bUserSettingWereOverwritten = sal_False; in SetAddressBlock()
853 if(m_pImpl->bIsAddressBlock != bSet) in SetAddressBlock()
855 m_pImpl->bIsAddressBlock = bSet; in SetAddressBlock()
856 m_pImpl->SetModified(); in SetAddressBlock()
865 return m_pImpl->bIsHideEmptyParagraphs; in IsHideEmptyParagraphs()
872 if(m_pImpl->bIsHideEmptyParagraphs != bSet) in SetHideEmptyParagraphs()
874 m_pImpl->bIsHideEmptyParagraphs = bSet; in SetHideEmptyParagraphs()
875 m_pImpl->SetModified(); in SetHideEmptyParagraphs()
883 return m_pImpl->bIncludeCountry; in IsIncludeCountry()
890 return m_pImpl->sExcludeCountry; in GetExcludeCountry()
897 if(m_pImpl->sExcludeCountry != rCountry || in SetCountrySettings()
898 m_pImpl->bIncludeCountry != bSet) in SetCountrySettings()
900 m_pImpl->bIncludeCountry = bSet; in SetCountrySettings()
901 m_pImpl->sExcludeCountry = bSet ? rCountry : OUString(); in SetCountrySettings()
902 m_pImpl->SetModified(); in SetCountrySettings()
915 m_pImpl->xSource = xSource ; in SetCurrentConnection()
916 m_pImpl->xConnection = xConnection ; in SetCurrentConnection()
917 m_pImpl->xColumnsSupplier = xColumnsSupplier; in SetCurrentConnection()
918 m_pImpl->aDBData = rDBData; in SetCurrentConnection()
919 m_pImpl->xResultSet = 0; in SetCurrentConnection()
920 m_pImpl->nResultSetCursorPos = 0; in SetCurrentConnection()
921 m_pImpl->SetModified(); in SetCurrentConnection()
928 return m_pImpl->xSource; in GetSource()
935 return m_pImpl->xConnection; in GetConnection()
942 if(!m_pImpl->xColumnsSupplier.is() && m_pImpl->xConnection.is()) in GetColumnsSupplier()
944 m_pImpl->xColumnsSupplier = SwNewDBMgr::GetColumnSupplier(m_pImpl->xConnection, in GetColumnsSupplier()
945 m_pImpl->aDBData.sCommand, in GetColumnsSupplier()
946 m_pImpl->aDBData.nCommandType == CommandType::TABLE ? in GetColumnsSupplier()
949 return m_pImpl->xColumnsSupplier; in GetColumnsSupplier()
956 return m_pImpl->aDBData; in GetCurrentDBData()
964 if(m_pImpl->aDBData != rDBData) in SetCurrentDBData()
966 m_pImpl->aDBData = rDBData; in SetCurrentDBData()
967 m_pImpl->xConnection.clear(); in SetCurrentDBData()
968 m_pImpl->xSource = 0; in SetCurrentDBData()
969 m_pImpl->xColumnsSupplier = 0; in SetCurrentDBData()
970 m_pImpl->SetModified(); in SetCurrentDBData()
978 if(!m_pImpl->xConnection.is() && m_pImpl->aDBData.sDataSource.getLength()) in GetResultSet()
980 m_pImpl->xConnection.reset( in GetResultSet()
981 SwNewDBMgr::GetConnection( m_pImpl->aDBData.sDataSource, m_pImpl->xSource ), in GetResultSet()
985 if(!m_pImpl->xResultSet.is() && m_pImpl->xConnection.is()) in GetResultSet()
995 … xRowProperties->setPropertyValue(C2U("DataSourceName"), makeAny(m_pImpl->aDBData.sDataSource)); in GetResultSet()
996 … xRowProperties->setPropertyValue(C2U("Command"), makeAny(m_pImpl->aDBData.sCommand)); in GetResultSet()
997 … xRowProperties->setPropertyValue(C2U("CommandType"), makeAny(m_pImpl->aDBData.nCommandType)); in GetResultSet()
999 …xRowProperties->setPropertyValue(C2U("ActiveConnection"), makeAny(m_pImpl->xConnection.getTyped())… in GetResultSet()
1002 … xRowProperties->setPropertyValue(C2U("ApplyFilter"), makeAny(m_pImpl->sFilter.getLength()>0)); in GetResultSet()
1003 xRowProperties->setPropertyValue(C2U("Filter"), makeAny(m_pImpl->sFilter)); in GetResultSet()
1010 m_pImpl->xResultSet = xRowSet.get(); in GetResultSet()
1011 m_pImpl->xResultSet->first(); in GetResultSet()
1012 m_pImpl->nResultSetCursorPos = 1; in GetResultSet()
1020 return m_pImpl->xResultSet; in GetResultSet()
1027 m_pImpl->xConnection.clear(); in DisposeResultSet()
1028 if(m_pImpl->xResultSet.is()) in DisposeResultSet()
1030 ::comphelper::disposeComponent( m_pImpl->xResultSet ); in DisposeResultSet()
1038 return m_pImpl->sFilter; in GetFilter()
1045 if(m_pImpl->sFilter != rFilter) in SetFilter()
1047 m_pImpl->sFilter = rFilter; in SetFilter()
1048 m_pImpl->SetModified(); in SetFilter()
1049 Reference<XPropertySet> xRowProperties(m_pImpl->xResultSet, UNO_QUERY); in SetFilter()
1054 … xRowProperties->setPropertyValue(C2U("ApplyFilter"), makeAny(m_pImpl->sFilter.getLength()>0)); in SetFilter()
1055 xRowProperties->setPropertyValue(C2U("Filter"), makeAny(m_pImpl->sFilter)); in SetFilter()
1056 uno::Reference<XRowSet> xRowSet( m_pImpl->xResultSet, UNO_QUERY_THROW ); in SetFilter()
1071 if(!m_pImpl->xResultSet.is()) in MoveResultSet()
1073 if(m_pImpl->xResultSet.is()) in MoveResultSet()
1078 if(m_pImpl->xResultSet->getRow() != nTarget) in MoveResultSet()
1082 sal_Bool bMoved = m_pImpl->xResultSet->absolute(nTarget); in MoveResultSet()
1086 m_pImpl->xResultSet->last(); in MoveResultSet()
1088 m_pImpl->xResultSet->first(); in MoveResultSet()
1092 m_pImpl->xResultSet->last(); in MoveResultSet()
1093 m_pImpl->nResultSetCursorPos = m_pImpl->xResultSet->getRow(); in MoveResultSet()
1100 return m_pImpl->nResultSetCursorPos; in MoveResultSet()
1109 if(!m_pImpl->xResultSet.is()) in IsResultSetFirstLast()
1111 if(m_pImpl->xResultSet.is()) in IsResultSetFirstLast()
1115 bIsFirst = m_pImpl->xResultSet->isFirst(); in IsResultSetFirstLast()
1116 bIsLast = m_pImpl->xResultSet->isLast(); in IsResultSetFirstLast()
1130 return m_pImpl->nResultSetCursorPos; in GetResultSetPosition()
1160 if(!m_pImpl->xResultSet.is()) in ExcludeRecord()
1162 if(m_pImpl->xResultSet.is()) in ExcludeRecord()
1164 m_pImpl->xResultSet->last(); in ExcludeRecord()
1165 sal_Int32 nEnd = m_pImpl->xResultSet->getRow(); in ExcludeRecord()
1213 return m_pImpl->aSavedDocuments; in GetSavedDocuments()
1220 const ::rtl::OUString* pDocs = m_pImpl->aSavedDocuments.getConstArray(); in AddSavedDocument()
1222 for(sal_Int32 nDoc = 0; nDoc < m_pImpl->aSavedDocuments.getLength(); ++nDoc) in AddSavedDocument()
1232 m_pImpl->aSavedDocuments.realloc(m_pImpl->aSavedDocuments.getLength() + 1); in AddSavedDocument()
1233 m_pImpl->aSavedDocuments[m_pImpl->aSavedDocuments.getLength() - 1] = rName; in AddSavedDocument()
1241 return m_pImpl->bIsOutputToLetter || !IsMailAvailable(); in IsOutputToLetter()
1248 if(m_pImpl->bIsOutputToLetter != bSet) in SetOutputToLetter()
1250 m_pImpl->bIsOutputToLetter = bSet; in SetOutputToLetter()
1251 m_pImpl->SetModified(); in SetOutputToLetter()
1260 m_pImpl->bIsIndividualGreetingLineInMail : in IsIndividualGreeting()
1261 m_pImpl->bIsIndividualGreetingLine; in IsIndividualGreeting()
1271 if(m_pImpl->bIsIndividualGreetingLineInMail != bSet) in SetIndividualGreeting()
1273 m_pImpl->bIsIndividualGreetingLineInMail = bSet; in SetIndividualGreeting()
1274 m_pImpl->SetModified(); in SetIndividualGreeting()
1279 if(m_pImpl->bIsIndividualGreetingLine != bSet) in SetIndividualGreeting()
1281 m_pImpl->bIsIndividualGreetingLine = bSet; in SetIndividualGreeting()
1282 m_pImpl->SetModified(); in SetIndividualGreeting()
1291 return bInEMail ? m_pImpl->bIsGreetingLineInMail : m_pImpl->bIsGreetingLine; in IsGreetingLine()
1298 m_pImpl->bUserSettingWereOverwritten = sal_False; in SetGreetingLine()
1301 if(m_pImpl->bIsGreetingLineInMail != bSet) in SetGreetingLine()
1303 m_pImpl->bIsGreetingLineInMail = bSet; in SetGreetingLine()
1304 m_pImpl->SetModified(); in SetGreetingLine()
1309 if(m_pImpl->bIsGreetingLine != bSet) in SetGreetingLine()
1311 m_pImpl->bIsGreetingLine = bSet; in SetGreetingLine()
1312 m_pImpl->SetModified(); in SetGreetingLine()
1322 return m_pImpl->GetGreetings(eType); in GetGreetings()
1330 m_pImpl->SetGreetings( eType, rSetGreetings); in SetGreetings()
1339 return m_pImpl->GetCurrentGreeting(eType); in GetCurrentGreeting()
1346 m_pImpl->SetCurrentGreeting(eType, nIndex); in SetCurrentGreeting()
1353 return m_pImpl->sFemaleGenderValue; in GetFemaleGenderValue()
1360 if( m_pImpl->sFemaleGenderValue != rValue ) in SetFemaleGenderValue()
1362 m_pImpl->sFemaleGenderValue = rValue; in SetFemaleGenderValue()
1363 m_pImpl->SetModified(); in SetFemaleGenderValue()
1375 for(aAssignIter = m_pImpl->aAddressDataAssignments.begin(); in GetColumnAssignment()
1376 aAssignIter != m_pImpl->aAddressDataAssignments.end(); aAssignIter++) in GetColumnAssignment()
1392 Sequence< ::rtl::OUString> aAssignment = GetColumnAssignment( m_pImpl->aDBData ); in GetAssignedColumn()
1395 else if(nColumn < m_pImpl->m_AddressHeaderSA.Count()) in GetAssignedColumn()
1396 sRet = m_pImpl->m_AddressHeaderSA.GetString(nColumn); in GetAssignedColumn()
1407 for(aAssignIter = m_pImpl->aAddressDataAssignments.begin(); in SetColumnAssignment()
1408 aAssignIter != m_pImpl->aAddressDataAssignments.end(); aAssignIter++) in SetColumnAssignment()
1427 m_pImpl->aAddressDataAssignments.push_back(aAssignment); in SetColumnAssignment()
1429 m_pImpl->SetModified(); in SetColumnAssignment()
1450 if(aBlocks.getLength() <= m_pImpl->GetCurrentAddressBlockIndex()) in IsAddressFieldsAssigned()
1452 SwAddressIterator aIter(aBlocks[m_pImpl->GetCurrentAddressBlockIndex()]); in IsAddressFieldsAssigned()
1546 return m_pImpl->sMailDisplayName; in GetMailDisplayName()
1553 if(m_pImpl->sMailDisplayName != rName) in SetMailDisplayName()
1555 m_pImpl->sMailDisplayName = rName; in SetMailDisplayName()
1556 m_pImpl->SetModified(); in SetMailDisplayName()
1564 return m_pImpl->sMailAddress; in GetMailAddress()
1571 if(m_pImpl->sMailAddress != rAddress ) in SetMailAddress()
1573 m_pImpl->sMailAddress = rAddress; in SetMailAddress()
1574 m_pImpl->SetModified(); in SetMailAddress()
1583 return m_pImpl->bIsMailReplyTo; in IsMailReplyTo()
1590 if(m_pImpl->bIsMailReplyTo != bSet) in SetMailReplyTo()
1592 m_pImpl->bIsMailReplyTo = bSet; in SetMailReplyTo()
1593 m_pImpl->SetModified(); in SetMailReplyTo()
1601 return m_pImpl->sMailReplyTo; in GetMailReplyTo()
1608 if(m_pImpl->sMailReplyTo != rReplyTo) in SetMailReplyTo()
1610 m_pImpl->sMailReplyTo = rReplyTo; in SetMailReplyTo()
1611 m_pImpl->SetModified(); in SetMailReplyTo()
1619 return m_pImpl->sMailServer; in GetMailServer()
1626 if(m_pImpl->sMailServer != rAddress) in SetMailServer()
1628 m_pImpl->sMailServer = rAddress; in SetMailServer()
1629 m_pImpl->SetModified(); in SetMailServer()
1637 return m_pImpl->bIsDefaultPort ? in GetMailPort()
1638 (m_pImpl->bIsSecureConnection ? SECURE_PORT : DEFAULT_PORT) : in GetMailPort()
1639 m_pImpl->nMailPort; in GetMailPort()
1646 if(m_pImpl->nMailPort != nSet || m_pImpl->bIsDefaultPort) in SetMailPort()
1648 m_pImpl->nMailPort = nSet; in SetMailPort()
1649 m_pImpl->bIsDefaultPort = sal_False; in SetMailPort()
1650 m_pImpl->SetModified(); in SetMailPort()
1658 return m_pImpl->bIsSecureConnection; in IsSecureConnection()
1665 if(m_pImpl->bIsSecureConnection != bSet) in SetSecureConnection()
1667 m_pImpl->bIsSecureConnection = bSet; in SetSecureConnection()
1668 m_pImpl->SetModified(); in SetSecureConnection()
1676 return m_pImpl->bIsAuthentication; in IsAuthentication()
1683 if(m_pImpl->bIsAuthentication != bSet) in SetAuthentication()
1685 m_pImpl->bIsAuthentication = bSet; in SetAuthentication()
1686 m_pImpl->SetModified(); in SetAuthentication()
1694 return m_pImpl->sMailUserName; in GetMailUserName()
1701 if(m_pImpl->sMailUserName != rName) in SetMailUserName()
1703 m_pImpl->sMailUserName = rName; in SetMailUserName()
1704 m_pImpl->SetModified(); in SetMailUserName()
1712 return m_pImpl->sMailPassword; in GetMailPassword()
1719 if(m_pImpl->sMailPassword != rPassword) in SetMailPassword()
1721 m_pImpl->sMailPassword = rPassword; in SetMailPassword()
1722 m_pImpl->SetModified(); in SetMailPassword()
1730 return m_pImpl->bIsSMPTAfterPOP; in IsSMTPAfterPOP()
1737 if( m_pImpl->bIsSMPTAfterPOP != bSet) in SetSMTPAfterPOP()
1739 m_pImpl->bIsSMPTAfterPOP = bSet; in SetSMTPAfterPOP()
1740 m_pImpl->SetModified(); in SetSMTPAfterPOP()
1748 return m_pImpl->sInServerName; in GetInServerName()
1755 if(m_pImpl->sInServerName != rServer) in SetInServerName()
1757 m_pImpl->sInServerName = rServer; in SetInServerName()
1758 m_pImpl->SetModified(); in SetInServerName()
1766 return m_pImpl->nInServerPort; in GetInServerPort()
1773 if( m_pImpl->nInServerPort != nSet) in SetInServerPort()
1775 m_pImpl->nInServerPort = nSet; in SetInServerPort()
1776 m_pImpl->SetModified(); in SetInServerPort()
1784 return m_pImpl->bInServerPOP; in IsInServerPOP()
1791 if( m_pImpl->bInServerPOP != bSet) in SetInServerPOP()
1793 m_pImpl->bInServerPOP = bSet; in SetInServerPOP()
1794 m_pImpl->SetModified(); in SetInServerPOP()
1802 return m_pImpl->sInServerUserName; in GetInServerUserName()
1809 if( m_pImpl->sInServerUserName != rName) in SetInServerUserName()
1811 m_pImpl->sInServerUserName = rName; in SetInServerUserName()
1812 m_pImpl->SetModified(); in SetInServerUserName()
1820 return m_pImpl->sInServerPassword; in GetInServerPassword()
1827 if(m_pImpl->sInServerPassword != rPassword) in SetInServerPassword()
1829 m_pImpl->sInServerPassword = rPassword; in SetInServerPassword()
1830 m_pImpl->SetModified(); in SetInServerPassword()
1849 return m_pImpl->bIsEMailSupported; in IsMailAvailable()
1856 m_pImpl->aMergeInfos.push_back(rInfo); in AddMergedDocument()
1863 DBG_ASSERT(m_pImpl->aMergeInfos.size() > nDocument,"invalid document index"); in GetDocumentMergeInfo()
1864 return m_pImpl->aMergeInfos[nDocument]; in GetDocumentMergeInfo()
1871 return m_pImpl->aMergeInfos.size(); in GetMergedDocumentCount()
1910 m_pImpl->aMergeInfos.clear(); in SetTargetView()
1936 if(!m_pImpl->bUserSettingWereOverwritten) in SetSourceView()
1938 if( m_pImpl->bIsAddressBlock == sal_True in SetSourceView()
1939 || m_pImpl->bIsGreetingLineInMail == sal_True in SetSourceView()
1940 || m_pImpl->bIsGreetingLine == sal_True ) in SetSourceView()
1943 m_pImpl->bUserSettingWereOverwritten = sal_True; in SetSourceView()
1944 m_pImpl->bIsAddressBlock_LastUserSetting = m_pImpl->bIsAddressBlock; in SetSourceView()
1945 m_pImpl->bIsGreetingLineInMail_LastUserSetting = m_pImpl->bIsGreetingLineInMail; in SetSourceView()
1946 m_pImpl->bIsGreetingLine_LastUserSetting = m_pImpl->bIsGreetingLine; in SetSourceView()
1949 m_pImpl->bIsAddressBlock = sal_False; in SetSourceView()
1950 m_pImpl->bIsGreetingLineInMail = sal_False; in SetSourceView()
1951 m_pImpl->bIsGreetingLine = sal_False; in SetSourceView()
1953 m_pImpl->SetModified(); in SetSourceView()
1957 else if( m_pImpl->bUserSettingWereOverwritten ) in SetSourceView()
1960 m_pImpl->bIsAddressBlock = m_pImpl->bIsAddressBlock_LastUserSetting; in SetSourceView()
1961 m_pImpl->bIsGreetingLineInMail = m_pImpl->bIsGreetingLineInMail_LastUserSetting; in SetSourceView()
1962 m_pImpl->bIsGreetingLine = m_pImpl->bIsGreetingLine_LastUserSetting; in SetSourceView()
1964 m_pImpl->bUserSettingWereOverwritten = sal_False; in SetSourceView()
1974 m_pImpl->SetCurrentAddressBlockIndex( nSet ); in SetCurrentAddressBlockIndex()
1981 return m_pImpl->GetCurrentAddressBlockIndex(); in GetCurrentAddressBlockIndex()