<div dir="ltr">Hi,<div><br></div><div>I am working on the global handling of chains of text boxes in Draw.</div><div>The idea would be to keep the information on which text objects belong to which chain by using a svx class TextChain (that I created).</div><div>An example of a (partial) interface TextChain would be the following (quite similar to a linked list):</div><div>[Side reminder: text boxes roughly correspond to SdrTextObj objects].<br></div><div>- InsertNode(SdrTextObj *prev, SdrTextObj *newNode)</div><div>- AppendNode(SdrTextObj *newNode)<br></div><div>- GetPrevNode(SdrTextObj *)</div><div>- GetNextNode(SdrTextObj *)</div><div><br></div><div>Also note that in a Draw document there can be an arbitrary number of chains of SdrTextObj-s.</div><div><br></div><div><b>Question</b>: what is a good place to keep these chains in svx?</div><div>They hold some kind of global information so my first guess would be SdrModel. Does that make sense?</div><div><br></div><div>At some point it should be possible to specify next links from the UI.</div><div><b>Question</b>: where should one put such commands/methods (called from the UI) for setting/removing links ? SdrTextObj-s themselves? </div><div><br></div><div>Cheers,</div><div>Matteo</div><div><br></div></div>