Date: prev next · Thread: first prev next last
2017 Archives by date, by thread · List index


Hi,

On Tue, Nov 28, 2017 at 01:47:52AM +0200, serdar tunc wrote:
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.

Add

#include <drawingml/textbody.hxx>

to make the declaration of TextBody visible to the compiler (not just its
forward declaration).

D.

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.