Пример #1
0
        public GraphDocumentDataObject GetDocumentsDataObjectForGraphDocument(GraphDocumentBase doc)
        {
            var newComObject = new GraphDocumentDataObject(doc, _fileComObject, this);

            _lastUsedDataObject = new WeakReference(newComObject);
            return(newComObject);
        }
Пример #2
0
        public int GetMiscStatus(int dwAspect, out int misc)
        {
            misc = GraphDocumentDataObject.MiscStatus(dwAspect);

            ComDebug.ReportInfo("{0}.IOleObject.GetMiscStatus -> returning 0x{1:X}", GetType().Name, misc);

            return(ComReturnValue.S_OK);
        }
Пример #3
0
 private IntPtr RenderEmbeddedObjectDescriptor(TYMED tymed)
 {
     ComDebug.ReportInfo("{0}.RenderEmbeddedObjectDescriptor", GetType().Name);
     return(GraphDocumentDataObject.RenderEmbeddedObjectDescriptor(tymed, _document.Size));
 }
Пример #4
0
		public GraphDocumentDataObject GetDocumentsDataObjectForGraphDocument(GraphDocumentBase doc)
		{
			var newComObject = new GraphDocumentDataObject(doc, _fileComObject, this);
			_lastUsedDataObject = new WeakReference(newComObject);
			return newComObject;
		}