Kaydet (Commit) 4536f0b9 authored tarafından Oliver-Rainer Wittmann's avatar Oliver-Rainer Wittmann

#119803# - RTF export for User Fields: implementation for method…

#119803# - RTF export for User Fields: implementation for method <RtfAttributeOutput::WriteExpand(..)>

Found by: ej197us at gmail dot com
Patch by: yuanlin <yuanlin.ibm at gmail dot com>
Review by: Oliver <orw at apache dot org>
üst c209cc11
......@@ -2933,9 +2933,20 @@ void RtfAttributeOutput::FormatFrameDirection( const SvxFrameDirectionItem& rDir
}
}
void RtfAttributeOutput::WriteExpand( const SwField* /*pFld*/ )
void RtfAttributeOutput::WriteExpand( const SwField* pFld )
{
OSL_TRACE("TODO: %s", OSL_THIS_FUNC);
String sStr; // fuer optionale Parameter
switch (pFld->GetTyp()->Which())
{
//#119803# Export user field and DB field for RTF filter
case RES_DBFLD:
sStr = FieldString(ww::eMERGEFIELD);
// kein break !!
case RES_USERFLD:
sStr += pFld->GetTyp()->GetName();
m_rExport.OutputField(pFld, ww::eNONE, sStr);
break;
}
}
void RtfAttributeOutput::RefField( const SwField& /*rFld*/, const String& /*rRef*/ )
......
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