Searched refs:CFX_BreakType (Results 1 – 15 of 15) sorted by relevance
/external/pdfium/xfa/fgas/layout/ |
D | cfx_txtbreak.h | 33 inline bool CFX_BreakTypeNoneOrPiece(CFX_BreakType type) { in CFX_BreakTypeNoneOrPiece() 34 return type == CFX_BreakType::None || type == CFX_BreakType::Piece; in CFX_BreakTypeNoneOrPiece() 65 CFX_BreakType EndBreak(CFX_BreakType dwStatus); 71 CFX_BreakType AppendChar(wchar_t wch); 76 CFX_BreakType AppendChar_Control(CFX_Char* pCurChar); 77 CFX_BreakType AppendChar_Arabic(CFX_Char* pCurChar); 78 CFX_BreakType AppendChar_Others(CFX_Char* pCurChar); 82 void EndBreak_BidiLine(std::deque<FX_TPO>* tpos, CFX_BreakType dwStatus); 85 CFX_BreakType dwStatus);
|
D | cfx_rtfbreak.h | 58 CFX_BreakType EndBreak(CFX_BreakType dwStatus); 64 CFX_BreakType AppendChar(wchar_t wch); 71 CFX_BreakType AppendChar_Control(CFX_Char* pCurChar); 72 CFX_BreakType AppendChar_Arabic(CFX_Char* pCurChar); 73 CFX_BreakType AppendChar_Others(CFX_Char* pCurChar); 86 CFX_BreakType dwStatus); 87 void EndBreak_BidiLine(std::deque<FX_TPO>* tpos, CFX_BreakType dwStatus); 90 CFX_BreakType dwStatus);
|
D | cfx_rtfbreak.cpp | 67 CFX_BreakType CFX_RTFBreak::AppendChar(wchar_t wch) { in AppendChar() 79 CFX_BreakType dwRet1 = CFX_BreakType::None; in AppendChar() 85 dwRet1 = EndBreak(CFX_BreakType::Line); in AppendChar() 91 CFX_BreakType dwRet2 = CFX_BreakType::None; in AppendChar() 156 CFX_BreakType CFX_RTFBreak::AppendChar_Control(CFX_Char* pCurChar) { in AppendChar_Control() 157 CFX_BreakType dwRet2 = CFX_BreakType::None; in AppendChar_Control() 161 dwRet2 = CFX_BreakType::Line; in AppendChar_Control() 164 dwRet2 = CFX_BreakType::Page; in AppendChar_Control() 167 dwRet2 = CFX_BreakType::Paragraph; in AppendChar_Control() 171 dwRet2 = CFX_BreakType::Paragraph; in AppendChar_Control() [all …]
|
D | cfx_rtfbreak_unittest.cpp | 44 EXPECT_EQ(CFX_BreakType::None, b->AppendChar(c)); in TEST_F() 46 EXPECT_EQ(CFX_BreakType::Paragraph, b->AppendChar(L'\n')); in TEST_F() 56 EXPECT_EQ(CFX_BreakType::None, b->AppendChar(c)); in TEST_F() 59 b->EndBreak(CFX_BreakType::Paragraph); in TEST_F() 66 EXPECT_EQ(CFX_BreakType::Line, b->AppendChar(L'\v')); in TEST_F() 67 EXPECT_EQ(CFX_BreakType::Page, b->AppendChar(L'\f')); in TEST_F() 69 EXPECT_EQ(CFX_BreakType::Paragraph, b->AppendChar(0x2029)); in TEST_F() 70 EXPECT_EQ(CFX_BreakType::Paragraph, b->AppendChar(L'\n')); in TEST_F()
|
D | cfx_txtbreak.cpp | 94 CFX_BreakType CFX_TxtBreak::AppendChar_Control(CFX_Char* pCurChar) { in AppendChar_Control() 96 CFX_BreakType dwRet = CFX_BreakType::None; in AppendChar_Control() 102 dwRet = CFX_BreakType::Line; in AppendChar_Control() 105 dwRet = CFX_BreakType::Page; in AppendChar_Control() 108 dwRet = CFX_BreakType::Paragraph; in AppendChar_Control() 112 dwRet = CFX_BreakType::Paragraph; in AppendChar_Control() 115 if (dwRet != CFX_BreakType::None) in AppendChar_Control() 121 CFX_BreakType CFX_TxtBreak::AppendChar_Arabic(CFX_Char* pCurChar) { in AppendChar_Arabic() 171 return EndBreak(CFX_BreakType::Line); in AppendChar_Arabic() 172 return CFX_BreakType::None; in AppendChar_Arabic() [all …]
|
D | cfx_break.cpp | 103 if (tc->m_dwStatus == CFX_BreakType::None) in SetBreakStatus() 104 tc->m_dwStatus = CFX_BreakType::Piece; in SetBreakStatus()
|
D | cfx_breakpiece.h | 31 CFX_BreakType m_dwStatus;
|
D | cfx_breakpiece.cpp | 10 : m_dwStatus(CFX_BreakType::Piece), in CFX_BreakPiece()
|
/external/pdfium/xfa/fde/ |
D | cfde_textout.cpp | 221 CFX_BreakType dwBreakStatus = CFX_BreakType::None; in CalcLogicSize() 233 dwBreakStatus = m_pTxtBreak->EndBreak(CFX_BreakType::Paragraph); in CalcLogicSize() 252 bool CFDE_TextOut::RetrieveLineWidth(CFX_BreakType dwBreakStatus, in RetrieveLineWidth() 269 if (dwBreakStatus == CFX_BreakType::Paragraph) in RetrieveLineWidth() 271 if (!m_Styles.line_wrap_ && dwBreakStatus == CFX_BreakType::Line) { in RetrieveLineWidth() 338 CFX_BreakType dwBreakStatus; in LoadText() 348 (m_Styles.line_wrap_ || dwBreakStatus == CFX_BreakType::Paragraph || in LoadText() 349 dwBreakStatus == CFX_BreakType::Page)) { in LoadText() 362 dwBreakStatus = m_pTxtBreak->EndBreak(CFX_BreakType::Paragraph); in LoadText() 370 bool CFDE_TextOut::RetrievePieces(CFX_BreakType dwBreakStatus, in RetrievePieces() [all …]
|
D | cfde_textout.h | 73 bool RetrieveLineWidth(CFX_BreakType dwBreakStatus, 81 bool RetrievePieces(CFX_BreakType dwBreakStatus,
|
D | cfde_texteditengine.cpp | 973 text_break_.EndBreak(CFX_BreakType::Paragraph); in RebuildPieces() 992 CFX_BreakType break_status = text_break_.AppendChar( in RebuildPieces() 995 break_status = text_break_.EndBreak(CFX_BreakType::Paragraph); in RebuildPieces()
|
/external/pdfium/core/fxcrt/ |
D | cfx_char.h | 14 enum class CFX_BreakType { None = 0, Piece, Line, Paragraph, Page }; enum 33 CFX_BreakType m_dwStatus;
|
D | cfx_char.cpp | 16 : m_dwStatus(CFX_BreakType::None), in CFX_Char()
|
/external/pdfium/xfa/fxfa/ |
D | cxfa_textlayout.cpp | 683 EndBreak(CFX_BreakType::Paragraph, fLinePos, bSavePieces); in LoadText() 845 EndBreak(CFX_BreakType::Line, fLinePos, bSavePieces); in LoadRichText() 853 CFX_BreakType dwStatus = (eDisplay == CFX_CSSDisplay::Block) in LoadRichText() 854 ? CFX_BreakType::Paragraph in LoadRichText() 855 : 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() 938 void CXFA_TextLayout::EndBreak(CFX_BreakType dwStatus, in EndBreak() 942 if (dwStatus != CFX_BreakType::None && dwStatus != CFX_BreakType::Piece) in EndBreak() [all …]
|
D | cxfa_textlayout.h | 88 void AppendTextLine(CFX_BreakType dwStatus, 92 void EndBreak(CFX_BreakType dwStatus, float& fLinePos, bool bDefault);
|