Code93.h 792 B

12345678910111213141516171819202122232425262728293031
  1. // Code93.h: interface for the CCode93 class.
  2. //
  3. // Copyright 2002 Neil Van Eps
  4. //
  5. //////////////////////////////////////////////////////////////////////
  6. #if !defined(AFX_CODE93_H__9559F813_425A_11D6_8807_00104B2B0208__INCLUDED_)
  7. #define AFX_CODE93_H__9559F813_425A_11D6_8807_00104B2B0208__INCLUDED_
  8. #if _MSC_VER > 1000
  9. #pragma once
  10. #endif // _MSC_VER > 1000
  11. #include "Barcode.h"
  12. class CCode93 : public CBarcode
  13. {
  14. public:
  15. CCode93();
  16. virtual ~CCode93();
  17. void BitmapToClipboard();
  18. void DrawBitmap();
  19. private:
  20. void ASCIItoCode93Sequence( long nASCIINumber,long *nFirstNumber, long *nSecondNumber);
  21. void DrawCheckDigits();
  22. void DrawPattern(CString csPattern);
  23. CString RetrievePattern( long c );
  24. };
  25. #endif // !defined(AFX_CODE93_H__9559F813_425A_11D6_8807_00104B2B0208__INCLUDED_)