Tesseract 3.01
/data/source/tesseract-ocr/ccmain/output.cpp File Reference
#include "mfcpch.h"
#include <string.h>
#include <ctype.h>
#include "helpers.h"
#include "tfacep.h"
#include "tessvars.h"
#include "control.h"
#include "secname.h"
#include "reject.h"
#include "docqual.h"
#include "output.h"
#include "bestfirst.h"
#include "globals.h"
#include "tesseractclass.h"

Namespaces

namespace  tesseract

Defines

#define EPAPER_EXT   ".ep"
#define PAGE_YSIZE   3508
#define CTRL_INSET   '\024'
#define CTRL_FONT   '\016'
#define CTRL_DEFAULT   '\017'
#define CTRL_SHIFT   '\022'
#define CTRL_TAB   '\011'
#define CTRL_NEWLINE   '\012'
#define CTRL_HARDLINE   '\015'

Functions

inT32 pixels_to_pts (inT32 pixels, inT32 pix_res)
char determine_newline_type (WERD *word, BLOCK *block, WERD *next_word, BLOCK *next_block)

Define Documentation

#define CTRL_DEFAULT   '\017'
#define CTRL_FONT   '\016'
#define CTRL_HARDLINE   '\015'
#define CTRL_INSET   '\024'
#define CTRL_NEWLINE   '\012'
#define CTRL_SHIFT   '\022'
#define CTRL_TAB   '\011'
#define EPAPER_EXT   ".ep"
#define PAGE_YSIZE   3508

Function Documentation

char determine_newline_type ( WERD word,
BLOCK block,
WERD next_word,
BLOCK next_block 
)

test line ends

Parameters:
wordword to do
blockcurrent block
next_wordnext word
next_blockblock of next word
inT32 pixels_to_pts ( inT32  pixels,
inT32  pix_res 
)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines