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 #define _PDF_VT_H_ | 7 #define _PDF_VT_H_ |
8 class CPVT_Size; | 8 class CPVT_Size; |
9 class CPVT_FloatRect; | 9 class CPVT_FloatRect; |
10 struct CPVT_SectionInfo; | 10 struct CPVT_SectionInfo; |
(...skipping 500 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
511 } | 511 } |
512 FX_INT32 GetHorzS cale() const | 512 FX_INT32 GetHorzS cale() const |
513 { | 513 { |
514 return m_nHorzScale; | 514 return m_nHorzScale; |
515 } | 515 } |
516 FX_FLOAT GetCharS pace() const | 516 FX_FLOAT GetCharS pace() const |
517 { | 517 { |
518 return m_fCharSpace; | 518 return m_fCharSpace; |
519 } | 519 } |
520 | 520 |
521 inline CPVT_WordPlace» » » » » GetBeginWordPlac e() const; | 521 CPVT_WordPlace» » » » » » » GetBegin WordPlace() const; |
522 inline CPVT_WordPlace» » » » » GetEndWordPlace( ) const; | 522 CPVT_WordPlace» » » » » » » GetEndWo rdPlace() const; |
Nico
2014/07/23 00:51:41
(do you know what's up with all these tabs in the
Bo Xu
2014/07/28 22:00:36
These are tabs (instead of spaces). In some files
Nico
2014/07/28 22:01:40
Sure, but why is there so much space between retur
Bo Xu
2014/07/28 22:08:31
I don't know the exact answer from the first devel
| |
523 CPVT_WordPlace GetPrevW ordPlace(const CPVT_WordPlace & place) const; | 523 CPVT_WordPlace GetPrevW ordPlace(const CPVT_WordPlace & place) const; |
524 CPVT_WordPlace GetNextW ordPlace(const CPVT_WordPlace & place) const; | 524 CPVT_WordPlace GetNextW ordPlace(const CPVT_WordPlace & place) const; |
525 CPVT_WordPlace SearchWo rdPlace(const CPDF_Point & point) const; | 525 CPVT_WordPlace SearchWo rdPlace(const CPDF_Point & point) const; |
526 CPVT_WordPlace GetUpWor dPlace(const CPVT_WordPlace & place, const CPDF_Point & point) const; | 526 CPVT_WordPlace GetUpWor dPlace(const CPVT_WordPlace & place, const CPDF_Point & point) const; |
527 CPVT_WordPlace GetDownW ordPlace(const CPVT_WordPlace & place, const CPDF_Point & point) const; | 527 CPVT_WordPlace GetDownW ordPlace(const CPVT_WordPlace & place, const CPDF_Point & point) const; |
528 CPVT_WordPlace GetLineB eginPlace(const CPVT_WordPlace & place) const; | 528 CPVT_WordPlace GetLineB eginPlace(const CPVT_WordPlace & place) const; |
529 CPVT_WordPlace GetLineE ndPlace(const CPVT_WordPlace & place) const; | 529 CPVT_WordPlace GetLineE ndPlace(const CPVT_WordPlace & place) const; |
530 CPVT_WordPlace GetSecti onBeginPlace(const CPVT_WordPlace & place) const; | 530 CPVT_WordPlace GetSecti onBeginPlace(const CPVT_WordPlace & place) const; |
531 CPVT_WordPlace GetSecti onEndPlace(const CPVT_WordPlace & place) const; | 531 CPVT_WordPlace GetSecti onEndPlace(const CPVT_WordPlace & place) const; |
532 void UpdateWordPlace(CPVT_WordPlace & place) const; | 532 void UpdateWordPlace(CPVT_WordPlace & place) const; |
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
633 void SetAt(FX_INT32 nWordIndex); | 633 void SetAt(FX_INT32 nWordIndex); |
634 void SetAt(const CPVT_WordPlace & place); | 634 void SetAt(const CPVT_WordPlace & place); |
635 const CPVT_WordPlace & GetAt() const | 635 const CPVT_WordPlace & GetAt() const |
636 { | 636 { |
637 return m_CurPos; | 637 return m_CurPos; |
638 }; | 638 }; |
639 private: | 639 private: |
640 CPVT_WordPlace m_CurPos ; | 640 CPVT_WordPlace m_CurPos ; |
641 CPDF_VariableText * m_pVT; | 641 CPDF_VariableText * m_pVT; |
642 }; | 642 }; |
OLD | NEW |