1
0
mirror of https://github.com/pdf2htmlEX/pdf2htmlEX.git synced 2024-12-22 13:00:08 +00:00

reorganize files

This commit is contained in:
Lu Wang 2012-11-29 17:28:05 +08:00
parent db23e31e6a
commit 63287ce491
36 changed files with 51 additions and 48 deletions

View File

@ -5,7 +5,7 @@ set(CMAKE_BUILD_TYPE Release CACHE STRING "Build configuration (Debug, Release,
project(pdf2htmlEX) project(pdf2htmlEX)
cmake_minimum_required(VERSION 2.6.0 FATAL_ERROR) cmake_minimum_required(VERSION 2.6.0 FATAL_ERROR)
include_directories(${CMAKE_SOURCE_DIR}/src/include) include_directories(${CMAKE_SOURCE_DIR}/src)
set(PDF2HTMLEX_VERSION "0.6") set(PDF2HTMLEX_VERSION "0.6")
set(ARCHIVE_NAME pdf2htmlex-${PDF2HTMLEX_VERSION}) set(ARCHIVE_NAME pdf2htmlex-${PDF2HTMLEX_VERSION})
@ -138,37 +138,40 @@ if(NOT CXX0X_SUPPORT)
endif() endif()
configure_file (${CMAKE_SOURCE_DIR}/src/include/pdf2htmlEX-config.h.in ${CMAKE_SOURCE_DIR}/src/include/pdf2htmlEX-config.h) configure_file (${CMAKE_SOURCE_DIR}/src/pdf2htmlEX-config.h.in ${CMAKE_SOURCE_DIR}/src/pdf2htmlEX-config.h)
configure_file (${CMAKE_SOURCE_DIR}/pdf2htmlEX.1.in ${CMAKE_SOURCE_DIR}/pdf2htmlEX.1) configure_file (${CMAKE_SOURCE_DIR}/pdf2htmlEX.1.in ${CMAKE_SOURCE_DIR}/pdf2htmlEX.1)
add_executable(pdf2htmlEX add_executable(pdf2htmlEX
src/Param.h
src/config.h
src/pdf2htmlEX-config.h
src/pdf2htmlEX.cc src/pdf2htmlEX.cc
src/include/HTMLRenderer.h src/HTMLRenderer/HTMLRenderer.h
src/HTMLRenderer/general.cc
src/HTMLRenderer/state.cc
src/HTMLRenderer/install.cc
src/HTMLRenderer/export.cc
src/HTMLRenderer/text.cc
src/HTMLRenderer/image.cc
src/HTMLRenderer/draw.cc src/HTMLRenderer/draw.cc
src/HTMLRenderer/link.cc src/HTMLRenderer/export.cc
src/include/namespace.h src/HTMLRenderer/general.cc
src/HTMLRenderer/image.cc
src/HTMLRenderer/install.cc
src/HTMLRenderer/LineBuffer.cc src/HTMLRenderer/LineBuffer.cc
src/HTMLRenderer/TmpFiles.cc src/HTMLRenderer/link.cc
src/include/ffw.h src/HTMLRenderer/state.cc
src/ffw.c src/HTMLRenderer/text.cc
src/include/BackgroundRenderer.h src/HTMLRenderer/Preprocessor.h
src/include/SplashBackgroundRenderer.h src/HTMLRenderer/Preprocessor.cc
src/SplashBackgroundRenderer.cc src/BackgroundRenderer/BackgroundRenderer.h
src/include/CairoBackgroundRenderer.h src/BackgroundRenderer/SplashBackgroundRenderer.h
src/CairoBackgroundRenderer.cc src/BackgroundRenderer/SplashBackgroundRenderer.cc
src/include/Preprocessor.h src/BackgroundRenderer/CairoBackgroundRenderer.h
src/Preprocessor.cc src/BackgroundRenderer/CairoBackgroundRenderer.cc
src/include/util.h src/util/namespace.h
src/util.cc src/util/ffw.h
src/include/ArgParser.h src/util/ffw.c
src/ArgParser.cc src/util/util.h
src/include/pdf2htmlEX-config.h src/util/util.cc
src/util/TmpFiles.h
src/util/TmpFiles.cc
src/util/ArgParser.h
src/util/ArgParser.cc
) )
target_link_libraries(pdf2htmlEX ${PDF2HTMLEX_LIBS}) target_link_libraries(pdf2htmlEX ${PDF2HTMLEX_LIBS})

View File

@ -15,8 +15,8 @@
#include <splash/SplashBitmap.h> #include <splash/SplashBitmap.h>
#include <SplashOutputDev.h> #include <SplashOutputDev.h>
#include "HTMLRenderer.h"
#include "Param.h" #include "Param.h"
#include "HTMLRenderer/HTMLRenderer.h"
namespace pdf2htmlEX { namespace pdf2htmlEX {

View File

@ -25,9 +25,9 @@
#include <Annot.h> #include <Annot.h>
#include "Param.h" #include "Param.h"
#include "util.h"
#include "Preprocessor.h" #include "Preprocessor.h"
#include "TmpFiles.h" #include "util/util.h"
#include "util/TmpFiles.h"
/* /*
* Naming Convention * Naming Convention

View File

@ -10,7 +10,7 @@
#include <vector> #include <vector>
#include "HTMLRenderer.h" #include "HTMLRenderer.h"
#include "namespace.h" #include "util/namespace.h"
namespace pdf2htmlEX { namespace pdf2htmlEX {

View File

@ -15,7 +15,7 @@
#include <GfxFont.h> #include <GfxFont.h>
#include "Preprocessor.h" #include "Preprocessor.h"
#include "util.h" #include "util/util.h"
namespace pdf2htmlEX { namespace pdf2htmlEX {

View File

@ -14,8 +14,8 @@
#include <iostream> #include <iostream>
#include "HTMLRenderer.h" #include "HTMLRenderer.h"
#include "util.h" #include "util/util.h"
#include "namespace.h" #include "util/namespace.h"
namespace pdf2htmlEX { namespace pdf2htmlEX {

View File

@ -11,7 +11,7 @@
#include <cctype> #include <cctype>
#include "HTMLRenderer.h" #include "HTMLRenderer.h"
#include "namespace.h" #include "util/namespace.h"
namespace pdf2htmlEX { namespace pdf2htmlEX {

View File

@ -14,10 +14,10 @@
#include <vector> #include <vector>
#include "HTMLRenderer.h" #include "HTMLRenderer.h"
#include "BackgroundRenderer.h"
#include "namespace.h"
#include "ffw.h"
#include "pdf2htmlEX-config.h" #include "pdf2htmlEX-config.h"
#include "BackgroundRenderer/BackgroundRenderer.h"
#include "util/namespace.h"
#include "util/ffw.h"
namespace pdf2htmlEX { namespace pdf2htmlEX {

View File

@ -8,7 +8,7 @@
*/ */
#include "HTMLRenderer.h" #include "HTMLRenderer.h"
#include "namespace.h" #include "util/namespace.h"
namespace pdf2htmlEX { namespace pdf2htmlEX {

View File

@ -15,8 +15,8 @@
#include "Param.h" #include "Param.h"
#include "HTMLRenderer.h" #include "HTMLRenderer.h"
#include "namespace.h" #include "util/namespace.h"
#include "util.h" #include "util/util.h"
namespace pdf2htmlEX { namespace pdf2htmlEX {

View File

@ -11,10 +11,10 @@
#include <sstream> #include <sstream>
#include <algorithm> #include <algorithm>
#include <HTMLRenderer.h>
#include <Link.h> #include <Link.h>
#include "namespace.h" #include "HTMLRenderer.h"
#include "util/namespace.h"
namespace pdf2htmlEX { namespace pdf2htmlEX {

View File

@ -16,8 +16,8 @@
#include <algorithm> #include <algorithm>
#include "HTMLRenderer.h" #include "HTMLRenderer.h"
#include "namespace.h" #include "util/namespace.h"
#include "util.h" #include "util/util.h"
namespace pdf2htmlEX { namespace pdf2htmlEX {

View File

@ -15,9 +15,9 @@
#include <CharCodeToUnicode.h> #include <CharCodeToUnicode.h>
#include <fofi/FoFiTrueType.h> #include <fofi/FoFiTrueType.h>
#include "ffw.h"
#include "HTMLRenderer.h" #include "HTMLRenderer.h"
#include "namespace.h" #include "util/ffw.h"
#include "util/namespace.h"
namespace pdf2htmlEX { namespace pdf2htmlEX {

View File

@ -19,10 +19,10 @@
#include <PDFDocFactory.h> #include <PDFDocFactory.h>
#include <GlobalParams.h> #include <GlobalParams.h>
#include "HTMLRenderer.h"
#include "Param.h" #include "Param.h"
#include "pdf2htmlEX-config.h" #include "pdf2htmlEX-config.h"
#include "ArgParser.h" #include "HTMLRenderer/HTMLRenderer.h"
#include "util/ArgParser.h"
using namespace std; using namespace std;
using namespace pdf2htmlEX; using namespace pdf2htmlEX;