<div dir="ltr">Hi all,<div>I'm Matteo, I'm planning to apply for GSoC and I'm wondering if anyone could answer a few questions on the GSoC idea proposal in the subject (<a href="https://wiki.documentfoundation.org/Development/GSoC/Ideas#Improve_Text_Boxes_in_Draw">[1]</a>).</div>

<div>Some specific tasks that would be involved in this project are not totally clear to me yet.<br><div><div>Simply enough, the general problem seems to be that of enhancing text frames in Draw.</div><div>Quoting from the official description, some missing features of text frames are:</div>

<div>(my personal comments and questions right indented below each item)</div><div><br></div><div>- <i>"text background color":</i></div></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div>
<div>
It seems to me that it is possible to specify a text box background in color in Draw. Are we then referring to background color of the text only?</div><div>Would that be, in other words, some colored rectangle around only part of the text in the box (a bit like text background color in Writer)?</div>

</div><div><br></div></blockquote><div><div>- <i>"flow of contents from one frame to another":</i></div></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px">I am not sure I know what we are talking about here, but I would imagine it as "The text in a frame may (dynamically) constitute part of the text in another frame".<br>

Let me illustrate this: Alice has two text frames, named respectively TF1 and TF2. The text in TF1 may look like:<br>"""<br>Lorem ipsum...<br>As illustrated in the box above:<br>[TF2.text]<br>Ut enim ad minim...<br>

""" <br>Here, the macro TF2.text would expand to whatever text is contained in the other frame.<br>Is this in any way close to what the project description is talking about?<br>Is there already something like this in Draw or LO in general, i..e ways. to reference other objects' properties explicitly?<br>

<br></blockquote><div><div>- <i>"hyphenation":</i></div></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px">About this point, I wanted to ask a more technical and at the same time general type of question:<br>

from the documentation on the class ImpEditEngine (<a href="http://docs.libreoffice.org/editeng/html/classImpEditEngine.html#a6163e18b8db452f3324561f933332542">[2]</a>) I see that there are getters and setters for "hyphenators" and a method called ImpBreakLine. This suggests to me that ImpEditEngine may be involved directly in how or whether hyphenation is done in text frames.<br>

How does this class actually works?<br>What are its responsibilities (since it seems to deal with a LOT of stuff)?<br>Could anyone exemplify or point how this class affects hyphenation in, say, Writer or any other parts of LO? (or alternatively could anyone redirect me to some semi-digestible snippets of code in LOI see  where this magic happens?)</blockquote>

<div><div><i><br></i></div><div>- <i>"support of style":</i></div></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px">I see that Draw already has a "Style and Formatting" dialog offering several options. What would be the specific enhancements for this point?</blockquote>

<div><div><br></div><div>I had a hard time finding which source files in sd/ are strictly related to text frames, could anyone please give me a direction for that? (textapi.{hxx,cxx} by any chance?)</div><div><br></div><div>

I'm still a little bit confused on the specific scope/aim of the items above, does anyone have an opinion on how much/which parts of this project idea would be sensible to incorporate in a concrete proposal for the summer?</div>

<div><br></div><div>Thank you for your time.</div><div>Best,</div><div>Matteo</div><div><br></div><div>References:</div><div>[1] Original GSoC idea description (<a href="https://wiki.documentfoundation.org/Development/GSoC/Ideas#Improve_Text_Boxes_in_Draw">link</a>)</div>

</div><div>[2] Reference documentation for ImpEditEngine (<a href="http://docs.libreoffice.org/editeng/html/classImpEditEngine.html#a6163e18b8db452f3324561f933332542">link</a>)</div></div><div><br></div></div>