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: [email protected]
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

Reply via email to