On Mon, 21 Aug 2006, Yegor Kozlov wrote:
I was wrong with that. The indentation is preserved. Sorry for the
distraction.
Yup, in the (now) badly named paraIgn.
Do you want to attach a patch to bugzilla, with a more sensible variable
name + the RichTextRun.getIndenLevel() ?
Nick
---
Hi Nick,
YK> What is bad, that this value is re-setted to 0 when a slide show is saved
and
YK> the indentation information is lost. Try to re-save a ppt with indents
YK> and see that they are lost!
I was wrong with that. The indentation is preserved.
Sorry for the distraction.
I added RichTextR
Nick,
In StyleTextPropAtom.setParentTextSize when we read paragraph
properties we ignore the 2-byte value before the paragraph
properties:
// Fetch the 2 byte value that is safe to ignore as 0
short paraIgn = LittleEndian.getShort(rawContents,pos);
pos += 2;
In fact it stores the ind
Hi,
TPN> Is there any other way to identify the indentation level for a given
TPN> RichTextRun?
Unfortunately you can't retrieve the indentation level for a
RichTextRun. It's not supported by the current code.
Indentation level is stored as a 2-byte paragraph property in the
style record. Initi
Hi,
I need to identify the indentation level of a text in a TextBox. For this
I created a method in the RichTextRun class as follows:
public int getTextOffset(){
return getParaTextPropVal("text.offset");
}
Assuming that the property name that holds this informat