Home
last modified time | relevance | path

Searched refs:CFX_BreakType (Results 1 – 15 of 15) sorted by relevance

/external/pdfium/xfa/fgas/layout/
Dcfx_txtbreak.h33 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);
Dcfx_rtfbreak.h58 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);
Dcfx_rtfbreak.cpp67 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 …]
Dcfx_rtfbreak_unittest.cpp44 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()
Dcfx_txtbreak.cpp94 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 …]
Dcfx_break.cpp103 if (tc->m_dwStatus == CFX_BreakType::None) in SetBreakStatus()
104 tc->m_dwStatus = CFX_BreakType::Piece; in SetBreakStatus()
Dcfx_breakpiece.h31 CFX_BreakType m_dwStatus;
Dcfx_breakpiece.cpp10 : m_dwStatus(CFX_BreakType::Piece), in CFX_BreakPiece()
/external/pdfium/xfa/fde/
Dcfde_textout.cpp221 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 …]
Dcfde_textout.h73 bool RetrieveLineWidth(CFX_BreakType dwBreakStatus,
81 bool RetrievePieces(CFX_BreakType dwBreakStatus,
Dcfde_texteditengine.cpp973 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/
Dcfx_char.h14 enum class CFX_BreakType { None = 0, Piece, Line, Paragraph, Page }; enum
33 CFX_BreakType m_dwStatus;
Dcfx_char.cpp16 : m_dwStatus(CFX_BreakType::None), in CFX_Char()
/external/pdfium/xfa/fxfa/
Dcxfa_textlayout.cpp683 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 …]
Dcxfa_textlayout.h88 void AppendTextLine(CFX_BreakType dwStatus,
92 void EndBreak(CFX_BreakType dwStatus, float& fLinePos, bool bDefault);