Documentation & details about “Frame” Text Portion?

Keyboard macros or custom scripts

Documentation & details about “Frame” Text Portion?

Postby _savage » Fri Apr 13, 2018 12:25 am

Hello... given a very simple document like this:


I can inspect the text portions of the paragraph. The formula has a TextPortionType of “Frame” but I fail to find much further documentation on that.

For example, I can:

Code: Select all   Expand viewCollapse view
# textPortion.TextPortionType = "Frame"
enum = textPortion.createContentEnumeration("")
if enum.hasMoreElements():
    obj = enum.nextElement()
    # obj.FrameStyleName = "Formula"

I’m looking for more detailed information on these Frames and how to inspect their content and content types. Where are more details on that Formula? What about other Frame types besides “Formula”, e.g. “Graphics” or “OLE”?

Can somebody please explain or point me into the right direction, something more detailed than the drafty Frames Wiki?
Mac 10.14 using LO, Gentoo Linux using LO headless.
Posts: 168
Joined: Sun Apr 21, 2013 12:55 am

Re: Documentation & details about “Frame” Text Portion?

Postby RoryOF » Fri Apr 13, 2018 7:00 am

There are some links off this page which you may find helpful
Apache OpenOffice 4.1.6 on Xubuntu 18.04.3 (mostly 64 bit version) and very infrequently on Win2K/XP
User avatar
Posts: 29285
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Return to OpenOffice Basic, Python, BeanShell, JavaScript

Who is online

Users browsing this forum: No registered users and 2 guests