Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
CPDFSDK_AppStream Class Reference

#include <cpdfsdk_appstream.h>

Collaboration diagram for CPDFSDK_AppStream:

Public Member Functions

 CPDFSDK_AppStream (CPDFSDK_Widget *widget, CPDF_Dictionary *dict)
 ~CPDFSDK_AppStream ()
void SetAsPushButton ()
void SetAsCheckBox ()
void SetAsRadioButton ()
void SetAsComboBox (std::optional< WideString > sValue)
void SetAsListBox ()
void SetAsTextField (std::optional< WideString > sValue)

Detailed Description

Definition at line 20 of file cpdfsdk_appstream.h.

Constructor & Destructor Documentation

◆ CPDFSDK_AppStream()

CPDFSDK_AppStream::CPDFSDK_AppStream ( CPDFSDK_Widget * widget,
CPDF_Dictionary * dict )

Definition at line 1127 of file cpdfsdk_appstream.cpp.

References CPDFSDK_AppStream().

Referenced by CPDFSDK_AppStream().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ~CPDFSDK_AppStream()

CPDFSDK_AppStream::~CPDFSDK_AppStream ( )
default

Member Function Documentation

◆ SetAsCheckBox()

void CPDFSDK_AppStream::SetAsCheckBox ( )

Definition at line 1311 of file cpdfsdk_appstream.cpp.

References CFX_Color::CFX_Color(), CPWL_Dash::CPWL_Dash(), CPDF_FormControl::GetCheckedAPState(), CFX_FloatRect::GetDeflated(), CPDF_FormControl::GetOriginalBackgroundColor(), CPDF_FormControl::GetOriginalBorderColor(), kBeveled, kDash, CFX_Color::kGray, kInset, fxcrt::operator+(), fxcrt::ByteString::operator+=(), CFX_Color::operator-(), CFX_Color::operator/(), and CFX_Color::operator=().

Referenced by CPDFSDK_Widget::ResetAppearance().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ SetAsComboBox()

void CPDFSDK_AppStream::SetAsComboBox ( std::optional< WideString > sValue)

Definition at line 1506 of file cpdfsdk_appstream.cpp.

References fxcrt::ByteString::ByteString(), CPDF_FormControl::GetField(), CPDF_FormField::GetOptionLabel(), CPDF_FormField::GetSelectedIndex(), CPDF_FormField::GetValue(), CFX_FloatRect::Height(), CFX_FloatRect::left, CFX_FloatRect::Normalize(), fxcrt::operator+(), CFX_FloatRect::right, and CFX_FloatRect::Width().

Referenced by CPDFSDK_Widget::ResetAppearance().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ SetAsListBox()

void CPDFSDK_AppStream::SetAsListBox ( )

Definition at line 1576 of file cpdfsdk_appstream.cpp.

References fxcrt::ByteString::ByteString(), CFX_Color::CFX_Color(), CFX_FloatRect::CFX_FloatRect(), CPDF_FormField::CountOptions(), CPDF_FormField::CountSelectedItems(), CPDF_FormControl::GetField(), CPDF_FormField::GetOptionLabel(), CPDF_FormField::GetSelectedIndex(), CPDF_FormField::GetTopVisibleIndex(), CFX_FloatRect::Height(), CFX_Color::kGray, CFX_Color::kRGB, CFX_FloatRect::left, fxcrt::operator+(), CFX_FloatRect::right, and CFX_FloatRect::top.

Referenced by CPDFSDK_Widget::ResetAppearance().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ SetAsPushButton()

◆ SetAsRadioButton()

void CPDFSDK_AppStream::SetAsRadioButton ( )

Definition at line 1390 of file cpdfsdk_appstream.cpp.

References CFX_Color::CFX_Color(), CPWL_Dash::CPWL_Dash(), CFX_FloatRect::GetCenterSquare(), CPDF_FormControl::GetCheckedAPState(), CFX_FloatRect::GetDeflated(), CPDF_FormControl::GetOriginalBackgroundColor(), CPDF_FormControl::GetOriginalBorderColor(), kBeveled, kDash, CFX_Color::kGray, kInset, fxcrt::operator+(), fxcrt::ByteString::operator+=(), CFX_Color::operator-(), CFX_Color::operator/(), CFX_Color::operator=(), and fxcrt::ByteString::operator=().

Referenced by CPDFSDK_Widget::ResetAppearance().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ SetAsTextField()

void CPDFSDK_AppStream::SetAsTextField ( std::optional< WideString > sValue)

Definition at line 1658 of file cpdfsdk_appstream.cpp.

References fxcrt::ByteString::ByteString(), CPWL_Dash::CPWL_Dash(), CFX_FloatRect::bottom, CPWL_Edit::GetCharArrayAutoFontSize(), CPDF_FormControl::GetControlAlignment(), CPDF_FormControl::GetField(), CPDF_FormField::GetFieldFlags(), CPDF_FormField::GetMaxLen(), CPDF_BAFontMap::GetPDFFont(), CPDF_FormField::GetValue(), CFX_FloatRect::Height(), pdfium::form_flags::kTextComb, pdfium::form_flags::kTextMultiline, pdfium::form_flags::kTextPassword, CFX_FloatRect::left, fxcrt::operator+(), CFX_FloatRect::right, CFX_FloatRect::top, and CFX_FloatRect::Width().

Referenced by CPDFSDK_Widget::ResetAppearance().

Here is the call graph for this function:
Here is the caller graph for this function:

The documentation for this class was generated from the following files: