12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- /************************************************************************/
- /* Copyright (C), 2016-2020, [Jeff], 保留所有权利;
- /* 模 块 名:;
- /* 描 述:;
- /*
- /* 版 本:[V];
- /* 作 者:[Jeff];
- /* 日 期:[3/17/2017];
- /*
- /*
- /* 注 意:;
- /*
- /* 修改记录:[Jeff];
- /* 修改日期:;
- /* 修改版本:;
- /* 修改内容:;
- /************************************************************************/
- #pragma once
- #include "EasyPrinter.h"
- class CEasyPrinterV1:public CEasyPrinter
- {
- public:
- CEasyPrinterV1();
- ~CEasyPrinterV1();
- void TextDownwards(IN TString strText, IN const INT& nRectWide, OUT vector<TString>& vtSubText);
- INT DrawRectange(IN CRect rc, IN INT nLineWide, IN INT leftLineType, IN INT topLineType, IN INT rightLineType, IN INT bottomLineType);
- void DrawText(IN TString strText, IN CRect rcText, IN INT nTextWide, IN INT nAlignType = 0);
- void CalcPrinterCell(IN STPrintCell &PrintCell);
- void CellTBTypesetting();// TB=Top & Bottom;
- void CellBBTypesetting();// BB=Bottom & Bottom;
- INT DrawCell(IN STPrintCell& PrtCell);
- void AutoChangePage();
- void PrintChangePage();
- public:
- BOOL PrintByJson();
- };
|