chromium/third_party/pdfium/fpdfsdk/pwl/cpwl_list_ctrl.cpp

// Copyright 2014 The PDFium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com

#include "fpdfsdk/pwl/cpwl_list_ctrl.h"

#include <algorithm>
#include <utility>

#include "core/fpdfdoc/cpvt_word.h"
#include "core/fxcrt/fx_extension.h"
#include "core/fxcrt/numerics/safe_conversions.h"
#include "core/fxcrt/stl_util.h"
#include "fpdfsdk/pwl/cpwl_edit_impl.h"
#include "fpdfsdk/pwl/cpwl_list_box.h"

CPWL_ListCtrl::NotifyIface::~NotifyIface() = default;

CPWL_ListCtrl::Item::Item() :{}

CPWL_ListCtrl::Item::~Item() = default;

void CPWL_ListCtrl::Item::SetFontMap(IPVT_FontMap* pFontMap) {}

void CPWL_ListCtrl::Item::SetText(const WideString& text) {}

void CPWL_ListCtrl::Item::SetFontSize(float fFontSize) {}

float CPWL_ListCtrl::Item::GetItemHeight() const {}

uint16_t CPWL_ListCtrl::Item::GetFirstChar() const {}

WideString CPWL_ListCtrl::Item::GetText() const {}

CPWL_ListCtrl::SelectState::SelectState() = default;

CPWL_ListCtrl::SelectState::~SelectState() = default;

void CPWL_ListCtrl::SelectState::Add(int32_t nItemIndex) {}

void CPWL_ListCtrl::SelectState::Add(int32_t nBeginIndex, int32_t nEndIndex) {}

void CPWL_ListCtrl::SelectState::Sub(int32_t nItemIndex) {}

void CPWL_ListCtrl::SelectState::Sub(int32_t nBeginIndex, int32_t nEndIndex) {}

void CPWL_ListCtrl::SelectState::DeselectAll() {}

void CPWL_ListCtrl::SelectState::Done() {}

CPWL_ListCtrl::CPWL_ListCtrl() = default;

CPWL_ListCtrl::~CPWL_ListCtrl() {}

CFX_PointF CPWL_ListCtrl::InToOut(const CFX_PointF& point) const {}

CFX_PointF CPWL_ListCtrl::OutToIn(const CFX_PointF& point) const {}

CFX_FloatRect CPWL_ListCtrl::InToOut(const CFX_FloatRect& rect) const {}

CFX_FloatRect CPWL_ListCtrl::OutToIn(const CFX_FloatRect& rect) const {}

CFX_PointF CPWL_ListCtrl::InnerToOuter(const CFX_PointF& point) const {}

CFX_PointF CPWL_ListCtrl::OuterToInner(const CFX_PointF& point) const {}

CFX_FloatRect CPWL_ListCtrl::InnerToOuter(const CFX_FloatRect& rect) const {}

CFX_FloatRect CPWL_ListCtrl::OuterToInner(const CFX_FloatRect& rect) const {}

void CPWL_ListCtrl::OnMouseDown(const CFX_PointF& point,
                                bool bShift,
                                bool bCtrl) {}

void CPWL_ListCtrl::OnMouseMove(const CFX_PointF& point,
                                bool bShift,
                                bool bCtrl) {}

void CPWL_ListCtrl::OnVK(int32_t nItemIndex, bool bShift, bool bCtrl) {}

void CPWL_ListCtrl::OnVK_UP(bool bShift, bool bCtrl) {}

void CPWL_ListCtrl::OnVK_DOWN(bool bShift, bool bCtrl) {}

void CPWL_ListCtrl::OnVK_LEFT(bool bShift, bool bCtrl) {}

void CPWL_ListCtrl::OnVK_RIGHT(bool bShift, bool bCtrl) {}

void CPWL_ListCtrl::OnVK_HOME(bool bShift, bool bCtrl) {}

void CPWL_ListCtrl::OnVK_END(bool bShift, bool bCtrl) {}

bool CPWL_ListCtrl::OnChar(uint16_t nChar, bool bShift, bool bCtrl) {}

void CPWL_ListCtrl::SetPlateRect(const CFX_FloatRect& rect) {}

CFX_FloatRect CPWL_ListCtrl::GetItemRect(int32_t nIndex) const {}

CFX_FloatRect CPWL_ListCtrl::GetItemRectInternal(int32_t nIndex) const {}

void CPWL_ListCtrl::AddString(const WideString& str) {}

void CPWL_ListCtrl::SetMultipleSelect(int32_t nItemIndex, bool bSelected) {}

void CPWL_ListCtrl::SetSingleSelect(int32_t nItemIndex) {}

void CPWL_ListCtrl::SetCaret(int32_t nItemIndex) {}

void CPWL_ListCtrl::InvalidateItem(int32_t nItemIndex) {}

void CPWL_ListCtrl::SelectItems() {}

void CPWL_ListCtrl::Select(int32_t nItemIndex) {}

void CPWL_ListCtrl::Deselect(int32_t nItemIndex) {}

bool CPWL_ListCtrl::IsItemVisible(int32_t nItemIndex) const {}

void CPWL_ListCtrl::ScrollToListItem(int32_t nItemIndex) {}

void CPWL_ListCtrl::SetScrollInfo() {}

void CPWL_ListCtrl::SetScrollPos(const CFX_PointF& point) {}

void CPWL_ListCtrl::SetScrollPosY(float fy) {}

CFX_FloatRect CPWL_ListCtrl::GetContentRectInternal() const {}

CFX_FloatRect CPWL_ListCtrl::GetContentRect() const {}

void CPWL_ListCtrl::ReArrange(int32_t nItemIndex) {}

void CPWL_ListCtrl::SetTopItem(int32_t nIndex) {}

int32_t CPWL_ListCtrl::GetTopItem() const {}

int32_t CPWL_ListCtrl::GetItemIndex(const CFX_PointF& point) const {}

WideString CPWL_ListCtrl::GetText() const {}

void CPWL_ListCtrl::AddItem(const WideString& str) {}

CPWL_EditImpl* CPWL_ListCtrl::GetItemEdit(int32_t nIndex) const {}

int32_t CPWL_ListCtrl::GetCount() const {}

float CPWL_ListCtrl::GetFirstHeight() const {}

int32_t CPWL_ListCtrl::GetFirstSelected() const {}

int32_t CPWL_ListCtrl::GetLastSelected() const {}

int32_t CPWL_ListCtrl::FindNext(int32_t nIndex, wchar_t nChar) const {}

bool CPWL_ListCtrl::IsItemSelected(int32_t nIndex) const {}

void CPWL_ListCtrl::SetItemSelect(int32_t nIndex, bool bSelected) {}

bool CPWL_ListCtrl::IsValid(int32_t nItemIndex) const {}

WideString CPWL_ListCtrl::GetItemText(int32_t nIndex) const {}