summaryrefslogtreecommitdiff
path: root/core/fpdfdoc/ipdf_formnotify.cpp
blob: b36419d0e09dc88771a24946a8f334f2a616cb12 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
// Copyright 2016 PDFium Authors. All rights reserved.
// 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 "core/fpdfdoc/include/ipdf_formnotify.h"

IPDF_FormNotify::~IPDF_FormNotify() {}

int IPDF_FormNotify::BeforeValueChange(CPDF_FormField* pField,
                                       const CFX_WideString& csValue) {
  return 0;
}

void IPDF_FormNotify::AfterValueChange(CPDF_FormField* pField) {}

int IPDF_FormNotify::BeforeSelectionChange(CPDF_FormField* pField,
                                           const CFX_WideString& csValue) {
  return 0;
}

void IPDF_FormNotify::AfterSelectionChange(CPDF_FormField* pField) {}

void IPDF_FormNotify::AfterCheckedStatusChange(CPDF_FormField* pField) {}

int IPDF_FormNotify::BeforeFormReset(CPDF_InterForm* pForm) {
  return 0;
}

void IPDF_FormNotify::AfterFormReset(CPDF_InterForm* pForm) {}

int IPDF_FormNotify::BeforeFormImportData(CPDF_InterForm* pForm) {
  return 0;
}

void IPDF_FormNotify::AfterFormImportData(CPDF_InterForm* pForm) {}