diff options
-rw-r--r-- | BUILD.gn | 4 | ||||
-rw-r--r-- | xfa/fde/cfde_textout.cpp (renamed from xfa/fde/tto/fde_textout.cpp) | 2 | ||||
-rw-r--r-- | xfa/fde/cfde_textout.h (renamed from xfa/fde/tto/fde_textout.h) | 8 | ||||
-rw-r--r-- | xfa/fde/cfde_txtedtengine.cpp | 2 | ||||
-rw-r--r-- | xfa/fwl/cfwl_checkbox.cpp | 2 | ||||
-rw-r--r-- | xfa/fwl/cfwl_combobox.cpp | 2 | ||||
-rw-r--r-- | xfa/fwl/cfwl_form.cpp | 2 | ||||
-rw-r--r-- | xfa/fwl/cfwl_listbox.cpp | 2 | ||||
-rw-r--r-- | xfa/fwl/cfwl_monthcalendar.cpp | 2 | ||||
-rw-r--r-- | xfa/fwl/cfwl_pushbutton.cpp | 2 | ||||
-rw-r--r-- | xfa/fwl/cfwl_widget.cpp | 2 | ||||
-rw-r--r-- | xfa/fwl/theme/cfwl_checkboxtp.cpp | 2 | ||||
-rw-r--r-- | xfa/fwl/theme/cfwl_monthcalendartp.cpp | 2 | ||||
-rw-r--r-- | xfa/fwl/theme/cfwl_widgettp.cpp | 2 | ||||
-rw-r--r-- | xfa/fxfa/app/xfa_ffwidgetacc.cpp | 2 | ||||
-rw-r--r-- | xfa/fxfa/app/xfa_fwltheme.cpp | 2 | ||||
-rw-r--r-- | xfa/fxfa/cxfa_widgetacc.cpp | 2 |
17 files changed, 21 insertions, 21 deletions
@@ -1318,6 +1318,8 @@ if (pdf_enable_xfa) { "xfa/fde/cfde_rendercontext.cpp", "xfa/fde/cfde_rendercontext.h", "xfa/fde/cfde_renderdevice.cpp", + "xfa/fde/cfde_textout.cpp", + "xfa/fde/cfde_textout.h", "xfa/fde/cfde_txtedtbuf.cpp", "xfa/fde/cfde_txtedtbuf.h", "xfa/fde/cfde_txtedtdorecord_deleterange.cpp", @@ -1376,8 +1378,6 @@ if (pdf_enable_xfa) { "xfa/fde/ifde_txtedtdorecord.h", "xfa/fde/ifde_txtedtengine.h", "xfa/fde/ifde_txtedtpage.h", - "xfa/fde/tto/fde_textout.cpp", - "xfa/fde/tto/fde_textout.h", "xfa/fde/xml/fde_xml.h", "xfa/fde/xml/fde_xml_imp.cpp", "xfa/fde/xml/fde_xml_imp.h", diff --git a/xfa/fde/tto/fde_textout.cpp b/xfa/fde/cfde_textout.cpp index c036c77931..b85bfef3f6 100644 --- a/xfa/fde/tto/fde_textout.cpp +++ b/xfa/fde/cfde_textout.cpp @@ -4,7 +4,7 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#include "xfa/fde/tto/fde_textout.h" +#include "xfa/fde/cfde_textout.h" #include <algorithm> diff --git a/xfa/fde/tto/fde_textout.h b/xfa/fde/cfde_textout.h index 2ca77217a6..c505c0737f 100644 --- a/xfa/fde/tto/fde_textout.h +++ b/xfa/fde/cfde_textout.h @@ -4,8 +4,8 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef XFA_FDE_TTO_FDE_TEXTOUT_H_ -#define XFA_FDE_TTO_FDE_TEXTOUT_H_ +#ifndef XFA_FDE_CFDE_TEXTOUT_H_ +#define XFA_FDE_CFDE_TEXTOUT_H_ #include <deque> #include <memory> @@ -108,7 +108,7 @@ class CFDE_TextOut { const CFX_RectF& rect); int32_t GetTotalLines(); - protected: + private: void CalcTextSize(const wchar_t* pwsStr, int32_t iLength, CFX_RectF& rect); bool RetrieveLineWidth(CFX_BreakType dwBreakStatus, float& fStartPos, @@ -172,4 +172,4 @@ class CFDE_TextOut { std::vector<CFX_RectF> m_rectArray; }; -#endif // XFA_FDE_TTO_FDE_TEXTOUT_H_ +#endif // XFA_FDE_CFDE_TEXTOUT_H_ diff --git a/xfa/fde/cfde_txtedtengine.cpp b/xfa/fde/cfde_txtedtengine.cpp index bdd36aa218..15edfc1c1c 100644 --- a/xfa/fde/cfde_txtedtengine.cpp +++ b/xfa/fde/cfde_txtedtengine.cpp @@ -11,12 +11,12 @@ #include "core/fxcrt/ifx_chariter.h" #include "third_party/base/ptr_util.h" +#include "xfa/fde/cfde_textout.h" #include "xfa/fde/cfde_txtedtbuf.h" #include "xfa/fde/cfde_txtedtdorecord_deleterange.h" #include "xfa/fde/cfde_txtedtdorecord_insert.h" #include "xfa/fde/cfde_txtedtpage.h" #include "xfa/fde/cfde_txtedtparag.h" -#include "xfa/fde/tto/fde_textout.h" #include "xfa/fgas/layout/fgas_textbreak.h" #include "xfa/fwl/cfwl_edit.h" diff --git a/xfa/fwl/cfwl_checkbox.cpp b/xfa/fwl/cfwl_checkbox.cpp index c1ca3296b9..5ec3504cae 100644 --- a/xfa/fwl/cfwl_checkbox.cpp +++ b/xfa/fwl/cfwl_checkbox.cpp @@ -12,7 +12,7 @@ #include <vector> #include "third_party/base/ptr_util.h" -#include "xfa/fde/tto/fde_textout.h" +#include "xfa/fde/cfde_textout.h" #include "xfa/fwl/cfwl_app.h" #include "xfa/fwl/cfwl_event.h" #include "xfa/fwl/cfwl_messagekey.h" diff --git a/xfa/fwl/cfwl_combobox.cpp b/xfa/fwl/cfwl_combobox.cpp index 61c363c95b..b5931d1c04 100644 --- a/xfa/fwl/cfwl_combobox.cpp +++ b/xfa/fwl/cfwl_combobox.cpp @@ -11,8 +11,8 @@ #include <utility> #include "third_party/base/ptr_util.h" +#include "xfa/fde/cfde_textout.h" #include "xfa/fde/cfde_txtedtengine.h" -#include "xfa/fde/tto/fde_textout.h" #include "xfa/fwl/cfwl_app.h" #include "xfa/fwl/cfwl_event.h" #include "xfa/fwl/cfwl_eventselectchanged.h" diff --git a/xfa/fwl/cfwl_form.cpp b/xfa/fwl/cfwl_form.cpp index 1b2d668e5a..3e606b3eb9 100644 --- a/xfa/fwl/cfwl_form.cpp +++ b/xfa/fwl/cfwl_form.cpp @@ -9,7 +9,7 @@ #include <utility> #include "third_party/base/ptr_util.h" -#include "xfa/fde/tto/fde_textout.h" +#include "xfa/fde/cfde_textout.h" #include "xfa/fwl/cfwl_app.h" #include "xfa/fwl/cfwl_event.h" #include "xfa/fwl/cfwl_formproxy.h" diff --git a/xfa/fwl/cfwl_listbox.cpp b/xfa/fwl/cfwl_listbox.cpp index c858063d07..9d9bf72f4c 100644 --- a/xfa/fwl/cfwl_listbox.cpp +++ b/xfa/fwl/cfwl_listbox.cpp @@ -12,7 +12,7 @@ #include "third_party/base/ptr_util.h" #include "third_party/base/stl_util.h" -#include "xfa/fde/tto/fde_textout.h" +#include "xfa/fde/cfde_textout.h" #include "xfa/fwl/cfwl_app.h" #include "xfa/fwl/cfwl_messagekey.h" #include "xfa/fwl/cfwl_messagemouse.h" diff --git a/xfa/fwl/cfwl_monthcalendar.cpp b/xfa/fwl/cfwl_monthcalendar.cpp index a973e75410..4ef0c694c5 100644 --- a/xfa/fwl/cfwl_monthcalendar.cpp +++ b/xfa/fwl/cfwl_monthcalendar.cpp @@ -12,7 +12,7 @@ #include "third_party/base/ptr_util.h" #include "third_party/base/stl_util.h" -#include "xfa/fde/tto/fde_textout.h" +#include "xfa/fde/cfde_textout.h" #include "xfa/fwl/cfwl_datetimepicker.h" #include "xfa/fwl/cfwl_formproxy.h" #include "xfa/fwl/cfwl_messagemouse.h" diff --git a/xfa/fwl/cfwl_pushbutton.cpp b/xfa/fwl/cfwl_pushbutton.cpp index fe4c3f621a..42925414f8 100644 --- a/xfa/fwl/cfwl_pushbutton.cpp +++ b/xfa/fwl/cfwl_pushbutton.cpp @@ -10,7 +10,7 @@ #include <utility> #include "third_party/base/ptr_util.h" -#include "xfa/fde/tto/fde_textout.h" +#include "xfa/fde/cfde_textout.h" #include "xfa/fwl/cfwl_event.h" #include "xfa/fwl/cfwl_eventmouse.h" #include "xfa/fwl/cfwl_messagekey.h" diff --git a/xfa/fwl/cfwl_widget.cpp b/xfa/fwl/cfwl_widget.cpp index f168ad127c..172014da62 100644 --- a/xfa/fwl/cfwl_widget.cpp +++ b/xfa/fwl/cfwl_widget.cpp @@ -11,7 +11,7 @@ #include <vector> #include "third_party/base/stl_util.h" -#include "xfa/fde/tto/fde_textout.h" +#include "xfa/fde/cfde_textout.h" #include "xfa/fwl/cfwl_app.h" #include "xfa/fwl/cfwl_combobox.h" #include "xfa/fwl/cfwl_event.h" diff --git a/xfa/fwl/theme/cfwl_checkboxtp.cpp b/xfa/fwl/theme/cfwl_checkboxtp.cpp index 76a20fe14a..0a3ae88a46 100644 --- a/xfa/fwl/theme/cfwl_checkboxtp.cpp +++ b/xfa/fwl/theme/cfwl_checkboxtp.cpp @@ -8,7 +8,7 @@ #include "core/fxge/cfx_pathdata.h" #include "third_party/base/ptr_util.h" -#include "xfa/fde/tto/fde_textout.h" +#include "xfa/fde/cfde_textout.h" #include "xfa/fwl/cfwl_checkbox.h" #include "xfa/fwl/cfwl_themebackground.h" #include "xfa/fwl/cfwl_themetext.h" diff --git a/xfa/fwl/theme/cfwl_monthcalendartp.cpp b/xfa/fwl/theme/cfwl_monthcalendartp.cpp index b14109d013..b9961af8b0 100644 --- a/xfa/fwl/theme/cfwl_monthcalendartp.cpp +++ b/xfa/fwl/theme/cfwl_monthcalendartp.cpp @@ -6,7 +6,7 @@ #include "xfa/fwl/theme/cfwl_monthcalendartp.h" -#include "xfa/fde/tto/fde_textout.h" +#include "xfa/fde/cfde_textout.h" #include "xfa/fwl/cfwl_monthcalendar.h" #include "xfa/fwl/cfwl_themebackground.h" #include "xfa/fwl/cfwl_themetext.h" diff --git a/xfa/fwl/theme/cfwl_widgettp.cpp b/xfa/fwl/theme/cfwl_widgettp.cpp index 6ce86fb269..a45716ad6b 100644 --- a/xfa/fwl/theme/cfwl_widgettp.cpp +++ b/xfa/fwl/theme/cfwl_widgettp.cpp @@ -10,7 +10,7 @@ #include <utility> #include "third_party/base/ptr_util.h" -#include "xfa/fde/tto/fde_textout.h" +#include "xfa/fde/cfde_textout.h" #include "xfa/fgas/font/cfgas_fontmgr.h" #include "xfa/fgas/font/cfgas_gefont.h" #include "xfa/fwl/cfwl_themebackground.h" diff --git a/xfa/fxfa/app/xfa_ffwidgetacc.cpp b/xfa/fxfa/app/xfa_ffwidgetacc.cpp index ada78921ef..b6d4decc42 100644 --- a/xfa/fxfa/app/xfa_ffwidgetacc.cpp +++ b/xfa/fxfa/app/xfa_ffwidgetacc.cpp @@ -13,7 +13,7 @@ #include "fxjs/cfxjse_value.h" #include "third_party/base/ptr_util.h" #include "third_party/base/stl_util.h" -#include "xfa/fde/tto/fde_textout.h" +#include "xfa/fde/cfde_textout.h" #include "xfa/fde/xml/fde_xml_imp.h" #include "xfa/fxfa/app/xfa_ffcheckbutton.h" #include "xfa/fxfa/app/xfa_ffchoicelist.h" diff --git a/xfa/fxfa/app/xfa_fwltheme.cpp b/xfa/fxfa/app/xfa_fwltheme.cpp index b7f23e3e9f..4d5b20e438 100644 --- a/xfa/fxfa/app/xfa_fwltheme.cpp +++ b/xfa/fxfa/app/xfa_fwltheme.cpp @@ -6,7 +6,7 @@ #include "xfa/fxfa/app/xfa_fwltheme.h" -#include "xfa/fde/tto/fde_textout.h" +#include "xfa/fde/cfde_textout.h" #include "xfa/fgas/crt/fgas_codepage.h" #include "xfa/fgas/font/cfgas_gefont.h" #include "xfa/fwl/cfwl_barcode.h" diff --git a/xfa/fxfa/cxfa_widgetacc.cpp b/xfa/fxfa/cxfa_widgetacc.cpp index 863ab83e73..9fee6bd238 100644 --- a/xfa/fxfa/cxfa_widgetacc.cpp +++ b/xfa/fxfa/cxfa_widgetacc.cpp @@ -10,7 +10,7 @@ #include <vector> #include "third_party/base/stl_util.h" -#include "xfa/fde/tto/fde_textout.h" +#include "xfa/fde/cfde_textout.h" #include "xfa/fde/xml/fde_xml_imp.h" #include "xfa/fxfa/app/cxfa_textlayout.h" #include "xfa/fxfa/app/xfa_ffwidgetacc.h" |