Hi Tamás,
Zolnai Tamás schrieb:
Hi Regina,
The new property specify whether the content of the frame positioned
vertically at the top/center/bottom of the frame. Of course it doesn't
have effect when there is no additional space.
* A frame can contain nearly a whole document including headings,
paragraph, tables, graphic, or sections.
* The frame content is sensible to the compatibility settings
regarding spacing.
* "Register true" might be enabled.
These things are true for table cells too, aren't they?
From a user point of view, most things exist for both, that is true.
From a ODF point of view, tables and frames are quite different.
There exist no "anchor to cell" in Writer-tables, but "anchor to frame"
exists. What behavior do you will implement for anchored to frame
objects? I personally think, that they should not be aligned by the
vertical alignment property, but follow their position information.
BTW, the vertical alignment in table cells does not work when graphics
present, which are not anchored as characters.
* The content of a frame may float to a linked frame.
Yeah, that's a special case, which I have to think of during implementation.
* The height of a frame is often fitting to content.
I don't know it is often or not, but I can imagine user cases when this
alignment can be useful.
It is the default setting.
The main thing is consistency. If we have the
feature of vertical alignment for containers like text boxes and tables,
then why don't we have it for frames too?
Tables belong to a different style:family. Tables can exist without
draw:frame element. You can compare frames and other graphics, because
they are equal in ODF. But tables are different.
Exists an attribute for this in ODF?
Yes, it is called draw:textarea-vertical-align and is listed into
style:graphic-properties which "specifies formatting properties for
chart, draw, graphic, and frame elements."
OK, I have found it. But for tables it is style:vertical-align.
Please, do not get me wrong. I'm just very cautious in terms of new
features.
And now to your question: I would not put it on the dialog page "Type",
because there are properties collected, which describe the relationship
of a frame/shape to its surroundings. But the alignment is a property
with regard to its content. Therefore I thing the dialog page "Options"
would be more logical. Besides that, there is more free space on page
"Options".
Kind regards
Regina
Context
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.