WPCubed Product Support

Bug, we only put Picture in a cell !

I only put Picture in a cell,
WPT5 doesn't calculate very well the position in the cell, the picture is drawn over two cells !
It's ok, when i added a space just before the picture !

row->Cols[0]->Append(" "); // Add it to avoid problem !
TWPTextObj* obj = row->Cols[0]->AppendNewObject(wpobjImage, false, false, 0);
TWPOImage* img = new TWPOImage(NULL);
img->LoadFromFile(asFilename);
obj->ObjRef = img;
obj->Frame = TWPTextObjFrames();// << wpframeFine;

any other solution ?

#1 ♥ 0
4.2k Views 2 users read 1 min
support

Which version?

I have no problems to put an image in a cell, if it is too big it will be even shrinked.

#2 ♥ 0

You can load this rtf file to see the problem !
I create this document with WPTools-Text [V5.203 +premium]

Thanks
François

#3 ♥ 0
support

Thanks,

I don't know. When I open that file it behaves completly as expected. Maybe you should add a second ReformatAll after you have created it.

Julian

#4 ♥ 0
This category is archived. No new posts are possible.