Searched refs:CFX_BreakType (Results 1 – 14 of 14) sorted by relevance
/external/pdfium/xfa/fgas/layout/ |
D | cfx_txtbreak.h | 30 inline bool CFX_BreakTypeNoneOrPiece(CFX_BreakType type) { in CFX_BreakTypeNoneOrPiece() 31 return type == CFX_BreakType::None || type == CFX_BreakType::Piece; in CFX_BreakTypeNoneOrPiece() 70 CFX_BreakType EndBreak(CFX_BreakType dwStatus); 74 CFX_BreakType AppendChar(wchar_t wch); 79 CFX_BreakType AppendChar_Control(CFX_Char* pCurChar); 80 CFX_BreakType AppendChar_Arabic(CFX_Char* pCurChar); 81 CFX_BreakType AppendChar_Others(CFX_Char* pCurChar); 85 void EndBreak_BidiLine(std::deque<FX_TPO>* tpos, CFX_BreakType dwStatus); 88 CFX_BreakType dwStatus);
|
D | cfx_rtfbreak.h | 43 CFX_BreakType EndBreak(CFX_BreakType dwStatus); 48 CFX_BreakType AppendChar(wchar_t wch); 53 CFX_BreakType AppendChar_Control(CFX_Char* pCurChar); 54 CFX_BreakType AppendChar_Arabic(CFX_Char* pCurChar); 55 CFX_BreakType AppendChar_Others(CFX_Char* pCurChar); 67 CFX_BreakType dwStatus); 68 void EndBreak_BidiLine(std::deque<FX_TPO>* tpos, CFX_BreakType dwStatus); 71 CFX_BreakType dwStatus);
|
D | cfx_rtfbreak_unittest.cpp | 47 EXPECT_EQ(CFX_BreakType::None, rtf_break->AppendChar(ch)); in TEST_F() 49 EXPECT_EQ(CFX_BreakType::Paragraph, rtf_break->AppendChar(L'\n')); in TEST_F() 59 EXPECT_EQ(CFX_BreakType::None, rtf_break->AppendChar(ch)); in TEST_F() 62 rtf_break->EndBreak(CFX_BreakType::Paragraph); in TEST_F() 69 EXPECT_EQ(CFX_BreakType::Line, rtf_break->AppendChar(L'\v')); in TEST_F() 70 EXPECT_EQ(CFX_BreakType::Page, rtf_break->AppendChar(L'\f')); in TEST_F() 72 EXPECT_EQ(CFX_BreakType::Paragraph, in TEST_F() 74 EXPECT_EQ(CFX_BreakType::Paragraph, rtf_break->AppendChar(L'\n')); in TEST_F()
|
D | cfx_rtfbreak.cpp | 68 CFX_BreakType CFX_RTFBreak::AppendChar(wchar_t wch) { in AppendChar() 79 CFX_BreakType dwRet1 = CFX_BreakType::None; in AppendChar() 86 dwRet1 = EndBreak(CFX_BreakType::Line); in AppendChar() 91 CFX_BreakType dwRet2 = CFX_BreakType::None; in AppendChar() 173 CFX_BreakType CFX_RTFBreak::AppendChar_Control(CFX_Char* pCurChar) { in AppendChar_Control() 174 CFX_BreakType dwRet2 = CFX_BreakType::None; in AppendChar_Control() 178 dwRet2 = CFX_BreakType::Line; in AppendChar_Control() 181 dwRet2 = CFX_BreakType::Page; in AppendChar_Control() 184 dwRet2 = CFX_BreakType::Paragraph; in AppendChar_Control() 188 dwRet2 = CFX_BreakType::Paragraph; in AppendChar_Control() [all …]
|
D | cfx_txtbreak.cpp | 101 CFX_BreakType CFX_TxtBreak::AppendChar_Control(CFX_Char* pCurChar) { in AppendChar_Control() 103 CFX_BreakType dwRet = CFX_BreakType::None; in AppendChar_Control() 109 dwRet = CFX_BreakType::Line; in AppendChar_Control() 112 dwRet = CFX_BreakType::Page; in AppendChar_Control() 115 dwRet = CFX_BreakType::Paragraph; in AppendChar_Control() 119 dwRet = CFX_BreakType::Paragraph; in AppendChar_Control() 122 if (dwRet != CFX_BreakType::None) in AppendChar_Control() 128 CFX_BreakType CFX_TxtBreak::AppendChar_Arabic(CFX_Char* pCurChar) { in AppendChar_Arabic() 191 return EndBreak(CFX_BreakType::Line); in AppendChar_Arabic() 192 return CFX_BreakType::None; in AppendChar_Arabic() [all …]
|
D | cfx_char.h | 19 enum class CFX_BreakType : uint8_t { None = 0, Piece, Line, Paragraph, Page }; enum 38 CFX_BreakType m_dwStatus = CFX_BreakType::None;
|
D | cfx_break.cpp | 78 if (tc->m_dwStatus == CFX_BreakType::None) in SetBreakStatus() 79 tc->m_dwStatus = CFX_BreakType::Piece; in SetBreakStatus()
|
D | cfx_breakpiece.h | 32 CFX_BreakType m_dwStatus;
|
D | cfx_breakpiece.cpp | 12 : m_dwStatus(CFX_BreakType::Piece), in CFX_BreakPiece()
|
/external/pdfium/xfa/fde/ |
D | cfde_textout.cpp | 213 CFX_BreakType dwBreakStatus = CFX_BreakType::None; in CalcLogicSize() 225 dwBreakStatus = m_pTxtBreak->EndBreak(CFX_BreakType::Paragraph); in CalcLogicSize() 244 bool CFDE_TextOut::RetrieveLineWidth(CFX_BreakType dwBreakStatus, in RetrieveLineWidth() 261 if (dwBreakStatus == CFX_BreakType::Paragraph) in RetrieveLineWidth() 263 if (!m_Styles.line_wrap_ && dwBreakStatus == CFX_BreakType::Line) { in RetrieveLineWidth() 332 CFX_BreakType dwBreakStatus; in LoadText() 342 (m_Styles.line_wrap_ || dwBreakStatus == CFX_BreakType::Paragraph || in LoadText() 343 dwBreakStatus == CFX_BreakType::Page)) { in LoadText() 356 dwBreakStatus = m_pTxtBreak->EndBreak(CFX_BreakType::Paragraph); in LoadText() 364 bool CFDE_TextOut::RetrievePieces(CFX_BreakType dwBreakStatus, in RetrievePieces() [all …]
|
D | cfde_textout.h | 83 bool RetrieveLineWidth(CFX_BreakType dwBreakStatus, 91 bool RetrievePieces(CFX_BreakType dwBreakStatus,
|
D | cfde_texteditengine.cpp | 1074 text_break_.EndBreak(CFX_BreakType::Paragraph); in RebuildPieces() 1093 CFX_BreakType break_status = text_break_.AppendChar( in RebuildPieces() 1096 break_status = text_break_.EndBreak(CFX_BreakType::Paragraph); in RebuildPieces()
|
/external/pdfium/xfa/fxfa/ |
D | cxfa_textlayout.cpp | 690 EndBreak(CFX_BreakType::Paragraph, pLinePos, bSavePieces); in LoadText() 846 EndBreak(CFX_BreakType::Line, pLinePos, bSavePieces); in LoadRichText() 854 CFX_BreakType dwStatus = (eDisplay == CFX_CSSDisplay::Block) in LoadRichText() 855 ? CFX_BreakType::Paragraph in LoadRichText() 856 : CFX_BreakType::Piece; in LoadRichText() 879 CFX_BreakType dwStatus = CFX_BreakType::None; in AppendChar() 891 if (dwStatus != CFX_BreakType::None && dwStatus != CFX_BreakType::Piece) { in AppendChar() 898 if (dwStatus == CFX_BreakType::Paragraph && m_bRichText) in AppendChar() 916 void CXFA_TextLayout::EndBreak(CFX_BreakType dwStatus, in EndBreak() 920 if (dwStatus != CFX_BreakType::None && dwStatus != CFX_BreakType::Piece) in EndBreak() [all …]
|
D | cxfa_textlayout.h | 97 void AppendTextLine(CFX_BreakType dwStatus, 101 void EndBreak(CFX_BreakType dwStatus, float* pLinePos, bool bDefault);
|