Index: xfa/fde/tto/fde_textout.h |
diff --git a/xfa/fde/tto/fde_textout.h b/xfa/fde/tto/fde_textout.h |
index 4959f2bc6990266feacb56e83261e3b75470f8e7..14ca5e19bb728cfe7f1294a928bbd2f634270f1f 100644 |
--- a/xfa/fde/tto/fde_textout.h |
+++ b/xfa/fde/tto/fde_textout.h |
@@ -10,10 +10,10 @@ |
#include <memory> |
#include "core/fxge/include/fx_dib.h" |
+#include "core/fxge/include/fx_ge.h" |
#include "xfa/fde/fde_object.h" |
#include "xfa/fgas/crt/fgas_utils.h" |
#include "xfa/fgas/font/fgas_font.h" |
-#include "xfa/fgas/layout/fgas_textbreak.h" |
#define FDE_TTOSTYLE_Underline 0x0001 |
#define FDE_TTOSTYLE_Strikeout 0x0002 |
@@ -42,6 +42,7 @@ |
class CFDE_RenderDevice; |
class CFX_TxtBreak; |
+struct FX_TXTRUN; |
struct FDE_TTOPIECE { |
int32_t iStartChar; |
@@ -55,7 +56,8 @@ class CFDE_TTOLine : public CFX_Target { |
public: |
CFDE_TTOLine(); |
CFDE_TTOLine(const CFDE_TTOLine& ttoLine); |
- ~CFDE_TTOLine(); |
+ ~CFDE_TTOLine() override; |
+ |
int32_t AddPiece(int32_t index, const FDE_TTOPIECE& ttoPiece); |
int32_t GetSize() const; |
FDE_TTOPIECE* GetPtrAt(int32_t index); |