39 lines
603 B
C++
39 lines
603 B
C++
#ifndef _TWORDFORMULASTEMPLET_H__
|
|
#define _TWORDFORMULASTEMPLET_H__
|
|
|
|
#if _MSC_VER > 1000
|
|
#pragma once
|
|
#endif
|
|
|
|
#include "msword8.h"
|
|
|
|
class TWordFormulasTemplet
|
|
{
|
|
public:
|
|
TWordFormulasTemplet();
|
|
virtual ~TWordFormulasTemplet();
|
|
|
|
public:
|
|
|
|
BOOL OpenWordFormulasTempletFile(LPCTSTR pszFileName);
|
|
|
|
void CloseFile();
|
|
|
|
void InsertFormula(int nIndex, Selection& wdSelection);
|
|
|
|
int GetFormulaCount();
|
|
|
|
private:
|
|
|
|
int m_nCount;
|
|
|
|
_Application m_wdApp;
|
|
|
|
Documents m_wdDocs;
|
|
_Document m_wdDoc;
|
|
|
|
InlineShapes m_wdInlineShapes;
|
|
};
|
|
|
|
#endif // !defined(_TWORDFORMULASTEMPLET_H__)
|