summaryrefslogtreecommitdiff
path: root/core/fpdfapi
diff options
context:
space:
mode:
Diffstat (limited to 'core/fpdfapi')
-rw-r--r--core/fpdfapi/edit/cpdf_creator.h (renamed from core/fpdfapi/fpdf_edit/cpdf_creator.h)6
-rw-r--r--core/fpdfapi/edit/cpdf_pagecontentgenerator.cpp (renamed from core/fpdfapi/fpdf_edit/cpdf_pagecontentgenerator.cpp)4
-rw-r--r--core/fpdfapi/edit/cpdf_pagecontentgenerator.h (renamed from core/fpdfapi/fpdf_edit/cpdf_pagecontentgenerator.h)6
-rw-r--r--core/fpdfapi/edit/editint.h (renamed from core/fpdfapi/fpdf_edit/editint.h)6
-rw-r--r--core/fpdfapi/edit/fpdf_edit_create.cpp (renamed from core/fpdfapi/fpdf_edit/fpdf_edit_create.cpp)8
-rw-r--r--core/fpdfapi/fpdf_page/fpdf_page_parser.cpp2
-rw-r--r--core/fpdfapi/fpdf_parser/cfdf_document.cpp2
7 files changed, 17 insertions, 17 deletions
diff --git a/core/fpdfapi/fpdf_edit/cpdf_creator.h b/core/fpdfapi/edit/cpdf_creator.h
index f81b043c60..5de3793eb5 100644
--- a/core/fpdfapi/fpdf_edit/cpdf_creator.h
+++ b/core/fpdfapi/edit/cpdf_creator.h
@@ -4,8 +4,8 @@
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
-#ifndef CORE_FPDFAPI_FPDF_EDIT_CPDF_CREATOR_H_
-#define CORE_FPDFAPI_FPDF_EDIT_CPDF_CREATOR_H_
+#ifndef CORE_FPDFAPI_EDIT_CPDF_CREATOR_H_
+#define CORE_FPDFAPI_EDIT_CPDF_CREATOR_H_
#include <memory>
@@ -98,4 +98,4 @@ class CPDF_Creator {
int32_t m_FileVersion;
};
-#endif // CORE_FPDFAPI_FPDF_EDIT_CPDF_CREATOR_H_
+#endif // CORE_FPDFAPI_EDIT_CPDF_CREATOR_H_
diff --git a/core/fpdfapi/fpdf_edit/cpdf_pagecontentgenerator.cpp b/core/fpdfapi/edit/cpdf_pagecontentgenerator.cpp
index 4a6944ba86..e5d9683da6 100644
--- a/core/fpdfapi/fpdf_edit/cpdf_pagecontentgenerator.cpp
+++ b/core/fpdfapi/edit/cpdf_pagecontentgenerator.cpp
@@ -4,9 +4,9 @@
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
-#include "core/fpdfapi/fpdf_edit/cpdf_pagecontentgenerator.h"
+#include "core/fpdfapi/edit/cpdf_pagecontentgenerator.h"
-#include "core/fpdfapi/fpdf_edit/cpdf_creator.h"
+#include "core/fpdfapi/edit/cpdf_creator.h"
#include "core/fpdfapi/fpdf_page/cpdf_image.h"
#include "core/fpdfapi/fpdf_page/cpdf_imageobject.h"
#include "core/fpdfapi/fpdf_page/cpdf_page.h"
diff --git a/core/fpdfapi/fpdf_edit/cpdf_pagecontentgenerator.h b/core/fpdfapi/edit/cpdf_pagecontentgenerator.h
index 8dfc6101e1..21b1b74fe9 100644
--- a/core/fpdfapi/fpdf_edit/cpdf_pagecontentgenerator.h
+++ b/core/fpdfapi/edit/cpdf_pagecontentgenerator.h
@@ -4,8 +4,8 @@
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
-#ifndef CORE_FPDFAPI_FPDF_EDIT_CPDF_PAGECONTENTGENERATOR_H_
-#define CORE_FPDFAPI_FPDF_EDIT_CPDF_PAGECONTENTGENERATOR_H_
+#ifndef CORE_FPDFAPI_EDIT_CPDF_PAGECONTENTGENERATOR_H_
+#define CORE_FPDFAPI_EDIT_CPDF_PAGECONTENTGENERATOR_H_
#include "core/fpdfapi/fpdf_parser/cpdf_document.h"
#include "core/fxcrt/fx_basic.h"
@@ -40,4 +40,4 @@ class CPDF_PageContentGenerator {
CFX_ArrayTemplate<CPDF_PageObject*> m_pageObjects;
};
-#endif // CORE_FPDFAPI_FPDF_EDIT_CPDF_PAGECONTENTGENERATOR_H_
+#endif // CORE_FPDFAPI_EDIT_CPDF_PAGECONTENTGENERATOR_H_
diff --git a/core/fpdfapi/fpdf_edit/editint.h b/core/fpdfapi/edit/editint.h
index ac10958f22..f1f88f8b09 100644
--- a/core/fpdfapi/fpdf_edit/editint.h
+++ b/core/fpdfapi/edit/editint.h
@@ -4,8 +4,8 @@
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
-#ifndef CORE_FPDFAPI_FPDF_EDIT_EDITINT_H_
-#define CORE_FPDFAPI_FPDF_EDIT_EDITINT_H_
+#ifndef CORE_FPDFAPI_EDIT_EDITINT_H_
+#define CORE_FPDFAPI_EDIT_EDITINT_H_
#include <vector>
@@ -74,4 +74,4 @@ class CPDF_XRefStream {
CFX_ByteTextBuf m_Buffer;
};
-#endif // CORE_FPDFAPI_FPDF_EDIT_EDITINT_H_
+#endif // CORE_FPDFAPI_EDIT_EDITINT_H_
diff --git a/core/fpdfapi/fpdf_edit/fpdf_edit_create.cpp b/core/fpdfapi/edit/fpdf_edit_create.cpp
index 1eb4286aa1..32395a8728 100644
--- a/core/fpdfapi/fpdf_edit/fpdf_edit_create.cpp
+++ b/core/fpdfapi/edit/fpdf_edit_create.cpp
@@ -4,11 +4,11 @@
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
-#include "core/fpdfapi/fpdf_edit/editint.h"
+#include "core/fpdfapi/edit/editint.h"
#include <vector>
-#include "core/fpdfapi/fpdf_edit/cpdf_creator.h"
+#include "core/fpdfapi/edit/cpdf_creator.h"
#include "core/fpdfapi/fpdf_parser/cpdf_array.h"
#include "core/fpdfapi/fpdf_parser/cpdf_crypto_handler.h"
#include "core/fpdfapi/fpdf_parser/cpdf_dictionary.h"
@@ -1935,7 +1935,7 @@ void CPDF_Creator::InitID(FX_BOOL bDefault) {
m_pIDArray->Add(pID1->Clone());
} else {
std::vector<uint8_t> buffer =
- PDF_GenerateFileID((uint32_t)(uintptr_t) this, m_dwLastObjNum);
+ PDF_GenerateFileID((uint32_t)(uintptr_t)this, m_dwLastObjNum);
CFX_ByteString bsBuffer(buffer.data(), buffer.size());
m_pIDArray->Add(new CPDF_String(bsBuffer, TRUE));
}
@@ -1950,7 +1950,7 @@ void CPDF_Creator::InitID(FX_BOOL bDefault) {
return;
}
std::vector<uint8_t> buffer =
- PDF_GenerateFileID((uint32_t)(uintptr_t) this, m_dwLastObjNum);
+ PDF_GenerateFileID((uint32_t)(uintptr_t)this, m_dwLastObjNum);
CFX_ByteString bsBuffer(buffer.data(), buffer.size());
m_pIDArray->Add(new CPDF_String(bsBuffer, TRUE));
return;
diff --git a/core/fpdfapi/fpdf_page/fpdf_page_parser.cpp b/core/fpdfapi/fpdf_page/fpdf_page_parser.cpp
index 5356e1f5b5..ccdc897e17 100644
--- a/core/fpdfapi/fpdf_page/fpdf_page_parser.cpp
+++ b/core/fpdfapi/fpdf_page/fpdf_page_parser.cpp
@@ -10,7 +10,7 @@
#include <utility>
#include <vector>
-#include "core/fpdfapi/fpdf_edit/cpdf_creator.h"
+#include "core/fpdfapi/edit/cpdf_creator.h"
#include "core/fpdfapi/fpdf_font/cpdf_font.h"
#include "core/fpdfapi/fpdf_font/cpdf_type3font.h"
#include "core/fpdfapi/fpdf_page/cpdf_allstates.h"
diff --git a/core/fpdfapi/fpdf_parser/cfdf_document.cpp b/core/fpdfapi/fpdf_parser/cfdf_document.cpp
index c8ed9edada..12d1e7f993 100644
--- a/core/fpdfapi/fpdf_parser/cfdf_document.cpp
+++ b/core/fpdfapi/fpdf_parser/cfdf_document.cpp
@@ -6,7 +6,7 @@
#include "core/fpdfapi/fpdf_parser/cfdf_document.h"
-#include "core/fpdfapi/fpdf_edit/cpdf_creator.h"
+#include "core/fpdfapi/edit/cpdf_creator.h"
#include "core/fpdfapi/fpdf_parser/cpdf_dictionary.h"
#include "core/fpdfapi/fpdf_parser/cpdf_syntax_parser.h"
#include "third_party/base/ptr_util.h"