poi-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tales Paiva Nogueira" <ta...@great.ufc.br>
Subject [HSLF] Indentation level identification
Date Thu, 17 Aug 2006 13:13:39 GMT
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 information is
"text.offset",  is it?

 When I call it from my main class, it returns -1. I know this is because
the RichTextRun inherits the property from the Master.

 Is there any other way to identify the indentation level for a given
RichTextRun?

Thanks a lot,
Tales Paiva

---------------------------------------------------------------------
To unsubscribe, e-mail: poi-user-unsubscribe@jakarta.apache.org
Mailing List:     http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta Poi Project:  http://jakarta.apache.org/poi/


Mime
View raw message