Lines Matching refs:nWordStyle
150 FX_INT32 CFX_Edit_Provider::GetCharWidth(FX_INT32 nFontIndex, FX_WORD word, FX_INT32 nWordStyle)
1431 WordProps.nWordStyle |= PVTWORD_STYLE_BOLD;
1439 WordProps.nWordStyle |= PVTWORD_STYLE_ITALIC;
1447 WordProps.nWordStyle |= PVTWORD_STYLE_UNDERLINE;
1455 WordProps.nWordStyle |= PVTWORD_STYLE_CROSSOUT;
1679 if (pWordProps->nWordStyle & PVTWORD_STYLE_UNDERLINE)
1681 if ((secinfo.WordProps.nWordStyle & PVTWORD_STYLE_UNDERLINE) == 0)
1683 secinfo.WordProps.nWordStyle |= PVTWORD_STYLE_UNDERLINE;
1689 if ((secinfo.WordProps.nWordStyle & PVTWORD_STYLE_UNDERLINE) != 0)
1691 secinfo.WordProps.nWordStyle &= ~PVTWORD_STYLE_UNDERLINE;
1697 if (pWordProps->nWordStyle & PVTWORD_STYLE_CROSSOUT)
1699 if ((secinfo.WordProps.nWordStyle & PVTWORD_STYLE_CROSSOUT) == 0)
1701 secinfo.WordProps.nWordStyle |= PVTWORD_STYLE_CROSSOUT;
1707 if ((secinfo.WordProps.nWordStyle & PVTWORD_STYLE_CROSSOUT) != 0)
1709 secinfo.WordProps.nWordStyle &= ~PVTWORD_STYLE_CROSSOUT;
1715 if (pWordProps->nWordStyle & PVTWORD_STYLE_BOLD)
1717 if ((secinfo.WordProps.nWordStyle & PVTWORD_STYLE_BOLD) == 0)
1719 secinfo.WordProps.nWordStyle |= PVTWORD_STYLE_BOLD;
1725 if ((secinfo.WordProps.nWordStyle & PVTWORD_STYLE_BOLD) != 0)
1727 secinfo.WordProps.nWordStyle &= ~PVTWORD_STYLE_BOLD;
1733 if (pWordProps->nWordStyle & PVTWORD_STYLE_ITALIC)
1735 if ((secinfo.WordProps.nWordStyle & PVTWORD_STYLE_ITALIC) == 0)
1737 secinfo.WordProps.nWordStyle |= PVTWORD_STYLE_ITALIC;
1743 if ((secinfo.WordProps.nWordStyle & PVTWORD_STYLE_ITALIC) != 0)
1745 secinfo.WordProps.nWordStyle &= ~PVTWORD_STYLE_ITALIC;
1845 if (pWordProps->nWordStyle & PVTWORD_STYLE_UNDERLINE)
1847 if ((wordinfo.WordProps.nWordStyle & PVTWORD_STYLE_UNDERLINE) == 0)
1849 wordinfo.WordProps.nWordStyle |= PVTWORD_STYLE_UNDERLINE;
1855 if ((wordinfo.WordProps.nWordStyle & PVTWORD_STYLE_UNDERLINE) != 0)
1857 wordinfo.WordProps.nWordStyle &= ~PVTWORD_STYLE_UNDERLINE;
1863 if (pWordProps->nWordStyle & PVTWORD_STYLE_CROSSOUT)
1865 if ((wordinfo.WordProps.nWordStyle & PVTWORD_STYLE_CROSSOUT) == 0)
1867 wordinfo.WordProps.nWordStyle |= PVTWORD_STYLE_CROSSOUT;
1873 if ((wordinfo.WordProps.nWordStyle & PVTWORD_STYLE_CROSSOUT) != 0)
1875 wordinfo.WordProps.nWordStyle &= ~PVTWORD_STYLE_CROSSOUT;
1881 if (pWordProps->nWordStyle & PVTWORD_STYLE_BOLD)
1883 if ((wordinfo.WordProps.nWordStyle & PVTWORD_STYLE_BOLD) == 0)
1885 wordinfo.WordProps.nWordStyle |= PVTWORD_STYLE_BOLD;
1891 if ((wordinfo.WordProps.nWordStyle & PVTWORD_STYLE_BOLD) != 0)
1893 wordinfo.WordProps.nWordStyle &= ~PVTWORD_STYLE_BOLD;
1899 if (pWordProps->nWordStyle & PVTWORD_STYLE_ITALIC)
1901 if ((wordinfo.WordProps.nWordStyle & PVTWORD_STYLE_ITALIC) == 0)
1903 wordinfo.WordProps.nWordStyle |= PVTWORD_STYLE_ITALIC;
1909 if ((wordinfo.WordProps.nWordStyle & PVTWORD_STYLE_ITALIC) != 0)
1911 wordinfo.WordProps.nWordStyle &= ~PVTWORD_STYLE_ITALIC;