Lines Matching refs:word

16 CPDF_Rect GetUnderLineRect(const CPVT_Word& word) {  in GetUnderLineRect()  argument
17 return CPDF_Rect(word.ptWord.x, word.ptWord.y + word.fDescent * 0.5f, in GetUnderLineRect()
18 word.ptWord.x + word.fWidth, in GetUnderLineRect()
19 word.ptWord.y + word.fDescent * 0.25f); in GetUnderLineRect()
22 CPDF_Rect GetCrossoutRect(const CPVT_Word& word) { in GetCrossoutRect() argument
23 return CPDF_Rect(word.ptWord.x, in GetCrossoutRect()
24 word.ptWord.y + (word.fAscent + word.fDescent) * 0.5f + in GetCrossoutRect()
25 word.fDescent * 0.25f, in GetCrossoutRect()
26 word.ptWord.x + word.fWidth, in GetCrossoutRect()
27 word.ptWord.y + (word.fAscent + word.fDescent) * 0.5f); in GetCrossoutRect()
123 CPVT_Word word; in DrawUnderline() local
124 if (pIterator->GetWord(word)) { in DrawUnderline()
126 CPDF_Rect rcUnderline = GetUnderLineRect(word); in DrawUnderline()
214 CPVT_Word word; in DrawEdit() local
215 if (pIterator->GetWord(word)) { in DrawEdit()
221 CPDF_Rect rc(word.ptWord.x, line.ptLine.y + line.fLineDescent, in DrawEdit()
222 word.ptWord.x + word.fWidth, in DrawEdit()
228 pathSelBK.AppendRect(word.ptWord.x, in DrawEdit()
230 word.ptWord.x + word.fWidth, in DrawEdit()
239 if (place.LineCmp(oldplace) != 0 || word.nFontIndex != nFontIndex || in DrawEdit()
250 nFontIndex = word.nFontIndex; in DrawEdit()
251 ptBT = word.ptWord; in DrawEdit()
255 sTextBuf << GetPDFWordString(pFontMap, word.nFontIndex, word.Word, in DrawEdit()
259 pDevice, CPDF_Point(word.ptWord.x + ptOffset.x, in DrawEdit()
260 word.ptWord.y + ptOffset.y), in DrawEdit()
261 pFontMap->GetPDFFont(word.nFontIndex), fFontSize, pUser2Device, in DrawEdit()
262 GetPDFWordString(pFontMap, word.nFontIndex, word.Word, SubWord), in DrawEdit()
326 CPVT_Word word; in DrawRichEdit() local
327 if (pIterator->GetWord(word)) { in DrawRichEdit()
328 word.WordProps.fFontSize = word.fFontSize; in DrawRichEdit()
330 crCurText = ArgbEncode(255, word.WordProps.dwWordColor); in DrawRichEdit()
345 pathSelBK.AppendRect(word.ptWord.x + ptOffset.x, in DrawRichEdit()
347 word.ptWord.x + word.fWidth + ptOffset.x, in DrawRichEdit()
355 word.WordProps.fCharSpace > 0.0f || in DrawRichEdit()
356 word.WordProps.nHorzScale != 100 || in DrawRichEdit()
357 FXSYS_memcmp(&word.WordProps, &wp, sizeof(CPVT_WordProps)) != 0 || in DrawRichEdit()
368 wp = word.WordProps; in DrawRichEdit()
369 ptBT = word.ptWord; in DrawRichEdit()
373 sTextBuf << GetPDFWordString(pFontMap, word.WordProps.nFontIndex, in DrawRichEdit()
374 word.Word, 0); in DrawRichEdit()
376 if (word.WordProps.nWordStyle & PVTWORD_STYLE_UNDERLINE) { in DrawRichEdit()
378 CPDF_Rect rcUnderline = GetUnderLineRect(word); in DrawRichEdit()
386 if (word.WordProps.nWordStyle & PVTWORD_STYLE_CROSSOUT) { in DrawRichEdit()
388 CPDF_Rect rcCrossout = GetCrossoutRect(word); in DrawRichEdit()
500 CPVT_Word word; in GeneratePageObjects() local
501 if (pIterator->GetWord(word)) { in GeneratePageObjects()
503 nOldFontIndex != word.nFontIndex) { in GeneratePageObjects()
514 ptBT = word.ptWord; in GeneratePageObjects()
515 nOldFontIndex = word.nFontIndex; in GeneratePageObjects()
518 sTextBuf << GetPDFWordString(pFontMap, word.nFontIndex, word.Word, 0); in GeneratePageObjects()
563 CPVT_Word word; in GenerateRichPageObjects() local
564 if (pIterator->GetWord(word)) { in GenerateRichPageObjects()
565 word.WordProps.fFontSize = word.fFontSize; in GenerateRichPageObjects()
567 crCurText = ArgbEncode(255, word.WordProps.dwWordColor); in GenerateRichPageObjects()
570 word.WordProps.fCharSpace > 0.0f || in GenerateRichPageObjects()
571 word.WordProps.nHorzScale != 100 || in GenerateRichPageObjects()
572 FXSYS_memcmp(&word.WordProps, &wp, sizeof(CPVT_WordProps)) != 0 || in GenerateRichPageObjects()
584 wp = word.WordProps; in GenerateRichPageObjects()
585 ptBT = word.ptWord; in GenerateRichPageObjects()
589 sTextBuf << GetPDFWordString(pFontMap, word.WordProps.nFontIndex, in GenerateRichPageObjects()
590 word.Word, 0); in GenerateRichPageObjects()
592 if (word.WordProps.nWordStyle & PVTWORD_STYLE_UNDERLINE) { in GenerateRichPageObjects()
593 CPDF_Rect rcUnderline = GetUnderLineRect(word); in GenerateRichPageObjects()
602 if (word.WordProps.nWordStyle & PVTWORD_STYLE_CROSSOUT) { in GenerateRichPageObjects()
603 CPDF_Rect rcCrossout = GetCrossoutRect(word); in GenerateRichPageObjects()
646 CPVT_Word word; in GenerateUnderlineObjects() local
647 if (pIterator->GetWord(word)) { in GenerateUnderlineObjects()
648 CPDF_Rect rcUnderline = GetUnderLineRect(word); in GenerateUnderlineObjects()