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
signature.asc
Description: This is a digitally signed message part