From e5370989ddef7dacecc6673db6fee04af899ad2e Mon Sep 17 00:00:00 2001 From: "Elena.Subbotina" Date: Fri, 15 Dec 2023 18:18:19 +0300 Subject: [PATCH] del unused --- .../Document/BinWriter/BinReaderWriterDefines.h | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) diff --git a/OOXML/Binary/Document/BinWriter/BinReaderWriterDefines.h b/OOXML/Binary/Document/BinWriter/BinReaderWriterDefines.h index c8a52ad60f..fa5219571e 100644 --- a/OOXML/Binary/Document/BinWriter/BinReaderWriterDefines.h +++ b/OOXML/Binary/Document/BinWriter/BinReaderWriterDefines.h @@ -35,18 +35,9 @@ namespace BinDocxRW { const double eps = 0.001; -const int g_tabtype_left = 0; -const int g_tabtype_right = 1; -const int g_tabtype_center = 2; -const int g_tabtype_clear = 3; - const int border_None = 0x0000; const int border_Single = 0x0001; -const int heightrule_AtLeast = 0x00; -const int heightrule_Auto = 0x01; -const int heightrule_Exact = 0x02; - const int align_Right = 0; const int align_Left = 1; const int align_Center = 2; @@ -76,10 +67,6 @@ const int styletype_Numbering = 0x02; const int styletype_Paragraph = 0x03; const int styletype_Table = 0x04; -const int fieldstruct_none = 0; -const int fieldstruct_toc = 1; -const int fieldstruct_hyperlink = 2; - const double g_dKoef_mm_to_pt = 72 / (2.54 * 10); const double g_dKoef_mm_to_twips = 20 * g_dKoef_mm_to_pt; const double g_dKoef_mm_to_emu = 36000; @@ -87,9 +74,12 @@ const double g_dKoef_mm_to_eightpoint = 8 * g_dKoef_mm_to_pt; const double g_dKoef_mm_to_hps = 2 * g_dKoef_mm_to_pt; const static wchar_t* g_sFormatSignature = L"DOCY"; + const int g_nFormatVersion = 5; const int g_nFormatVersionNoBase64 = 10; + extern int g_nCurFormatVersion; + namespace c_oAscWrapStyle{enum c_oSerFormat { Inline = 0,