diff options
author | Oliver Specht <os@openoffice.org> | 2000-11-10 12:49:21 +0000 |
---|---|---|
committer | Oliver Specht <os@openoffice.org> | 2000-11-10 12:49:21 +0000 |
commit | c73abaad8296159acdc8e0a77b78af128dabb331 (patch) | |
tree | 0c047903b1d1c350b639bfcbaf743ec7bf1c0b4a /sw/source | |
parent | e800967c779ac6173ac3487028cb7d51057cf3e1 (diff) |
set properties sPar3 and sPar4
Diffstat (limited to 'sw/source')
-rw-r--r-- | sw/source/core/unocore/unofield.cxx | 24 |
1 files changed, 22 insertions, 2 deletions
diff --git a/sw/source/core/unocore/unofield.cxx b/sw/source/core/unocore/unofield.cxx index f4f77cb1590a..7e377e731647 100644 --- a/sw/source/core/unocore/unofield.cxx +++ b/sw/source/core/unocore/unofield.cxx @@ -2,9 +2,9 @@ * * $RCSfile: unofield.cxx,v $ * - * $Revision: 1.6 $ + * $Revision: 1.7 $ * - * last change: $Author: os $ $Date: 2000-11-09 10:44:28 $ + * last change: $Author: os $ $Date: 2000-11-10 13:49:21 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -2314,6 +2314,20 @@ void SwXTextField::setPropertyValue(const OUString& rPropertyName, const uno::An m_pProps->sPar2 = String(uTmp); } break; + case FIELD_PROP_PAR3: + { + OUString uTmp; + aValue >>= uTmp; + m_pProps->sPar3 = String(uTmp); + } + break; + case FIELD_PROP_PAR4: + { + OUString uTmp; + aValue >>= uTmp; + m_pProps->sPar4 = String(uTmp); + } + break; case FIELD_PROP_FORMAT: { aValue >>= m_pProps->nFormat; @@ -2433,6 +2447,12 @@ uno::Any SwXTextField::getPropertyValue(const OUString& rPropertyName) case FIELD_PROP_PAR2: aRet <<= OUString(m_pProps->sPar2); break; + case FIELD_PROP_PAR3: + aRet <<= OUString(m_pProps->sPar3); + break; + case FIELD_PROP_PAR4: + aRet <<= OUString(m_pProps->sPar4); + break; case FIELD_PROP_FORMAT: aRet <<= m_pProps->nFormat; break; |