Finding character after Formula anchor point

Rheinländer jrheinlaender at gmx.de
Mon Apr 22 22:22:09 PDT 2013


Thanks Michael. Not sure if that was what you meant, but it works now
and is even simpler than I thought:

Reference < XTextCursor > xModelCursor =
	xDocumentText->createTextCursorByRange(formula->getAnchor()->getEnd());
xModelCursor->goRight(2, true);
if (xModelCursor->getString().equalsAscii("\n"))
	...

Jan



More information about the LibreOffice mailing list