A border line for page, table, paragraph and character can only have a maximum thickness of 9 pt in LibreOffice. For a textbox or shape it's limited to 5 cm. These are ridiculous restrictions. Please increase it to a higher value.
Any showstopper, Regina? If not I don't see a reason to restrict user input, even when it makes not much sense on the first glance.
For fo:border the width is not negative, no further constrains. For svg:stroke-width there are no constrains. Remark: What users call a "border" might be different in file format. The "border" around a paragraph is a 'fo:border' but the "border" around a shape is a 'stroke', for example.
So technically no problem. But huge numbers may crash anyway. Trying with a very small frame, and this enlarges when the border is too big. We cannot do the same for pages and I wonder if scenarios with values about 9pt aren't better solved by other means.
Hm, I never had the idea to use a shape for what I can use page border. But ok, that's possible though not necessarily obvious. But since a page background isn't targeting the page margin in newer LibO versions, it must be possible to give the margin a full color. The restrictions today make that hard to achieve.
We discussed the topic in the design meeting. OTOH, limitations (in particular arbitrary) are always awkward. But otherwise we may run into issues with huge values. For the line size you can define up to 500pt at the sidebar, which enlarges objects beyond the page size. Though not sure what happens when when the page border grows like this. In the discussion we didn't come to a decision of a new limit. @Thomas, do you have a use case or maybe a proposal? Ideally something that cannot be done by other means like rectangles.
We discussed the topic in the design meeting. The use case is unclear but there is also an inconsistency across the various places. If making the page border huge doesn't break anything (having a huge line with around shapes makes it larger and can exceed the page size), there is no good objection for a higher limit. Workaround: the sidebar accepts up to 500pt for line width.
My arguments are consistency and as few as possible restrictions for users (they are only acceptable if it's technically and logical explainable). One use case is a document with an official notification in a company that uses a thick border around the content with colors according to ISO 7010 [1]. The border should be several centimeters thick and should go around an A4 page. Rectangles are not useful as they don't expand to a next page automatically and the behavior of text in a shape is different from text in a page. Therefore a rectangle is no workaround that can be burden to users. [1] https://de.wikipedia.org/wiki/EN_ISO_7010#Farben
With bug 112195 "Allow page background to cover the whole page" now it's not possible to have an other-colored margin around the page content area. I suggest to extend bug 85860 "border lines and spacing should optionally increase frame size rather than reduce content to fit" also to page settings.
Created attachment 151652 [details] White page margin around blue page content area, LibO 6.0 How is it possible to have a margin with LibO 6.3 like in the attached screenshot?