OLD | NEW |
1 // Copyright 2014 PDFium Authors. All rights reserved. | 1 // Copyright 2014 PDFium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com | 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com |
6 | 6 |
7 #include "xfa/fxfa/xfa_ffwidget.h" | 7 #include "xfa/fxfa/xfa_ffwidget.h" |
8 | 8 |
9 #include <algorithm> | 9 #include <algorithm> |
10 #include <memory> | 10 #include <memory> |
(...skipping 286 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
297 } | 297 } |
298 bool CXFA_FFWidget::Copy(CFX_WideString& wsCopy) { | 298 bool CXFA_FFWidget::Copy(CFX_WideString& wsCopy) { |
299 return false; | 299 return false; |
300 } | 300 } |
301 bool CXFA_FFWidget::Cut(CFX_WideString& wsCut) { | 301 bool CXFA_FFWidget::Cut(CFX_WideString& wsCut) { |
302 return false; | 302 return false; |
303 } | 303 } |
304 bool CXFA_FFWidget::Paste(const CFX_WideString& wsPaste) { | 304 bool CXFA_FFWidget::Paste(const CFX_WideString& wsPaste) { |
305 return false; | 305 return false; |
306 } | 306 } |
307 bool CXFA_FFWidget::SelectAll() { | 307 |
308 return false; | 308 void CXFA_FFWidget::SelectAll() {} |
309 } | 309 |
310 bool CXFA_FFWidget::Delete() { | 310 void CXFA_FFWidget::Delete() {} |
311 return false; | 311 |
312 } | 312 void CXFA_FFWidget::DeSelect() {} |
313 bool CXFA_FFWidget::DeSelect() { | 313 |
314 return false; | |
315 } | |
316 bool CXFA_FFWidget::GetSuggestWords(CFX_PointF pointf, | 314 bool CXFA_FFWidget::GetSuggestWords(CFX_PointF pointf, |
317 std::vector<CFX_ByteString>& sSuggest) { | 315 std::vector<CFX_ByteString>& sSuggest) { |
318 return false; | 316 return false; |
319 } | 317 } |
320 bool CXFA_FFWidget::ReplaceSpellCheckWord(CFX_PointF pointf, | 318 bool CXFA_FFWidget::ReplaceSpellCheckWord(CFX_PointF pointf, |
321 const CFX_ByteStringC& bsReplace) { | 319 const CFX_ByteStringC& bsReplace) { |
322 return false; | 320 return false; |
323 } | 321 } |
324 void CXFA_FFWidget::Rotate2Normal(FX_FLOAT& fx, FX_FLOAT& fy) { | 322 void CXFA_FFWidget::Rotate2Normal(FX_FLOAT& fx, FX_FLOAT& fy) { |
325 CFX_Matrix mt; | 323 CFX_Matrix mt; |
(...skipping 1720 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2046 } | 2044 } |
2047 XFA_BOX_Fill(box, strokes, pGS, rtWidget, pMatrix, dwFlags); | 2045 XFA_BOX_Fill(box, strokes, pGS, rtWidget, pMatrix, dwFlags); |
2048 XFA_BOX_Stroke(box, strokes, pGS, rtWidget, pMatrix, dwFlags); | 2046 XFA_BOX_Stroke(box, strokes, pGS, rtWidget, pMatrix, dwFlags); |
2049 } | 2047 } |
2050 | 2048 |
2051 CXFA_CalcData::CXFA_CalcData() : m_iRefCount(0) {} | 2049 CXFA_CalcData::CXFA_CalcData() : m_iRefCount(0) {} |
2052 | 2050 |
2053 CXFA_CalcData::~CXFA_CalcData() { | 2051 CXFA_CalcData::~CXFA_CalcData() { |
2054 m_Globals.RemoveAll(); | 2052 m_Globals.RemoveAll(); |
2055 } | 2053 } |
OLD | NEW |