/*
TextOut Library for Native C++ version 1.1.2
Copyright (c) 2007 - 2008 Wong Shao Voon
The Code Project Open License (CPOL)
http://www.codeproject.com/info/cpol10.aspx
*/
#pragma once
#pragma warning( disable : 4786 )
#include <vector>
#include "Box.h"
class AbstractTextout
{
public:
void Print(
const wchar_t* fmt);
void Print(
const wchar_t* fmt,
Box box1 );
void Print(
const wchar_t* fmt,
Box box1, Box box2 );
void Print(
const wchar_t* fmt,
Box box1, Box box2, Box box3 );
void Print(
const wchar_t* fmt,
Box box1, Box box2, Box box3, Box box4 );
void Print(
const wchar_t* fmt,
Box box1, Box box2, Box box3, Box box4, Box box5 );
void Print(
const wchar_t* fmt,
Box box1, Box box2, Box box3, Box box4, Box box5, Box box6 );
void Print(
const wchar_t* fmt,
Box box1, Box box2, Box box3, Box box4, Box box5, Box box6, Box box7 );
void Print(
const wchar_t* fmt,
Box box1, Box box2, Box box3, Box box4,
Box box5, Box box6, Box box7, Box box8 );
void Print(
const wchar_t* fmt,
Box box1, Box box2, Box box3, Box box4,
Box box5, Box box6, Box box7, Box box8, Box box9 );
void Print(
const wchar_t* fmt,
Box box1, Box box2, Box box3, Box box4, Box box5,
Box box6, Box box7, Box box8, Box box9, Box box10 );
std::wstring StrReplace(
std::wstring& fmtstr,
const std::vector<std::wstring>& vs );
std::wstring StrAnchor( size_t i );
protected:
virtual void Process(const std::wstring& str) = 0;
};