/************************************************************************/ /* 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(); };