View | Details | Raw Unified | Return to issue 119889
Collapse All | Expand All

(-)svx/source/table/cell.cxx (+10 lines)
Lines 260-265 Link Here
260
				sdr::table::SdrTableObj& rObj = (sdr::table::SdrTableObj&)GetSdrObject();
260
				sdr::table::SdrTableObj& rObj = (sdr::table::SdrTableObj&)GetSdrObject();
261
				if( rObj.IsVerticalWriting() != bVertical )
261
				if( rObj.IsVerticalWriting() != bVertical )
262
					rObj.SetVerticalWriting(bVertical);
262
					rObj.SetVerticalWriting(bVertical);
263
264
				// Set a cell vertical property
265
				OutlinerParaObject* pParaObj = mxCell->GetEditOutlinerParaObject();
266
				if( pParaObj == 0 )
267
					pParaObj = mxCell->GetOutlinerParaObject();
268
				if(pParaObj)
269
				{
270
					pParaObj->SetVertical(bVertical);
271
				}
272
263
			}
273
			}
264
274
265
			// call parent
275
			// call parent
(-)oox/source/drawingml/table/tablecell.cxx (+6 lines)
Lines 36-41 Link Here
36
#include <com/sun/star/drawing/TextVerticalAdjust.hpp>
36
#include <com/sun/star/drawing/TextVerticalAdjust.hpp>
37
#include <com/sun/star/drawing/TextHorizontalAdjust.hpp>
37
#include <com/sun/star/drawing/TextHorizontalAdjust.hpp>
38
#include <com/sun/star/text/XText.hpp>
38
#include <com/sun/star/text/XText.hpp>
39
#include <com/sun/star/text/WritingMode.hpp>
39
40
40
using rtl::OUString;
41
using rtl::OUString;
41
using namespace ::oox::core;
42
using namespace ::oox::core;
Lines 356-361 Link Here
356
    // TODO: phClr?
357
    // TODO: phClr?
357
    aFillProperties.pushToPropMap( aPropMap, rFilterBase.getGraphicHelper() );
358
    aFillProperties.pushToPropMap( aPropMap, rFilterBase.getGraphicHelper() );
358
    PropertySet( xPropSet ).setProperties( aPropMap );
359
    PropertySet( xPropSet ).setProperties( aPropMap );
360
361
    if ( getVertToken() == XML_eaVert )
362
    {
363
        xPropSet->setPropertyValue(::rtl::OUString::createFromAscii( "TextWritingMode" ) , Any(com::sun::star::text::WritingMode_TB_RL) );
364
    }
359
}
365
}
360
366
361
} } }
367
} } }

Return to issue 119889