Home
last modified time | relevance | path

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

12

/external/pdfium/xfa/fxfa/
Dcxfa_ffdatetimeedit.cpp59 WideString wsText = m_pNode->GetValue(XFA_ValuePicture::kDisplay); in LoadWidget() local
60 pWidget->SetEditText(wsText); in LoadWidget()
66 if (!wsText.IsEmpty()) { in LoadWidget()
163 WideString wsText = m_pNode->GetValue(eType); in UpdateFWLData() local
165 pPicker->SetEditText(wsText); in UpdateFWLData()
166 if (IsFocused() && !wsText.IsEmpty()) { in UpdateFWLData()
182 WideString wsText = GetPickerWidget()->GetEditText(); in IsDataChanged() local
183 return m_pNode->GetValue(XFA_ValuePicture::kEdit) != wsText; in IsDataChanged()
Dcxfa_fftextedit.cpp205 WideString wsText = ToEdit(GetNormalWidget())->GetText(); in CommitData() local
206 if (m_pNode->SetValue(XFA_ValuePicture::kEdit, wsText)) { in CommitData()
210 ValidateNumberField(wsText); in CommitData()
214 void CXFA_FFTextEdit::ValidateNumberField(const WideString& wsText) { in ValidateNumberField() argument
224 wsText + WideString::FromASCII(" can not contain ") + wsSomField, in ValidateNumberField()
304 WideString wsText = m_pNode->GetValue(eType); in UpdateFWLData() local
306 if (wsText != wsOldText || (eType == XFA_ValuePicture::kEdit && bUpdate)) { in UpdateFWLData()
307 pEdit->SetTextSkipNotify(wsText); in UpdateFWLData()
Dcxfa_ffcombobox.cpp137 WideString wsText = GetCurrentText(); in IsDataChanged() local
138 if (m_pNode->GetValue(XFA_ValuePicture::kRaw) == wsText) in IsDataChanged()
141 m_wsNewValue = std::move(wsText); in IsDataChanged()
153 WideString wsText = pFWLcombobox->GetEditText(); in GetCurrentText() local
157 if (wsSel == wsText) in GetCurrentText()
158 wsText = m_pNode->GetChoiceListItem(iCursel, true).value_or(L""); in GetCurrentText()
160 return wsText; in GetCurrentText()
Dcxfa_textlayout.cpp723 WideString wsText = pNode->JSObject()->GetContent(false); in LoadText() local
724 wsText.TrimRight(L" "); in LoadText()
725 bool bRet = AppendChar(wsText, pLinePos, fSpaceAbove, bSavePieces); in LoadText()
800 WideString wsText; in LoadRichText() local
802 wsText = ToXMLText(pXMLNode)->GetText(); in LoadRichText()
804 wsText = WideString(L'\n'); in LoadRichText()
808 wsText = WideString::Format(L"%d. ", iLiCount); in LoadRichText()
810 wsText = 0x00B7 + WideStringView(L" ", 1); in LoadRichText()
814 wsText += L'\t'; in LoadRichText()
819 wsText = obj.value(); in LoadRichText()
[all …]
Dcxfa_ffnumericedit.cpp80 const WideString& wsText) { in OnValidate() argument
89 return widgetValue.ValidateNumericTemp(wsText, wsFormat, in OnValidate()
Dcxfa_ffnumericedit.h27 bool OnValidate(CFWL_Widget* pWidget, const WideString& wsText);
Dcxfa_fftextedit.h84 void ValidateNumberField(const WideString& wsText);
/external/pdfium/core/fxge/win32/
Dctext_only_printer_driver.cpp147 WideString wsText; in DrawDeviceText() local
151 wsText += L"\r\n"; in DrawDeviceText()
154 wsText.Reserve(len); in DrawDeviceText()
167 wsText += charpos.m_Unicode; in DrawDeviceText()
169 ByteString text = wsText.ToDefANSI(); in DrawDeviceText()
/external/pdfium/core/fxcrt/xml/
Dcfx_xmltext.h17 explicit CFX_XMLText(const WideString& wsText);
26 void SetText(const WideString& wsText) { text_ = wsText; } in SetText() argument
Dcfx_xmltext.cpp11 CFX_XMLText::CFX_XMLText(const WideString& wsText) : text_(wsText) {} in CFX_XMLText() argument
/external/pdfium/xfa/fwl/
Dcfwl_combobox.cpp54 void CFWL_ComboBox::AddString(const WideString& wsText) { in AddString() argument
55 m_pListBox->AddString(wsText); in AddString()
165 void CFWL_ComboBox::SetEditText(const WideString& wsText) { in SetEditText() argument
169 m_pEdit->SetText(wsText); in SetEditText()
250 WideString wsText = m_pEdit->GetText(); in MatchEditText() local
251 int32_t iMatch = m_pListBox->MatchItem(wsText.AsStringView()); in MatchEditText()
498 WideString wsText = m_pEdit->GetText(); in OnKey() local
499 iCurSel = pComboList->MatchItem(wsText.AsStringView()); in OnKey()
502 bMatchEqual = wsText == (item ? item->GetText() : WideString()); in OnKey()
Dcfwl_barcode.cpp64 void CFWL_Barcode::SetText(const WideString& wsText) { in SetText() argument
67 CFWL_Edit::SetText(wsText); in SetText()
70 void CFWL_Barcode::SetTextSkipNotify(const WideString& wsText) { in SetTextSkipNotify() argument
73 CFWL_Edit::SetTextSkipNotify(wsText); in SetTextSkipNotify()
Dcfwl_edit.h67 virtual void SetText(const WideString& wsText);
68 virtual void SetTextSkipNotify(const WideString& wsText);
97 bool OnValidate(const WideString& wsText) override;
Dcfwl_barcode.h33 void SetText(const WideString& wsText) override;
34 void SetTextSkipNotify(const WideString& wsText) override;
Dcfwl_widget.cpp230 CFX_SizeF CFWL_Widget::CalcTextSize(const WideString& wsText, bool bMultiLine) { in CalcTextSize() argument
232 calPart.m_wsText = wsText; in CalcTextSize()
245 void CFWL_Widget::CalcTextRect(const WideString& wsText, in CalcTextRect() argument
250 calPart.m_wsText = wsText; in CalcTextRect()
Dcfwl_combobox.h57 void AddString(const WideString& wsText);
61 void SetEditText(const WideString& wsText);
Dcfwl_widget.h167 CFX_SizeF CalcTextSize(const WideString& wsText, bool bMultiLine);
168 void CalcTextRect(const WideString& wsText,
Dcfwl_combolist.cpp34 WideString wsText = hItem ? hItem->GetText() : WideString(); in MatchItem() local
35 auto pos = wsText.Find(wsMatch); in MatchItem()
Dcfwl_edit.cpp149 void CFWL_Edit::SetText(const WideString& wsText) { in SetText() argument
151 m_pEditEngine->Insert(0, wsText, in SetText()
155 void CFWL_Edit::SetTextSkipNotify(const WideString& wsText) { in SetTextSkipNotify() argument
157 m_pEditEngine->Insert(0, wsText, in SetTextSkipNotify()
302 bool CFWL_Edit::OnValidate(const WideString& wsText) { in OnValidate() argument
303 CFWL_EventValidate event(this, wsText); in OnValidate()
Dcfwl_datetimepicker.h51 void SetEditText(const WideString& wsText);
Dcfwl_datetimepicker.cpp147 void CFWL_DateTimePicker::SetEditText(const WideString& wsText) { in SetEditText() argument
151 m_pEdit->SetText(wsText); in SetEditText()
/external/pdfium/xfa/fgas/layout/
Dcfgas_linkuserdata.cpp9 CFGAS_LinkUserData::CFGAS_LinkUserData(const WideString& wsText) in CFGAS_LinkUserData() argument
10 : m_wsURLContent(wsText) {} in CFGAS_LinkUserData()
Dcfgas_linkuserdata.h20 explicit CFGAS_LinkUserData(const WideString& wsText);
/external/pdfium/xfa/fxfa/parser/
Dcxfa_document_builder.cpp149 bool IsStringAllWhitespace(WideString wsText) { in IsStringAllWhitespace() argument
150 wsText.TrimRight(L"\x20\x9\xD\xA"); in IsStringAllWhitespace()
151 return wsText.IsEmpty(); in IsStringAllWhitespace()
166 WideString wsText = ToXMLText(pXMLChild)->GetText(); in ConvertXMLToPlainText() local
167 if (IsStringAllWhitespace(wsText)) in ConvertXMLToPlainText()
169 wsOutput = std::move(wsText); in ConvertXMLToPlainText()
886 WideString wsText = pXMLText->GetText(); in ParseDataGroup() local
887 if (IsStringAllWhitespace(wsText)) in ParseDataGroup()
895 pXFAChild->JSObject()->SetCData(XFA_Attribute::Value, wsText); in ParseDataGroup()
922 WideString wsText = pText->GetText(); in ParseDataValue() local
[all …]
/external/pdfium/fpdfsdk/
Dfpdf_formfill.cpp537 FPDF_WIDESTRING wsText) { in FORM_ReplaceAndKeepSelection() argument
542 pPageView->ReplaceAndKeepSelection(WideStringFromFPDFWideString(wsText)); in FORM_ReplaceAndKeepSelection()
547 FPDF_WIDESTRING wsText) { in FORM_ReplaceSelection() argument
552 pPageView->ReplaceSelection(WideStringFromFPDFWideString(wsText)); in FORM_ReplaceSelection()

12