From: Dom Lachowicz (doml@appligent.com)
Date: Tue Feb 26 2002 - 18:27:20 GMT
If I add code @ line 9950, image context menus work for
wv/examples/example-graphic-inclusion.doc for the topleft image. Putting
a space before it makes the menu work. My hack code was basically:
if(pRun->GetType() == FPRUN_FMTMARK && pRun->GetNext () != NULL)
pRun = pRun->getNext();
However it rightly triggers an assert at ap_EditMethods.cpp:7210 because
it's not a FPRUN_IMAGE. Like I said, this code is a hack.
So I think that there's a subtle bug in pBlock->findPointCoords()
possibly but I don't have enough time to check this out this afternoon.
Can anyone lend me a hand please?
More info: the first image is at position (PT_DocPos)2 in the document,
not position 1 or 0 as I'd expect. image #2 is at position 12.
Thx,
Dom
This archive was generated by hypermail 2.1.4 : Tue Feb 26 2002 - 13:34:23 GMT