Commit 619782dd authored by Oleg.Korshul's avatar Oleg.Korshul Committed by Alexander Trofimov

мелкая правка дефайна

git-svn-id: svn://fileserver/activex/AVS/Sources/TeamlabOffice/trunk/ServerComponents@63669 954022d7-b5bf-4e40-9824-e11837661b57
parent 15bb295c
...@@ -39,3 +39,6 @@ make dependencies ...@@ -39,3 +39,6 @@ make dependencies
// make native // make native
CFLAGS="-fPIC" CXXFLAGS="-fPIC" make native CFLAGS="-fPIC" CXXFLAGS="-fPIC" make native
--------------------------------------------------------------------------------------------------------- ---------------------------------------------------------------------------------------------------------
# additionals
zlib: sudo apt-get install --reinstall zlibc zlib1g zlib1g-dev
\ No newline at end of file
...@@ -46,7 +46,7 @@ linux-g++:!contains(QMAKE_HOST.arch, x86_64):{ ...@@ -46,7 +46,7 @@ linux-g++:!contains(QMAKE_HOST.arch, x86_64):{
############# dynamic dependencies ############# ############# dynamic dependencies #############
shared { shared {
DEFINES += PDF_USE_DYNAMIC_LIBRARY DEFINES += HTMLRENDERER_USE_DYNAMIC_LIBRARY
LIBS += -L$$DESTDIR -lASCOfficeUtilsLib LIBS += -L$$DESTDIR -lASCOfficeUtilsLib
LIBS += -L$$DESTDIR -lgraphics LIBS += -L$$DESTDIR -lgraphics
......
#ifndef _ASC_HTMLRENDERER3_H_ #ifndef _ASC_HTMLRENDERER3_H_
#define _ASC_HTMLRENDERER3_H_ #define _ASC_HTMLRENDERER3_H_
#include "../../../DesktopEditor/graphics/IRenderer.h" #include "../../DesktopEditor/graphics/IRenderer.h"
#ifndef HTMLRENDERER_USE_DYNAMIC_LIBRARY
#define HTMLRENDERER_DECL_EXPORT
#else
#include "../../DesktopEditor/common/base_export.h"
#define HTMLRENDERER_DECL_EXPORT Q_DECL_EXPORT
#endif
namespace NSHtmlRenderer namespace NSHtmlRenderer
{ {
class CASCHTMLRenderer3_Private; class CASCHTMLRenderer3_Private;
class CASCHTMLRenderer3 : public IRenderer class HTMLRENDERER_DECL_EXPORT CASCHTMLRenderer3 : public IRenderer
{ {
public: public:
CASCHTMLRenderer3(); CASCHTMLRenderer3();
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
#define _ASC_HTMLRENDERER_CANVASWRITER_H_ #define _ASC_HTMLRENDERER_CANVASWRITER_H_
#include "Common.h" #include "Common.h"
#include "../../../DesktopEditor/graphics/GraphicsPath.h" #include "../../DesktopEditor/graphics/GraphicsPath.h"
namespace NSHtmlRenderer namespace NSHtmlRenderer
{ {
......
#ifndef _ASC_HTMLRENDERER_COMMON_H_ #ifndef _ASC_HTMLRENDERER_COMMON_H_
#define _ASC_HTMLRENDERER_COMMON_H_ #define _ASC_HTMLRENDERER_COMMON_H_
#include "../../../DesktopEditor/common/Types.h" #include "../../DesktopEditor/common/Types.h"
#include "../../../DesktopEditor/common/File.h" #include "../../DesktopEditor/common/File.h"
#include "../../../DesktopEditor/common/Directory.h" #include "../../DesktopEditor/common/Directory.h"
#include "../../../DesktopEditor/raster/BgraFrame.h" #include "../../DesktopEditor/raster/BgraFrame.h"
#include "../../../DesktopEditor/graphics/Matrix.h" #include "../../DesktopEditor/graphics/Matrix.h"
#include "../../../DesktopEditor/graphics/structures.h" #include "../../DesktopEditor/graphics/structures.h"
#include "../../../DesktopEditor/fontengine/ApplicationFonts.h" #include "../../DesktopEditor/fontengine/ApplicationFonts.h"
#include "../../../DesktopEditor/common/StringBuilder.h" #include "../../DesktopEditor/common/StringBuilder.h"
#include "../../../DesktopEditor/graphics/IRenderer.h" #include "../../DesktopEditor/graphics/IRenderer.h"
#include "../../../DesktopEditor/xml/include/xmlutils.h" #include "../../DesktopEditor/xml/include/xmlutils.h"
namespace NSHtmlRenderer namespace NSHtmlRenderer
{ {
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
#include "Common.h" #include "Common.h"
#include <vector> #include <vector>
#include "../../../DesktopEditor/graphics/GraphicsRenderer.h" #include "../../DesktopEditor/graphics/GraphicsRenderer.h"
namespace NSHtmlRenderer namespace NSHtmlRenderer
{ {
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
#include "Common.h" #include "Common.h"
#include <vector> #include <vector>
#include "../../../DesktopEditor/graphics/GraphicsPath.h" #include "../../DesktopEditor/graphics/GraphicsPath.h"
namespace NSHtmlRenderer namespace NSHtmlRenderer
{ {
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
#define _ASC_HTMLRENDERER_SVGWRITER2_H_ #define _ASC_HTMLRENDERER_SVGWRITER2_H_
#include "SVGWriter.h" #include "SVGWriter.h"
#include "../../../DesktopEditor/graphics/GraphicsRenderer.h" #include "../../DesktopEditor/graphics/GraphicsRenderer.h"
#define SVG_INLINE_MAX_SIZE 500000 // 500Kb #define SVG_INLINE_MAX_SIZE 500000 // 500Kb
#define SVG_TO_RASTER_MIN_SIZE 50000000 // 1Mb #define SVG_TO_RASTER_MIN_SIZE 50000000 // 1Mb
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
#define _ASC_HTMLRENDERER_TEXT_H_ #define _ASC_HTMLRENDERER_TEXT_H_
#include "FontManager.h" #include "FontManager.h"
#include "../../../Common/OfficeFileFormats.h" #include "../../Common/OfficeFileFormats.h"
#ifdef min #ifdef min
#undef min #undef min
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
#define _ASC_HTMLRENDERER_VGW_H_ #define _ASC_HTMLRENDERER_VGW_H_
#include "Common.h" #include "Common.h"
#include "../../../DesktopEditor/graphics/GraphicsPath.h" #include "../../DesktopEditor/graphics/GraphicsPath.h"
#include <vector> #include <vector>
namespace NSHtmlRenderer namespace NSHtmlRenderer
......
...@@ -3,11 +3,11 @@ ...@@ -3,11 +3,11 @@
#include "SVGWriter2.h" #include "SVGWriter2.h"
#include <map> #include <map>
#include "../../../DesktopEditor/xml/include/xmlutils.h" #include "../../DesktopEditor/xml/include/xmlutils.h"
#include "../../../DesktopEditor/common/CalculatorCRC32.h" #include "../../DesktopEditor/common/CalculatorCRC32.h"
#include "Text.h" #include "Text.h"
#include "Document.h" #include "Document.h"
#include "../../../DesktopEditor/fontengine/FontConverter.h" #include "../../DesktopEditor/fontengine/FontConverter.h"
namespace NSHtmlRenderer namespace NSHtmlRenderer
{ {
......
#include <QCoreApplication> #include <QCoreApplication>
#include "../../../PdfReader/PdfReader.h" #include "../../DesktopEditor/fontengine/ApplicationFonts.h"
#include "../../PdfReader/PdfReader.h"
#include "../include/HTMLRenderer3.h" #include "../include/HTMLRenderer3.h"
#include "../../../DesktopEditor/fontengine/ApplicationFonts.h"
int main(int argc, char *argv[]) int main(int argc, char *argv[])
{ {
......
...@@ -12,16 +12,19 @@ TARGET = test ...@@ -12,16 +12,19 @@ TARGET = test
CONFIG += console CONFIG += console
CONFIG -= app_bundle CONFIG -= app_bundle
DEFINES += PDFREADER_USE_DYNAMIC_LIBRARY
DEFINES += HTMLRENDERER_USE_DYNAMIC_LIBRARY
INCLUDEPATH += \ INCLUDEPATH += \
../../../DesktopEditor/freetype-2.5.2/include \ ../../DesktopEditor/freetype-2.5.2/include
TEMPLATE = app TEMPLATE = app
LIBS += -L../../../../SDK/lib/win_64/DEBUG -lASCOfficeUtilsLib LIBS += -L../../../SDK/lib/win_64/DEBUG -lASCOfficeUtilsLib
LIBS += -L../../../../SDK/lib/win_64/DEBUG -lgraphics LIBS += -L../../../SDK/lib/win_64/DEBUG -lgraphics
LIBS += -L../../../../SDK/lib/win_64/DEBUG -lHtmlRenderer LIBS += -L../../../SDK/lib/win_64/DEBUG -lHtmlRenderer
LIBS += -L../../../../SDK/lib/win_64/DEBUG -llibxml LIBS += -L../../../SDK/lib/win_64/DEBUG -llibxml
LIBS += -L../../../../SDK/lib/win_64/DEBUG -lPdfReader LIBS += -L../../../SDK/lib/win_64/DEBUG -lPdfReader
LIBS += -lgdi32 \ LIBS += -lgdi32 \
-ladvapi32 \ -ladvapi32 \
-luser32 \ -luser32 \
......
...@@ -7,11 +7,11 @@ class IRenderer; ...@@ -7,11 +7,11 @@ class IRenderer;
class CFontManager; class CFontManager;
class CApplicationFonts; class CApplicationFonts;
#ifndef PDF_USE_DYNAMIC_LIBRARY #ifndef PDFREADER_USE_DYNAMIC_LIBRARY
#define PDF_DECL_EXPORT #define PDFREADER_DECL_EXPORT
#else #else
#include "../DesktopEditor/common/base_export.h" #include "../DesktopEditor/common/base_export.h"
#define PDF_DECL_EXPORT Q_DECL_EXPORT #define PDFREADER_DECL_EXPORT Q_DECL_EXPORT
#endif #endif
namespace PdfReader namespace PdfReader
...@@ -20,7 +20,7 @@ namespace PdfReader ...@@ -20,7 +20,7 @@ namespace PdfReader
class GlobalParams; class GlobalParams;
class CFontList; class CFontList;
class PDF_DECL_EXPORT CPdfReader class PDFREADER_DECL_EXPORT CPdfReader
{ {
public: public:
......
...@@ -43,7 +43,7 @@ linux-g++:!contains(QMAKE_HOST.arch, x86_64):{ ...@@ -43,7 +43,7 @@ linux-g++:!contains(QMAKE_HOST.arch, x86_64):{
############# dynamic dependencies ############# ############# dynamic dependencies #############
shared { shared {
DEFINES += PDF_USE_DYNAMIC_LIBRARY DEFINES += PDFREADER_USE_DYNAMIC_LIBRARY
LIBS += -L$$DESTDIR -lASCOfficeUtilsLib LIBS += -L$$DESTDIR -lASCOfficeUtilsLib
LIBS += -L$$DESTDIR -lgraphics LIBS += -L$$DESTDIR -lgraphics
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment