summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2015-10-30 12:58:22 -0700
committerTom Sepez <tsepez@chromium.org>2015-10-30 12:58:22 -0700
commitf71d1e2295bc3d229a20e480c9da9265d2623eff (patch)
tree61cd41798f589570ac69a11ac914e2f97ea4c192
parentea6c0dae1f60bda40d820c242a5bcd79aa64192f (diff)
downloadpdfium-f71d1e2295bc3d229a20e480c9da9265d2623eff.tar.xz
XFA: Remove unused classes from fpdf_serial
R=thestig@chromium.org Review URL: https://codereview.chromium.org/1423343002 .
-rw-r--r--core/include/fpdfapi/fpdf_serial.h93
1 files changed, 0 insertions, 93 deletions
diff --git a/core/include/fpdfapi/fpdf_serial.h b/core/include/fpdfapi/fpdf_serial.h
index 0e317ff6d9..4a325341cb 100644
--- a/core/include/fpdfapi/fpdf_serial.h
+++ b/core/include/fpdfapi/fpdf_serial.h
@@ -13,99 +13,6 @@
class CPDF_ObjectStream;
class CPDF_XRefStream;
CFX_ByteTextBuf& operator<<(CFX_ByteTextBuf& buf, const CPDF_Object* pObj);
-class CPDF_ObjArchiveSaver : public CFX_ArchiveSaver {
- public:
- friend CPDF_ObjArchiveSaver& operator<<(CPDF_ObjArchiveSaver& ar,
- const CPDF_Object* pObj);
-
- protected:
- CFX_MapPtrToPtr m_ObjectMap;
-};
-class CPDF_ObjArchiveLoader : public CFX_ArchiveLoader {
- public:
- CPDF_ObjArchiveLoader(const uint8_t* pData, FX_DWORD dwSize)
- : CFX_ArchiveLoader(pData, dwSize), m_IndirectObjects(NULL) {}
-
- friend CPDF_ObjArchiveLoader& operator>>(CPDF_ObjArchiveLoader& ar,
- CPDF_Object*& pObj);
-
- protected:
- CPDF_IndirectObjects m_IndirectObjects;
-};
-class CPDF_PageArchiveSaver : public CPDF_ObjArchiveSaver {
- public:
- CPDF_PageArchiveSaver(CPDF_PageObjects* pPageObjs);
-
- friend CPDF_PageArchiveSaver& operator<<(CPDF_PageArchiveSaver& ar,
- CPDF_PageObject* pObj);
-
- friend CPDF_PageArchiveSaver& operator<<(CPDF_PageArchiveSaver& ar,
- CPDF_ClipPath clip_path);
-
- friend CPDF_PageArchiveSaver& operator<<(CPDF_PageArchiveSaver& ar,
- CPDF_GraphState graph_state);
-
- friend CPDF_PageArchiveSaver& operator<<(CPDF_PageArchiveSaver& ar,
- CPDF_TextState text_state);
-
- friend CPDF_PageArchiveSaver& operator<<(CPDF_PageArchiveSaver& ar,
- CPDF_ColorState color_state);
-
- friend CPDF_PageArchiveSaver& operator<<(CPDF_PageArchiveSaver& ar,
- CPDF_GeneralState general_state);
-
- protected:
- CPDF_ClipPath m_LastClipPath;
-
- CPDF_GraphState m_LastGraphState;
-
- CPDF_ColorState m_LastColorState;
-
- CPDF_TextState m_LastTextState;
-
- CPDF_GeneralState m_LastGeneralState;
-};
-class CPDF_PageArchiveLoader : public CPDF_ObjArchiveLoader {
- public:
- CPDF_PageArchiveLoader(CPDF_PageObjects* pPageObjs,
- const uint8_t* pData,
- FX_DWORD dwSize);
-
- friend CPDF_PageArchiveLoader& operator>>(CPDF_PageArchiveLoader& ar,
- CPDF_PageObject*& pObj);
-
- friend CPDF_PageArchiveLoader& operator>>(CPDF_PageArchiveLoader& ar,
- CPDF_ClipPath& clip_path);
-
- friend CPDF_PageArchiveLoader& operator>>(CPDF_PageArchiveLoader& ar,
- CPDF_GraphState& graph_state);
-
- friend CPDF_PageArchiveLoader& operator>>(CPDF_PageArchiveLoader& ar,
- CPDF_TextState& text_state);
-
- friend CPDF_PageArchiveLoader& operator>>(CPDF_PageArchiveLoader& ar,
- CPDF_ColorState& color_state);
-
- friend CPDF_PageArchiveLoader& operator>>(CPDF_PageArchiveLoader& ar,
- CPDF_GeneralState& general_state);
-
- protected:
- void PostProcColor(CPDF_Color& color);
-
- CPDF_Object* AddResource(CPDF_Object* pSrcObj, const FX_CHAR* type);
-
- CPDF_ClipPath m_LastClipPath;
-
- CPDF_GraphState m_LastGraphState;
-
- CPDF_ColorState m_LastColorState;
-
- CPDF_TextState m_LastTextState;
-
- CPDF_GeneralState m_LastGeneralState;
-
- CFX_MapPtrToPtr m_ObjectMap;
-};
#define FPDFCREATE_INCREMENTAL 1
#define FPDFCREATE_NO_ORIGINAL 2
#define FPDFCREATE_PROGRESSIVE 4