<div dir="ltr">Hi all,<br><br> I found a dialog which is not used (as I see) and the belonging code is also bugous. This dialog is SwBorderDlg which has the same ui as the commonly used "Borders" tab page (e.g. Format -> Paragraph... -> Borders).<br>
<br>The dialog can be working but the creation is wrong:<br><a href="http://opengrok.libreoffice.org/xref/core/sw/source/ui/shells/basesh.cxx#2357">http://opengrok.libreoffice.org/xref/core/sw/source/ui/shells/basesh.cxx#2357</a><br>
The pointer above show the case into which the progam jump when the dialog is intented to execute (it seems this code is never executed). In this case the program decides which type of "Borders" dialog to execute (table, frame, paragraph).<br>
<br>Problems:<br> -This code does not take a notice of page border (it must be a newer feature) but open the same dialog as in the case of paragraphs. It is errornous because the paragraph type has an additional checkbox "Merge with next paragraph".<br>
-How can the shell decide whether execute the page or the paragraph specific dialog.<br> -I intend to add a new type for character border which make more indefinit this decision.<br><br>I find these commits adding the functionality, but they don't help:<br>
<a href="http://cgit.freedesktop.org/libreoffice/core/log/?qt=range&q=7b0b5cdfe">http://cgit.freedesktop.org/libreoffice/core/log/?qt=range&q=7b0b5cdfe</a><br><br>So the question is that anybody knows what the aim of this dialog or how it can be used in the future.<br>
<br>Additionally the same bugous decision making appear for background (It seems it is unused too).<br><a href="http://opengrok.libreoffice.org/xref/core/sw/source/ui/shells/basesh.cxx#2424">http://opengrok.libreoffice.org/xref/core/sw/source/ui/shells/basesh.cxx#2424</a><br>
<br>Regards,<br>Tamás<br></div>