Date: prev next · Thread: first prev next last
2015 Archives by date, by thread · List index


On 10/11/15 04:52, Brian Barker wrote:
At 13:41 09/11/2015 +0000, Malcolm Moore wrote:
Is there a guide ( or knowledgeable person ) that can show the pros
and cons of frames v text boxes.

.....
A knowledgeable person? That's probably not me, but I'd suggest that
text objects may be useful for the odd piece of disconnected, displayed
text, whereas frames are a much more flexible way to handle blocks of
text. In particular:

o Text objects can be rotated, whereas frames appear not to have this
facility.

The interesting thing is that internally text boxes and frames appear to be pretty well identical in structure. Each appears implemented in the xml as a "<draw:text>" item within a "<draw:frame>" item.

However, the frame's frame has a style derived from the "Frame" style; the text box's frame's style has no parent. A quick bit of editing on content.xml to graft in the text box's style name (gr1 in my case) instead of the frame's style (fr1) converts the frame into a text box -- no outside border, and rotations allowed. I have no idea what it might be about the "Frame" style that disallows rotation. (Or, indeed, why anyone would wish to disallow this in the first place.)

I'm sure this must be documented somewhere. All I've done is look at content.xml, and potter a bit for a few minutes, so may well be missing something important.


--
Mike Scott
Harlow, Essex, England

--
To unsubscribe e-mail to: users+unsubscribe@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted

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.