The website "djvu-soft.narod.ru." is not registered with uCoz.
If you are absolutely sure your website must be here,
please contact our Support Team.
If you were searching for something on the Internet and ended up here, try again:

About uCoz web-service

Community

Legal information

ed

Вернуться к разделу "OpenOCR".


1) Создать страницу
	Handle CED_CreatePage (char * _imageName,EDSIZE _sizeOfImage,EDSIZE _dpi,int _turn,
 int _pageNumber,EDSIZE _sizeInTwips, EDRECT _pageBordersInTwips, char _unrecogChar, Bool32 _resizeToFit)

2) Создать секцию
	Handle CED_CreateSection (Handle hEdPage,EDRECT border, int colInterval, int numOfCols, 
EDCOL* colInfo, char sectionBreak, int width, int height, char orientation, int headerY, int footerY)

3) Создать колонку
	Handle CED_CreateColumn(Handle hEdSection)

4) Создать фрейм
	Handle CED_CreateFrame (Handle hEdSection, Handle hEdColumn, edBox rect, char position, DWORD borderSpace, DWORD dxfrtextx, DWORD dxfrtexty)

5) Создать таблицу
	Handle CED_CreateTable(Handle hEdSection, Handle hObject)

5*) Создать ячейку таблицы
	Handle CED_CreateCell(Handle hEdSection, Handle hEdRow, int cellX, int merging, int vertTextAlign, 
int leftBrdrType, int leftBrdrWidth, 
int rightBrdrType, int rightBrdrWidth, 
int topBrdrType, int topBrdrWidth, 
int bottomBrdrType, int bottomBrdrWidth, 
EDBOX layout, int shading, int color)

6) Создать параграф
	Handle CED_CreateParagraph(Handle hEdSection, Handle hObject, 
						int align, EDRECT indent, int UserNum,
						int FlagBorder, EDSIZE interval, 
						EDBOX layout, int  color, int  shading, 
						int spaceBetweenLines, char spcBtwLnsMult, 
						char  keep)
	hObject - колонка, фрейм или ячейка

6*) Создать картинку
	Handle CED_CreatePicture(Handle hEdPage, int pictNumber, EDSIZE pictSize, EDSIZE pictGoal, int pictAlign, int type, void * data, int len)

7) Создать строку 
	Handle CED_CreateLine(Handle hEdParagraph, Bool32 hardBreak, int defChrFontHeight)

8) Создать символ
	Handle CED_CreateChar(Handle Handle hEdLine, EDRECT layout, 
						letterEx* alternatives, int fontHeight, 
						int fontNum, int fontAttribs, int fontLang,
						int foregroundColor, 
						int backgroundColor)

		
10) Получить описатель страницы.
	Handle CED_ReadFormattedEd(char * lpEdFile,Bool32 readFromFile, Word32 bufLen))
	EDSIZE CED_GetPageSize(Handle hEdPage)

11) Получить секцию
	Word32 CED_GetCountSection(Handle hEdPage)
	Handle CED_GetSection(Handle hEdPage, Word32 number)
	EDRECT CED_GetSectionBorder(Handle hEdSection);
	...
12) Получить колоноки
	Word32 CED_GetCountColumn(Handle hEdSection)
	Handle CED_GetColumn(Handle hEdSection, int number)
	....

13) Получить таблицы и абзацы
	Handle CED_GetFirstObject(Handle hObject)
	Handle CED_GetNextObject(Handle hObject)
Bool32 CED_IsTable(Handle hObject)
	Bool32 CED_IsParagraph(Handle hObject)
	Bool32 CED_IsPicture(Handle hEdChar)

	Handle CED_GetCell(Handle hEdRow, int number)
	...
14) Получить строку	
	Word32 CED_GetCountLine(Handle hEdParagraph)
	Handle CED_GetLine(Handle hEdParagraph,int number)
	...
15) Получить символ	
	Word32 CED_GetCountChar(Handle hEdLine)
	Handle CED_GetChar Handle hEdLine,int number)
	...
Hosted by uCoz