List Info

Thread: XNameContainer.insertByName() causes sheet to become 'dirty'




XNameContainer.insertByName() causes sheet to become 'dirty'
user name
2006-03-30 05:09:42
Hi Tim,

> I can understand that inserting this object changes the
worksheet, but is
> there a way to prevent it from marking the workbook as
'dirty' (so users
> don't get prompted to save the workbook merely because
of this change?)

I suppose you're looking for XModifiable.setModified( false
) (at the
document).

Ciao
Frank

-- 
- Frank Schönheit, Software Engineer        
frank.schoenheitsun.com -
- Sun Microsystems                      http://www.sun.com/star
office -
- OpenOffice.org Database                   http://dba.openoffice.org -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - -

------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribeapi.openoffice.org
For additional commands, e-mail: dev-helpapi.openoffice.org

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )