ddc
Classes | Functions | Variables
C_desc.cpp File Reference
#include "StdGraph.h"
#include "GraphmatFile.h"
#include "GraphanDicts.h"
#include "abbrev.h"
Include dependency graph for C_desc.cpp:

Classes

struct  CAsteriskHyp
 

Functions

bool DealIndention (CGraphmatFile &G, size_t i, size_t Offset, const vector< WORD > &LeftMargins)
 
static bool DealSimpleEnglishNames (CGraphmatFile &C, size_t StartPos, size_t EndPos)
 
void MapCorrectMinSpace (const CGraphmatFile &G, size_t LB, size_t HB, WORD &FuzzyMinSpace, WORD &MinSpace, int &NumOfFilledLines, const vector< WORD > &gLeftMargins)
 
bool CanBeRussianInitial (const CGraphmatFile &C, size_t LineNo)
 
void CalculateLMarg (const CGraphmatFile &G, vector< WORD > &gLeftMargins)
 
bool CanBeFileName (const CGraphmatFile &F, size_t LB)
 
static void InitEnglishNameSlot (CGraphmatFile &C)
 

Variables

const size_t BigTextLengthInFilledLines = 100
 
const int MaxBulletSectionSize = 40
 
const size_t MaxLeftMargin = 300
 

Function Documentation

◆ DealIndention()

bool DealIndention ( CGraphmatFile G,
size_t  i,
size_t  Offset,
const vector< WORD > &  LeftMargins 
)

References CUnitHolder::BSpace(), CUnitHolder::GetUnits(), CGraphmatFile::m_MaxParOfs, CGraphmatFile::m_MinParOfs, OPar, and CUnitHolder::SetDes().

Referenced by CGraphmatFile::InitContextDescriptors().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ DealSimpleEnglishNames()

static bool DealSimpleEnglishNames ( CGraphmatFile C,
size_t  StartPos,
size_t  EndPos 
)
static

References CUnitHolder::GetUnits(), CUnitHolder::HasDescr(), CUnitHolder::HasGrouped(), OFAM1, OFAM2, OLLE, OPar, OUpLw, CUnitHolder::SetDes(), CUnitHolder::SetState(), and stGrouped.

Referenced by CGraphmatFile::InitContextDescriptors().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ MapCorrectMinSpace()

void MapCorrectMinSpace ( const CGraphmatFile G,
size_t  LB,
size_t  HB,
WORD FuzzyMinSpace,
WORD MinSpace,
int &  NumOfFilledLines,
const vector< WORD > &  gLeftMargins 
)

References CUnitHolder::GetUnits(), MaxLeftMargin, and CUnitHolder::PassSpace().

Referenced by CGraphmatFile::InitContextDescriptors().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ CanBeRussianInitial()

bool CanBeRussianInitial ( const CGraphmatFile C,
size_t  LineNo 
)

References CUnitHolder::GetUnits(), CUnitHolder::HasDescr(), ORLE, and OUp.

Referenced by CGraphmatFile::DealFIO(), and CGraphmatFile::DealShortFIO().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ CalculateLMarg()

void CalculateLMarg ( const CGraphmatFile G,
vector< WORD > &  gLeftMargins 
)

References CUnitHolder::GetUnits().

Referenced by CGraphmatFile::InitContextDescriptors().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ CanBeFileName()

bool CanBeFileName ( const CGraphmatFile F,
size_t  LB 
)

References CUnitHolder::GetUnits(), CUnitHolder::HasDescr(), ODigits, OLLE, ONumChar, and ORLE.

Referenced by CGraphmatFile::DealExtensionsAndLocalFileNames().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ InitEnglishNameSlot()

static void InitEnglishNameSlot ( CGraphmatFile C)
static

Variable Documentation

◆ BigTextLengthInFilledLines

const size_t BigTextLengthInFilledLines = 100

◆ MaxBulletSectionSize

const int MaxBulletSectionSize = 40

◆ MaxLeftMargin

const size_t MaxLeftMargin = 300

Referenced by MapCorrectMinSpace().