From 08873c23dc8e61c2c3809e20e260f08c52587e9f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=BCdiger=20Timm?= Date: Thu, 4 Sep 2008 09:23:27 +0000 Subject: [PATCH] INTEGRATION: CWS swenhancedfields2 (1.41.18); FILE MERGED 2008/08/04 14:18:07 b_michaelsen 1.41.18.2: RESYNC: (1.41-1.42); FILE MERGED 2008/04/23 14:29:19 ama 1.41.18.1: #i33737#: Enhanced fields --- sw/source/core/unocore/unoport.cxx | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/sw/source/core/unocore/unoport.cxx b/sw/source/core/unocore/unoport.cxx index 4f02ae4b9878..35d0f87dbfe3 100644 --- a/sw/source/core/unocore/unoport.cxx +++ b/sw/source/core/unocore/unoport.cxx @@ -7,7 +7,7 @@ * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: unoport.cxx,v $ - * $Revision: 1.42 $ + * $Revision: 1.43 $ * * This file is part of OpenOffice.org. * @@ -314,6 +314,9 @@ void SwXTextPortion::GetPropertyValue( case PORTION_RUBY_START: case PORTION_RUBY_END: pRet = "Ruby";break; case PORTION_SOFT_PAGEBREAK:pRet = "SoftPageBreak";break; + case PORTION_FIELD_START:pRet = "TextFieldStart";break; + case PORTION_FIELD_END:pRet = "TextFieldEnd";break; + case PORTION_FIELD_START_END:pRet = "TextFieldStartEnd";break; default: pRet = 0; } @@ -357,6 +360,8 @@ void SwXTextPortion::GetPropertyValue( case PORTION_REDLINE_END : case PORTION_RUBY_START: case PORTION_RUBY_END: + case PORTION_FIELD_START: + case PORTION_FIELD_END: rVal.setValue(&bIsCollapsed, ::getBooleanCppuType()); break; default: @@ -374,6 +379,7 @@ void SwXTextPortion::GetPropertyValue( case PORTION_TOXMARK_START: case PORTION_REDLINE_START: case PORTION_RUBY_START: + case PORTION_FIELD_START: break; case PORTION_REFMARK_END: @@ -381,6 +387,7 @@ void SwXTextPortion::GetPropertyValue( case PORTION_BOOKMARK_END: case PORTION_REDLINE_END: case PORTION_RUBY_END: + case PORTION_FIELD_END: bStart = FALSE; break; default: