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

rearrange files

This commit is contained in:
Lu Wang 2012-09-10 13:08:47 +08:00
parent 236d3ff668
commit efd15e3735
9 changed files with 17 additions and 22 deletions

View File

@ -60,26 +60,25 @@ configure_file (${CMAKE_SOURCE_DIR}/src/include/pdf2htmlEX-config.h.in ${CMAKE_S
add_executable(pdf2htmlEX
src/pdf2htmlEX.cc
src/HTMLRenderer.h
src/include/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/namespace.h
src/include/namespace.h
src/HTMLRenderer/LineBuffer.cc
src/ff/ff.h
src/ff/ff.c
src/BackgroundRenderer.h
src/include/ff.h
src/ff.c
src/include/BackgroundRenderer.h
src/BackgroundRenderer.cc
src/FontPreprocessor.h
src/include/FontPreprocessor.h
src/FontPreprocessor.cc
src/Consts.h
src/Consts.cc
src/util.h
src/include/util.h
src/util.cc
src/config.h)
src/include/pdf2htmlEX-config.h
)
target_link_libraries(pdf2htmlEX ${POPPLER_LIBRARIES} ${Boost_LIBRARIES} ${FONTFORGE_LIBRARIES} ${PYTHON_LIBRARIES})

View File

@ -10,7 +10,7 @@
#include <vector>
#include "HTMLRenderer.h"
#include "HTMLRenderer/namespace.h"
#include "namespace.h"
using std::min;
using std::max;

View File

@ -12,7 +12,6 @@
#include "HTMLRenderer.h"
#include "namespace.h"
#include "config.h"
void HTMLRenderer::export_remote_font(const FontInfo & info, const string & suffix, const string & fontfileformat, GfxFont * font)
{

View File

@ -13,9 +13,9 @@
#include "HTMLRenderer.h"
#include "BackgroundRenderer.h"
#include "config.h"
#include "namespace.h"
#include "ff/ff.h"
#include "ff.h"
#include "pdf2htmlEX-config.h"
using std::fixed;
using std::flush;

View File

@ -15,10 +15,9 @@
#include <CharCodeToUnicode.h>
#include <fofi/FoFiTrueType.h>
#include "ff/ff.h"
#include "ff.h"
#include "HTMLRenderer.h"
#include "namespace.h"
#include "config.h"
using std::unordered_set;
using std::min;

View File

@ -6,8 +6,8 @@
*/
#ifndef CONFIG_H__
#define CONFIG_H__
#ifndef PDF2HTMLEX_CONFIG_H__
#define PDF2HTMLEX_CONFIG_H__
#include <string>
@ -16,4 +16,4 @@ static const std::string PDF2HTMLEX_PREFIX = "@CMAKE_INSTALL_PREFIX@";
static const std::string PDF2HTMLEX_DATA_PATH = "@CMAKE_INSTALL_PREFIX@""/share/pdf2htmlEX";
#endif //CONFIG_H__
#endif //PDF2HTMLEX_CONFIG_H__

View File

@ -19,8 +19,6 @@
#include <UTF8.h>
#include "Consts.h"
using std::istream;
using std::ostream;
using std::max;

View File

@ -23,7 +23,7 @@
#include "HTMLRenderer.h"
#include "Param.h"
#include "config.h"
#include "pdf2htmlEX-config.h"
namespace po = boost::program_options;
using namespace std;