Hi Jan,

I need some special kind of field which
- can consist of multiple lines of styled text (for example, the second word in the second line is bold)
- knows whether the user has modified portions of it
- does not regard itself as modified if text is inserted immediately before or after it
- has a unique identifier which can be read and set through the api
- is displayed in oowriter as styled text (for example, the second word in the second line is bold),
 perhaps with a grey background like other fields

Does anyone can give me a clue how this is possible at all without rewriting half of openoffice?

Have you considered using a TextSection for this purpose ... seems to me that it fulfils what you need. The only tricky thing could be the modified stage this I don't think that sections implement a XModifyListener or something comparable.

Hope that helps

Regards

Stephan

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to