示例#1
0
 void OpenDoc()
 {
     _swDocMgr     = _swClassFact.GetApplication(SLicenseKey);
     _nDocType     = SwDocMgrDocType();
     _swDocument10 = (SwDMDocument10)_swDocMgr.GetDocument(SDocFileName, _nDocType, false, out _nRetVal);
     _swDocument13 = (SwDMDocument13)_swDocument10;
 }
示例#2
0
 void OpenDoc()
 {
     _swDocMgr = _swClassFact.GetApplication(SLicenseKey);
     _nDocType = SwDocMgrDocType();
     _swDocument10 = (SwDMDocument10)_swDocMgr.GetDocument(SDocFileName, _nDocType, false, out _nRetVal);
     _swDocument13 = (SwDMDocument13)_swDocument10; 
 }