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.11 using LO, Gentoo Linux using LO headless.
Posts: 162
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.5 on Xubuntu 18.04 (mostly 64 bit version) and infrequently on Win2K/XP
14 October 2016 was Pooh's 90th birthday
User avatar
Posts: 26921
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 3 guests