[Libreoffice-ux-advise] [Bug 148128] Mark page center on horizontal and vertical rulers

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Tue Apr 5 13:31:05 UTC 2022


https://bugs.documentfoundation.org/show_bug.cgi?id=148128

--- Comment #3 from csongor at halmai.hu ---
I agree, this is a very useful idea. 

If such a feature is introduced, there is a lot of potential in it. Even if it
won't be implemented in full depth right now, it should be considered in a way
that can be extended in the future. 

In a long run, I am thinking of snap positions defined either relative or
absolute way, compared to other anchors. For example:

- basic anchor positions can be called $leftOfPaper,  $rightOfPaper,
$leftOfPage, $rightOfPage, $leftOfParagraph, $rightOfParagraph, $topOf...,
$bottomOf... 
- new anchor positions can be derived from existing anchor positions with
formulae, like 
-- ($leftOfPage+$rightOfPage)/4
-- $rightOfParagraph-20mm
-- etc.

Variables computed by such calculations could be used in positioning and sizing
form fields. For example, the image width could be "$myValue" instead of
"5.25cm" where $myValue is defined by a formula like
($leftOfPage+$rightOfPage)/4. The actual image width would change automatically
  if the page size is changed from A4 to, say, A3.

I admit, it can get complicated if a user goes crazy but at the same time, it
would give a lot of power how to position and size elements.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Libreoffice-ux-advise mailing list