boolean result = false;
if ( stream != null && name != null && !name.equals( "" )) {
// Obtain content creator interface.
XContentCreator creator = ( XContentCreator )UnoRuntime.queryInterface(
XContentCreator.class, m_content );
// Note: The data for info may have been obtained using
// XContentCreator::queryCreatableContentsInfo().
ContentInfo info = new ContentInfo();
info.Type = "application/vnd.sun.staroffice.fsys-file";
info.Attributes = 0;
// Create new, empty content.
XContent newContent = creator.createNewContent( info );
if ( newContent != null ) {
/////////////////////////////////////////////////////////////////////
// Set mandatory properties...
/////////////////////////////////////////////////////////////////////