How to call function getTextProperties() declared under class TextBody

serdar tunc serdarot5 at
Mon Nov 27 23:47:52 UTC 2017

I need to call getTextProperties() function. It returns

maTextProperties which its type of

TextBodyProperties struct . In that struct i need to change moRotation value.

I want to make changes on sc/source/filter/oox/drawingfragment.cxx and
i tried this line

mxShape->getTextBody()->getTextProperties().moRotation = 0;

I can call getTextBody() function but i couldnt reach
getTextProperties() funcion it says :"invalid use of incomplete type
‘class oox::drawingml::TextBody’".

 Can somebody tell me how can i call function in drawingfragment.cxx file.

Thank You...

More information about the LibreOffice mailing list