Re: Finding character after Formula anchor point

2013-04-22 Thread Rheinländer
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().equalsAsc

Re: Finding character after Formula anchor point

2013-04-22 Thread Michael Stahl
On 20/04/13 08:21, Rheinländer wrote: > Hi, > > I'm trying to find the character after a Formula's anchor. It's anchored > "as character" so I thought this would be easy... > > // Create a model cursor at the anchor point > Reference < XTextContent > formula = ... > Reference < XText > xDocumentT