Kaydet (Commit) 1e91e48a authored tarafından Hans-Joachim Lankenau's avatar Hans-Joachim Lankenau

INTEGRATION: CWS os13 (1.46.10); FILE MERGED

2003/07/24 12:16:11 os 1.46.10.1: #i9569# support of 'CurrentPresentation' for conditional text field added
üst 600b86bc
...@@ -2,9 +2,9 @@ ...@@ -2,9 +2,9 @@
* *
* $RCSfile: txtfldi.cxx,v $ * $RCSfile: txtfldi.cxx,v $
* *
* $Revision: 1.46 $ * $Revision: 1.47 $
* *
* last change: $Author: hr $ $Date: 2003-06-30 15:59:33 $ * last change: $Author: hjs $ $Date: 2003-08-19 12:02:52 $
* *
* The Contents of this file are made available subject to the terms of * The Contents of this file are made available subject to the terms of
* either of the following licenses * either of the following licenses
...@@ -2279,6 +2279,7 @@ XMLConditionalTextImportContext::XMLConditionalTextImportContext( ...@@ -2279,6 +2279,7 @@ XMLConditionalTextImportContext::XMLConditionalTextImportContext(
sPropertyTrueContent(RTL_CONSTASCII_USTRINGPARAM(sAPI_true_content)), sPropertyTrueContent(RTL_CONSTASCII_USTRINGPARAM(sAPI_true_content)),
sPropertyFalseContent(RTL_CONSTASCII_USTRINGPARAM(sAPI_false_content)), sPropertyFalseContent(RTL_CONSTASCII_USTRINGPARAM(sAPI_false_content)),
sPropertyIsConditionTrue(RTL_CONSTASCII_USTRINGPARAM(sAPI_is_condition_true)), sPropertyIsConditionTrue(RTL_CONSTASCII_USTRINGPARAM(sAPI_is_condition_true)),
sPropertyCurrentPresentation(RTL_CONSTASCII_USTRINGPARAM(sAPI_current_presentation)),
sCondition(), sCondition(),
sTrueContent(), sTrueContent(),
sFalseContent(), sFalseContent(),
...@@ -2337,6 +2338,9 @@ void XMLConditionalTextImportContext::PrepareField( ...@@ -2337,6 +2338,9 @@ void XMLConditionalTextImportContext::PrepareField(
aAny.setValue( &bCurrentValue, ::getBooleanCppuType() ); aAny.setValue( &bCurrentValue, ::getBooleanCppuType() );
xPropertySet->setPropertyValue(sPropertyIsConditionTrue, aAny); xPropertySet->setPropertyValue(sPropertyIsConditionTrue, aAny);
aAny <<= GetContent();
xPropertySet->setPropertyValue(sPropertyCurrentPresentation, aAny);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment