Home
last modified time | relevance | path

Searched refs:wsText (Results 1 – 25 of 69) sorted by relevance

123

/external/pdfium/xfa/src/fxfa/src/app/
Dxfa_fftextedit.cpp39 CFX_WideString wsText; in LoadWidget() local
40 m_pDataAcc->GetValue(wsText, XFA_VALUEPICTURE_Display); in LoadWidget()
41 pFWLEdit->SetText(wsText); in LoadWidget()
174 CFX_WideString wsText; in CommitData() local
175 ((CFWL_Edit*)m_pNormalWidget)->GetText(wsText); in CommitData()
176 if (m_pDataAcc->SetValue(wsText, XFA_VALUEPICTURE_Edit)) { in CommitData()
180 ValidateNumberField(wsText); in CommitData()
183 void CXFA_FFTextEdit::ValidateNumberField(const CFX_WideString& wsText) { in ValidateNumberField() argument
195 wsMessage.Format(wsError, (const FX_WCHAR*)wsText, in ValidateNumberField()
262 CFX_WideString wsText; in UpdateFWLData() local
[all …]
Dxfa_ffchoicelist.cpp256 CFX_WideString wsText; in LoadWidget() local
257 m_pDataAcc->GetValue(wsText, XFA_VALUEPICTURE_Raw); in LoadWidget()
258 pComboBox->SetEditText(wsText); in LoadWidget()
316 CFX_WideString wsText; in IsDataChanged() local
317 pFWLcombobox->GetEditText(wsText); in IsDataChanged()
322 if (wsSel == wsText) { in IsDataChanged()
323 m_pDataAcc->GetChoiceListItem(wsText, iCursel, TRUE); in IsDataChanged()
328 if (wsOldValue != wsText) { in IsDataChanged()
329 m_wsNewValue = wsText; in IsDataChanged()
389 CFX_WideString wsText; in UpdateFWLData() local
[all …]
Dxfa_textlayout.cpp896 int32_t CXFA_TextLayout::GetText(CFX_WideString& wsText) { in GetText() argument
898 wsText.Empty(); in GetText()
901 wsText = m_pTextDataNode->GetContent(); in GetText()
903 return wsText.GetLength(); in GetText()
1365 CFX_WideString wsText = pNode->GetContent(); in LoadText() local
1366 wsText.TrimRight(L" "); in LoadText()
1367 FX_BOOL bRet = AppendChar(wsText, fLinePos, fSpaceAbove, bSavePieces); in LoadText()
1450 CFX_WideString wsText; in LoadRichText() local
1452 ((IFDE_XMLText*)pXMLNode)->GetText(wsText); in LoadRichText()
1454 wsText = L'\n'; in LoadRichText()
[all …]
/external/pdfium/xfa/src/fwl/src/lightwidget/
Dcombobox.cpp30 int32_t CFWL_ComboBox::AddString(const CFX_WideStringC& wsText) { in AddString() argument
32 pItem->m_wsText = wsText; in AddString()
36 int32_t CFWL_ComboBox::AddString(const CFX_WideStringC& wsText, in AddString() argument
39 pItem->m_wsText = wsText; in AddString()
54 FWL_ERR CFWL_ComboBox::GetTextByIndex(int32_t iIndex, CFX_WideString& wsText) { in GetTextByIndex() argument
59 wsText = pItem->m_wsText; in GetTextByIndex()
72 FWL_ERR CFWL_ComboBox::SetEditText(const CFX_WideStringC& wsText) { in SetEditText() argument
75 return static_cast<IFWL_ComboBox*>(m_pIface)->SetEditText(wsText); in SetEditText()
82 FWL_ERR CFWL_ComboBox::GetEditText(CFX_WideString& wsText, in GetEditText() argument
88 ->GetEditText(wsText, nStart, nCount); in GetEditText()
[all …]
Dlistbox.cpp97 FWL_ERR CFWL_ListBox::GetItemText(FWL_HLISTITEM hItem, CFX_WideString& wsText) { in GetItemText() argument
100 return static_cast<IFWL_ListBox*>(m_pIface)->GetItemText(hItem, wsText); in GetItemText()
141 const CFX_WideStringC& wsText) { in SetItemString() argument
144 reinterpret_cast<CFWL_ListItem*>(hItem)->m_wsText = wsText; in SetItemString()
148 CFX_WideString& wsText) { in GetItemString() argument
151 wsText = reinterpret_cast<CFWL_ListItem*>(hItem)->m_wsText; in GetItemString()
238 CFX_WideString& wsText) { in GetItemText() argument
241 wsText = reinterpret_cast<CFWL_ListItem*>(hItem)->m_wsText; in GetItemText()
Ddatetimepicker.cpp49 FWL_ERR CFWL_DateTimePicker::GetEditText(CFX_WideString& wsText) { in GetEditText() argument
50 return static_cast<IFWL_DateTimePicker*>(m_pIface)->GetEditText(wsText); in GetEditText()
52 FWL_ERR CFWL_DateTimePicker::SetEditText(const CFX_WideStringC& wsText) { in SetEditText() argument
53 return static_cast<IFWL_DateTimePicker*>(m_pIface)->SetEditText(wsText); in SetEditText()
Dedit.cpp30 FWL_ERR CFWL_Edit::SetText(const CFX_WideString& wsText) { in SetText() argument
33 return static_cast<IFWL_Edit*>(m_pIface)->SetText(wsText); in SetText()
40 FWL_ERR CFWL_Edit::GetText(CFX_WideString& wsText, in GetText() argument
45 return static_cast<IFWL_Edit*>(m_pIface)->GetText(wsText, nStart, nCount); in GetText()
/external/pdfium/xfa/src/fee/src/fee/
Dfde_txtedtengine.cpp142 void CFDE_TxtEdtEngine::SetText(const CFX_WideString& wsText) { in SetText() argument
144 int32_t nLength = wsText.GetLength(); in SetText()
148 FXSYS_memcpy(lpBuffer, wsText.c_str(), nLength * sizeof(FX_WCHAR)); in SetText()
163 void CFDE_TxtEdtEngine::GetText(CFX_WideString& wsText, in GetText() argument
173 m_pTxtBuf->GetRange(wsText, nStart, nCount); in GetText()
206 FX_WCHAR* lpDestBuf = wsText.GetBuffer(nRealCount); in GetText()
209 wsText.ReleaseBuffer(); in GetText()
211 m_pTxtBuf->GetRange(wsText, nStart, nCount); in GetText()
212 RecoverParagEnd(wsText); in GetText()
473 CFX_WideString wsText; in Insert() local
[all …]
Dfde_txtedtbuf.cpp171 void CFDE_TxtEdtBuf::SetText(const CFX_WideString& wsText) { in SetText() argument
172 FXSYS_assert(!wsText.IsEmpty()); in SetText()
174 int32_t nTextLength = wsText.GetLength(); in SetText()
185 const FX_WCHAR* lpSrcBuf = wsText.c_str(); in SetText()
201 void CFDE_TxtEdtBuf::GetText(CFX_WideString& wsText) const { in GetText()
202 GetRange(wsText, 0, m_nTotal); in GetText()
220 void CFDE_TxtEdtBuf::GetRange(CFX_WideString& wsText, in GetRange() argument
227 FX_WCHAR* lpDstBuf = wsText.GetBuffer(nLength); in GetRange()
247 wsText.ReleaseBuffer(); in GetRange()
Dfde_txtedtblock.cpp122 void CFDE_TxtEdtBlock::GetRealText(CFX_WideString& wsText) const { in GetRealText()
128 wsText += wsTemp; in GetRealText()
429 int32_t CFDE_TxtEdtField::Validate(const CFX_WideString& wsText) const { in Validate()
433 return wsText.GetLength() <= m_nLength ? FDE_FORMAT_FIELD_VALIDATE_S in Validate()
483 int32_t CFDE_TxtEdtField_Integer::Validate(const CFX_WideString& wsText) const { in Validate()
486 FX_WCHAR wcTemp = wsText[0]; in Validate()
491 int32_t nLength = wsText.GetLength(); in Validate()
498 FX_WCHAR wcTemp = wsText[i]; in Validate()
540 int32_t CFDE_TxtEdtField_Float::Validate(const CFX_WideString& wsText) const { in Validate()
541 int32_t nLength = wsText.GetLength(); in Validate()
[all …]
Dfde_txtedtbuf.h64 virtual void SetText(const CFX_WideString& wsText);
65 virtual void GetText(CFX_WideString& wsText) const;
67 virtual void GetRange(CFX_WideString& wsText,
Dfde_txtedtengine.h73 virtual void SetText(const CFX_WideString& wsText);
75 virtual void GetText(CFX_WideString& wsText,
151 void GetPreDeleteText(CFX_WideString& wsText,
154 void GetPreInsertText(CFX_WideString& wsText,
158 void GetPreReplaceText(CFX_WideString& wsText,
179 void RecoverParagEnd(CFX_WideString& wsText);
192 FX_BOOL IsFitArea(CFX_WideString& wsText);
Dfde_txtedtblock.h56 void GetRealText(CFX_WideString& wsText) const;
134 virtual int32_t Validate(const CFX_WideString& wsText) const;
153 virtual int32_t Validate(const CFX_WideString& wsText) const;
166 virtual int32_t Validate(const CFX_WideString& wsText) const;
/external/pdfium/xfa/include/fwl/lightwidget/
Dcombobox.h19 int32_t AddString(const CFX_WideStringC& wsText);
20 int32_t AddString(const CFX_WideStringC& wsText, CFX_DIBitmap* pIcon);
24 FWL_ERR GetTextByIndex(int32_t iIndex, CFX_WideString& wsText);
27 FWL_ERR SetEditText(const CFX_WideStringC& wsText);
29 FWL_ERR GetEditText(CFX_WideString& wsText,
86 CFX_WideString& wsText);
Dlistbox.h27 FWL_ERR GetItemText(FWL_HLISTITEM hItem, CFX_WideString& wsText);
35 FWL_ERR SetItemString(FWL_HLISTITEM hItem, const CFX_WideStringC& wsText);
36 FWL_ERR GetItemString(FWL_HLISTITEM hItem, CFX_WideString& wsText);
61 CFX_WideString& wsText);
/external/pdfium/xfa/src/fdp/src/xml/
Dfde_xml.h116 virtual void GetTextData(CFX_WideString& wsText) const;
117 virtual void SetTextData(const CFX_WideString& wsText);
126 CFDE_XMLText(const CFX_WideString& wsText);
130 virtual void GetText(CFX_WideString& wsText) const { wsText = m_wsText; } in GetText() argument
131 virtual void SetText(const CFX_WideString& wsText) { m_wsText = wsText; } in SetText() argument
314 virtual void GetTextData(CFX_WideString& wsText) const { in GetTextData() argument
315 m_BlockBuffer.GetTextData(wsText, 0, m_iTextDataLength); in GetTextData()
331 virtual void GetTextData(CFX_WideString& wsText) const { GetData(wsText); } in GetTextData() argument
/external/pdfium/xfa/src/fwl/src/basewidget/
Dfwl_comboboximp.cpp38 FWL_ERR IFWL_ComboBox::SetEditText(const CFX_WideString& wsText) { in SetEditText() argument
39 return static_cast<CFWL_ComboBoxImp*>(GetImpl())->SetEditText(wsText); in SetEditText()
44 FWL_ERR IFWL_ComboBox::GetEditText(CFX_WideString& wsText, in GetEditText() argument
48 ->GetEditText(wsText, nStart, nCount); in GetEditText()
222 CFX_WideString wsText; in MatchItem() local
223 pData->GetItemText(m_pInterface, hItem, wsText); in MatchItem()
224 FX_STRSIZE pos = wsText.Find(wsMatch.c_str()); in MatchItem()
645 CFX_WideString wsText; in DrawWidget() local
650 ->GetItemText(hItem, wsText); in DrawWidget()
661 param.m_wsText = wsText; in DrawWidget()
[all …]
Dfwl_barcodeimp.cpp105 CFX_WideString wsText; in GenerateBarcodeImageCache() local
106 if (GetText(wsText) != FWL_ERR_Succeeded) in GenerateBarcodeImageCache()
171 m_dwStatus = m_pBarcodeEngine->Encode(wsText, TRUE, errorCode) in GenerateBarcodeImageCache()
194 FWL_ERR CFWL_BarcodeImp::SetText(const CFX_WideString& wsText) { in SetText() argument
197 return CFWL_EditImp::SetText(wsText); in SetText()
Dfwl_editimp.cpp41 FWL_ERR IFWL_Edit::SetText(const CFX_WideString& wsText) { in SetText() argument
42 return static_cast<CFWL_EditImp*>(GetImpl())->SetText(wsText); in SetText()
47 FWL_ERR IFWL_Edit::GetText(CFX_WideString& wsText, in GetText() argument
50 return static_cast<CFWL_EditImp*>(GetImpl())->GetText(wsText, nStart, nCount); in GetText()
238 CFX_WideString wsText; in GetWidgetRect() local
239 m_pEdtEngine->GetText(wsText, 0); in GetWidgetRect()
241 wsText, m_pProperties->m_pThemeProvider, in GetWidgetRect()
520 FWL_ERR CFWL_EditImp::SetText(const CFX_WideString& wsText) { in SetText() argument
521 m_pEdtEngine->SetText(wsText); in SetText()
529 FWL_ERR CFWL_EditImp::GetText(CFX_WideString& wsText, in GetText() argument
[all …]
/external/pdfium/xfa/src/fee/include/
Difde_txtedtbuf.h19 virtual void SetText(const CFX_WideString& wsText) = 0;
20 virtual void GetText(CFX_WideString& wsText) const = 0;
22 virtual void GetRange(CFX_WideString& wsText,
/external/pdfium/core/src/fxcrt/
Dfx_arabic.cpp314 void FX_BidiReverseString(CFX_WideString& wsText, in FX_BidiReverseString() argument
317 FXSYS_assert(iStart > -1 && iStart < wsText.GetLength()); in FX_BidiReverseString()
318 FXSYS_assert(iCount >= 0 && iStart + iCount <= wsText.GetLength()); in FX_BidiReverseString()
320 FX_WCHAR* pStart = (FX_WCHAR*)(const FX_WCHAR*)wsText; in FX_BidiReverseString()
346 void FX_BidiClassify(const CFX_WideString& wsText, in FX_BidiClassify() argument
349 FXSYS_assert(wsText.GetLength() == classes.GetSize()); in FX_BidiClassify()
350 int32_t iCount = wsText.GetLength(); in FX_BidiClassify()
351 const FX_WCHAR* pwsStart = (const FX_WCHAR*)wsText; in FX_BidiClassify()
757 CFX_WideString& wsText, in FX_BidiReorderLevel() argument
762 FXSYS_assert(wsText.GetLength() == levels.GetSize()); in FX_BidiReorderLevel()
[all …]
Dfx_arabic.h30 void FX_BidiReverseString(CFX_WideString& wsText,
57 void FX_BidiClassify(const CFX_WideString& wsText,
203 CFX_WideString& wsText,
208 CFX_WideString& wsText,
/external/pdfium/xfa/src/fxfa/src/parser/
Dxfa_parser_imp.cpp815 static FX_BOOL XFA_FDEExtension_IsStringAllWhitespace(CFX_WideString wsText) { in XFA_FDEExtension_IsStringAllWhitespace() argument
816 wsText.TrimRight(L"\x20\x9\xD\xA"); in XFA_FDEExtension_IsStringAllWhitespace()
817 return wsText.IsEmpty(); in XFA_FDEExtension_IsStringAllWhitespace()
949 CFX_WideString wsText; in XFA_ConvertRichTextToPlainText() local
950 ((IFDE_XMLText*)pNode)->GetText(wsText); in XFA_ConvertRichTextToPlainText()
951 wsPlainTextBuf << wsText; in XFA_ConvertRichTextToPlainText()
954 CFX_WideString wsText; in XFA_ConvertRichTextToPlainText() local
955 ((IFDE_XMLCharData*)pNode)->GetCharData(wsText); in XFA_ConvertRichTextToPlainText()
956 wsPlainTextBuf << wsText; in XFA_ConvertRichTextToPlainText()
982 CFX_WideString wsText; in XFA_ConvertXMLToPlainText() local
[all …]
/external/pdfium/xfa/src/fdp/include/
Dfde_xml.h135 virtual void GetTextData(CFX_WideString& wsText) const = 0;
136 virtual void SetTextData(const CFX_WideString& wsText) = 0;
140 static IFDE_XMLText* Create(const CFX_WideString& wsText);
141 virtual void GetText(CFX_WideString& wsText) const = 0;
142 virtual void SetText(const CFX_WideString& wsText) = 0;
228 virtual void GetTextData(CFX_WideString& wsText) const = 0;
/external/pdfium/xfa/src/fee/src/fx_wordbreak/
Dfx_wordbreak_impl.cpp16 CFX_CharIter::CFX_CharIter(const CFX_WideString& wsText) in CFX_CharIter() argument
17 : m_wsText(wsText), m_nIndex(0) { in CFX_CharIter()
18 FXSYS_assert(!wsText.IsEmpty()); in CFX_CharIter()
76 void CFX_WordBreak::Attach(const CFX_WideString& wsText) { in Attach() argument
77 m_pCurIter = new CFX_CharIter(wsText); in Attach()

123