Index: core/fpdfdoc/cpvt_generateap.h |
diff --git a/core/fpdfdoc/cpvt_generateap.h b/core/fpdfdoc/cpvt_generateap.h |
index 924de40ed46a1ff481ebdf890e9e767cb6625013..1258643d3eb7b9ce7253ca6e607bef76e9700850 100644 |
--- a/core/fpdfdoc/cpvt_generateap.h |
+++ b/core/fpdfdoc/cpvt_generateap.h |
@@ -10,18 +10,11 @@ |
#include "core/fpdfdoc/cpvt_color.h" |
#include "core/fpdfdoc/cpvt_dash.h" |
#include "core/fpdfdoc/include/cpdf_variabletext.h" |
+#include "core/fpdfdoc/include/fpdf_doc.h" |
#include "core/fxcrt/include/fx_coordinates.h" |
#include "core/fxcrt/include/fx_string.h" |
#include "core/fxcrt/include/fx_system.h" |
-// border style |
-#define PBS_SOLID 0 |
-#define PBS_DASH 1 |
-#define PBS_BEVELED 2 |
-#define PBS_INSET 3 |
-#define PBS_UNDERLINED 4 |
-#define PBS_SHADOW 5 |
- |
class CPDF_Dictionary; |
class CPDF_Document; |
class IPVT_FontMap; |
@@ -48,7 +41,7 @@ class CPVT_GenerateAP { |
const CPVT_Color& color, |
const CPVT_Color& crLeftTop, |
const CPVT_Color& crRightBottom, |
- int32_t nStyle, |
+ BorderStyle nStyle, |
const CPVT_Dash& dash); |
static CFX_ByteString GenerateColorAP(const CPVT_Color& color, |
const FX_BOOL& bFillOrStroke); |