/// <summary> /// Store the document to a given url /// </summary> /// <param name="storablecomponent">The storable component</param> /// <param name="url">The url</param> public static void StoreAsUrl( unoidl.com.sun.star.frame.XStorable storablecomponent, string url) { try { storablecomponent.storeAsURL( PathConverter(url), new unoidl.com.sun.star.beans.PropertyValue[] {}); } catch (System.Exception ex) { throw; } }
/** Store a document, using the StarDraw 5.0 Filter */ public void storeDocComponent(String storeUrl) { unoidl.com.sun.star.frame.XStorable xStorable = mxDocument as XStorable; xStorable.storeAsURL(PathConverter(storeUrl), new unoidl.com.sun.star.beans.PropertyValue[] { }); }