1
0
Fork 0
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
823 B

// 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 "xfa/fxfa/cxfa_eventparam.h"
#include "xfa/fxfa/fxfa.h"
CXFA_EventParam::CXFA_EventParam() = default;
CXFA_EventParam::CXFA_EventParam(const CXFA_EventParam& other) = default;
CXFA_EventParam::~CXFA_EventParam() = default;
CXFA_EventParam& CXFA_EventParam::operator=(const CXFA_EventParam& other) =
default;
CXFA_EventParam& CXFA_EventParam::operator=(CXFA_EventParam&& other) = default;
WideString CXFA_EventParam::GetNewText() const {
return m_wsPrevText.First(m_iSelStart) + m_wsChange +
m_wsPrevText.Last(m_wsPrevText.GetLength() - m_iSelEnd);
}