I iterate TextPortions in Python UNO and can get all the other character properties like weight, posture, color etc. TextPortions are:

"NORMAL"

"1"

"1111111111111111111111111111111111111111111111111111111111111111111"

" non breakable normal2"

The line of code print(portion.CharKeepTogether) gives me an error: "AttributeError: CharKeepTogether". And indeed, when I inspect all the properties of the portion with unohelper.inspect(portion, sys.stdout) (it prints out all I can get through the object), there is no CharKeepTogether in the list.

I've tried this with LibreOffice 5.3.0 and 5.4.2.2

Any ideas ?

Last edited by xenon325 on Sun Dec 10, 2017 9:47 pm, edited 2 times in total.