Commit 7ac1656a authored by Oleg.Korshul's avatar Oleg.Korshul Committed by Alexander Trofimov

удалил ненужное

git-svn-id: svn://fileserver/activex/AVS/Sources/TeamlabOffice/trunk/ServerComponents@64218 954022d7-b5bf-4e40-9824-e11837661b57
parent 4f33c2f0
......@@ -7648,12 +7648,6 @@ DesktopEditor/xml/libxml2/xstc svnc_tsvn_003alogminsize=5
DesktopEditor/xml/src svnc_tsvn_003alogminsize=5
DjVuFile/DjVuFileTest svnc_tsvn_003alogminsize=5
DjVuFile/libdjvu svnc_tsvn_003alogminsize=5
DoctRenderer/COMMON/Dlls/AVSGraphics.dll svn_mime_002dtype=application%2Foctet-stream
DoctRenderer/COMMON/Dlls/AVSOfficeFOFile.dll svn_mime_002dtype=application%2Foctet-stream
DoctRenderer/COMMON/Joiner/bin/Debug/Joiner.exe svn_mime_002dtype=application%2Foctet-stream
DoctRenderer/COMMON/JoinerPPT/bin/Debug/Joiner.exe svn_mime_002dtype=application%2Foctet-stream
DoctRenderer/COMMON/JoinerXLS/bin/Debug/Joiner.exe svn_mime_002dtype=application%2Foctet-stream
DoctRenderer/COMMON/TestConsole/Ionic.Zip.Reduced.dll svn_mime_002dtype=application%2Foctet-stream
/HtmlFile svnc_tsvn_003alogminsize=5
HtmlFile/Internal svnc_tsvn_003alogminsize=5
HtmlFile/Internal/src svnc_tsvn_003alogminsize=5
This diff is collapsed.
// stdafx.h : include file for standard system include files,
// or project specific include files that are used frequently,
// but are changed infrequently
#pragma once
#define _CRT_SECURE_NO_DEPRECATE 1
#define _CRT_NONSTDC_NO_DEPRECATE 1
#ifndef STRICT
#define STRICT
#endif
// Modify the following defines if you have to target a platform prior to the ones specified below.
// Refer to MSDN for the latest info on corresponding values for different platforms.
#ifndef WINVER // Allow use of features specific to Windows 95 and Windows NT 4 or later.
#define WINVER 0x0500 // Change this to the appropriate value to target Windows 98 and Windows 2000 or later.
#endif
#ifndef _WIN32_WINNT // Allow use of features specific to Windows NT 4 or later.
#define _WIN32_WINNT 0x0400 // Change this to the appropriate value to target Windows 2000 or later.
#endif
#ifndef _WIN32_WINDOWS // Allow use of features specific to Windows 98 or later.
#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later.
#endif
#ifndef _WIN32_IE // Allow use of features specific to IE 4.0 or later.
#define _WIN32_IE 0x0400 // Change this to the appropriate value to target IE 5.0 or later.
#endif
#define _ATL_APARTMENT_THREADED
//#define _ATL_NO_AUTOMATIC_NAMESPACE
#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit
// turns off ATL's hiding of some common and often safely ignored warning messages
#define _ATL_ALL_WARNINGS
#include <atlbase.h>
#include <atlcom.h>
#include <atlwin.h>
#include <atltypes.h>
#include <atlctl.h>
#include <atlhost.h>
#include <atlcoll.h>
#include <atldefine.h>
#include "Gdiplus.h"
#pragma comment(lib, "gdiplus.lib")
// FreeType
#include <ft2build.h>
#include FT_FREETYPE_H
//#ifdef _VS_2005
#pragma comment (lib, "Objects\\Font\\FreeType\\freetype242_vs2005.lib")
//#pragma comment (lib, "Objects\\Font\\FreeType\\freetype242_vs2005.lib")
//#endif
//
//#ifdef _VS_2008
//#pragma comment (lib, "FreeType\\freetype2312.lib")
//#endif
//#define AVS_CXIMAGE_USE
#define CXIMAGE_SUPPORT_ALPHA
#ifdef AVS_CXIMAGE_USE
#pragma comment (lib, "Expat\\lib\\libexpat.lib")
#pragma comment (lib, "cximage\\zlib\\Release\\zlib.lib")
#pragma comment (lib, "cximage\\tiff\\Release\\Tiff.lib")
#pragma comment (lib, "cximage\\png\\Release\\png.lib")
#pragma comment (lib, "cximage\\mng\\Release\\mng.lib")
#pragma comment (lib, "cximage\\jpeg\\Release\\Jpeg.lib")
#pragma comment (lib, "cximage\\jbig\\Release\\jbig.lib")
#pragma comment (lib, "cximage\\jasper\\Release\\jasper.lib")
#pragma comment (lib, "cximage\\raw\\Release\\libdcr.lib")
#pragma comment (lib, "cximage\\CxImage\\Release\\cximage.lib")
#endif
#pragma comment (lib, "cximage\\zlib\\Release\\zlib.lib")
#ifdef _DEBUG
#pragma comment (lib, "Debug\\agg2d.lib")
#else
#pragma comment (lib, "Release\\agg2d.lib")
#endif
#define _AVS_GRAPHICS_
using namespace ATL;
#include "..\..\AVSVideoStudio3\Common\AVSUtils.h"
#import "..\..\..\Redist\AVSMediaCore3.dll" named_guids raw_interfaces_only rename_namespace("MediaCore"), exclude("tagRECT")
#import "..\..\..\Redist\AVSMediaFormatSettings3.dll" named_guids raw_interfaces_only rename_namespace("MediaFormat"), exclude("tagRECT")
#import "..\..\..\Redist\AVSImageStudio3.dll" named_guids raw_interfaces_only rename_namespace("ImageStudio")
#import "..\..\..\Redist\AVSOfficeStudio\AVSOfficeUniversalConverter.dll" named_guids raw_interfaces_only rename_namespace("DocConverter")
#import "..\..\TeamlabOffice\trunk\ServerComponents\Redist\ASCOfficeDocxFile2.dll" named_guids raw_interfaces_only rename_namespace("Docx2")
#import "..\..\TeamlabOffice\trunk\ServerComponents\Redist\DoctRenderer.dll" named_guids raw_interfaces_only rename_namespace("DoctRenderer")
This diff is collapsed.
// stdafx.h : include file for standard system include files,
// or project specific include files that are used frequently,
// but are changed infrequently
#pragma once
#ifndef STRICT
#define STRICT
#endif
// Modify the following defines if you have to target a platform prior to the ones specified below.
// Refer to MSDN for the latest info on corresponding values for different platforms.
#ifndef WINVER // Allow use of features specific to Windows 95 and Windows NT 4 or later.
#define WINVER 0x0500 // Change this to the appropriate value to target Windows 98 and Windows 2000 or later.
#endif
#ifndef _WIN32_WINNT // Allow use of features specific to Windows NT 4 or later.
#define _WIN32_WINNT 0x0500 // Change this to the appropriate value to target Windows 2000 or later.
#endif
#ifndef _WIN32_WINDOWS // Allow use of features specific to Windows 98 or later.
#define _WIN32_WINDOWS 0x0510 // Change this to the appropriate value to target Windows Me or later.
#endif
#ifndef _WIN32_IE // Allow use of features specific to IE 4.0 or later.
#define _WIN32_IE 0x0501 // Change this to the appropriate value to target IE 5.0 or later.
#endif
#define _ATL_APARTMENT_THREADED
#define _ATL_NO_AUTOMATIC_NAMESPACE
#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit
// turns off ATL's hiding of some common and often safely ignored warning messages
#define _ATL_ALL_WARNINGS
#include <atlbase.h>
#include <atlcom.h>
#include <atlwin.h>
#include <atltypes.h>
#include <atlctl.h>
#include <atlhost.h>
#include <string>
#include <iostream>
#include <sstream>
#include <fstream>
#include "utils\stringutils.h"
//#include <boost/algorithm/string.hpp>
#include "config.h"
#include "xmllite.h"
#pragma comment(lib,"xmllite.lib")
#if (MS_XML_VERSION == 6)
#include "msxml6.h"
#define DOMDOCUMENT DOMDocument60
#define IXMLDOMDOCUMENT IXMLDOMDocument3
#elif (MS_XML_VERSION == 4)
#include "msxml2.h"
#define DOMDOCUMENT DOMDocument40
#define IXMLDOMDOCUMENT IXMLDOMDocument2
#else
#error Invalid MS_XML_VERSION
#endif
#define CHECK_HR(HR) if FAILED(hr = (HR)) return hr;
#import "..\..\..\Redist\AVSMediaCore3.dll" named_guids raw_interfaces_only rename_namespace("MediaCore"), exclude("tagRECT")
using namespace ATL;
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="3.5" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProductVersion>9.0.21022</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{44F7AE26-3218-4A27-BEF7-0FC1B2AE9CB7}</ProjectGuid>
<OutputType>Exe</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>Joiner</RootNamespace>
<AssemblyName>Joiner</AssemblyName>
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Core">
<RequiredTargetFramework>3.5</RequiredTargetFramework>
</Reference>
<Reference Include="System.Xml.Linq">
<RequiredTargetFramework>3.5</RequiredTargetFramework>
</Reference>
<Reference Include="System.Data.DataSetExtensions">
<RequiredTargetFramework>3.5</RequiredTargetFramework>
</Reference>
<Reference Include="System.Data" />
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
</Project>
\ No newline at end of file

Microsoft Visual Studio Solution File, Format Version 10.00
# Visual Studio 2008
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Joiner", "Joiner.csproj", "{44F7AE26-3218-4A27-BEF7-0FC1B2AE9CB7}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{44F7AE26-3218-4A27-BEF7-0FC1B2AE9CB7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{44F7AE26-3218-4A27-BEF7-0FC1B2AE9CB7}.Debug|Any CPU.Build.0 = Debug|Any CPU
{44F7AE26-3218-4A27-BEF7-0FC1B2AE9CB7}.Release|Any CPU.ActiveCfg = Release|Any CPU
{44F7AE26-3218-4A27-BEF7-0FC1B2AE9CB7}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
namespace Joiner
{
class Program
{
static void Main(string[] args)
{
string strApplication = Directory.GetCurrentDirectory();
strApplication = Path.GetDirectoryName(strApplication);
strApplication = Path.GetDirectoryName(strApplication);
strApplication = Path.GetDirectoryName(strApplication);
strApplication = Path.GetDirectoryName(strApplication);
strApplication = Path.GetDirectoryName(strApplication);
strApplication = Path.GetDirectoryName(strApplication);
string strRoot = strApplication + "\\OfficeWeb\\";
List<string> files = new List<string>();
string[] arrFilesConfig = {
"Common/3rdparty/jquery/jquery.min.js",
"Common/3rdparty/Underscore/underscore-min.js",
"Common/3rdparty/Sockjs/sockjs-0.3.min.js",
"Common/3rdparty/XRegExp/xregexp-all-min.js",
"Common/3rdparty/jszip/jszip.min.js",
"Common/3rdparty/jszip-utils/jszip-utils.min.js",
"Common/AllFonts.js",
"Common/Build/License.js",
"Common/browser.js",
"Common/docscoapicommon.js",
"Common/docscoapi.js",
"Common/apiCommon.js",
"Common/spellcheckapi.js",
"Common/wordcopypaste.js",
"Common/spellCheckLanguage.js",
"Common/spellCheckLanguagesAll.js",
"Common/downloaderfiles.js",
"Common/commonDefines.js",
"Common/editorscommon.js",
"Common/Shapes/Serialize.js",
"Common/Shapes/SerializeWriter.js",
"Common/SerializeCommonWordExcel.js",
"Common/SerializeChart.js",
"Common/Drawings/Format/Constants.js",
"Common/Drawings/Format/Format.js",
"Common/trackFile.js",
"Common/FontsFreeType/font_engine.js",
"Common/FontsFreeType/FontFile.js",
"Common/FontsFreeType/FontManager.js",
"Common/FontsFreeType/font_map.js",
"Word/Drawing/Externals.js",
"Word/Drawing/GlobalLoaders.js",
"Word/Drawing/translations.js",
"Common/Charts/charts.js",
"Common/Charts/ChartsDrawer.js",
"Common/Charts/DrawingArea.js",
"Common/Charts/DrawingObjects.js",
"Common/NumFormat.js",
"Common/Drawings/TrackObjects/AdjustmentTracks.js",
"Common/Drawings/TrackObjects/MoveTracks.js",
"Common/Drawings/TrackObjects/NewShapeTracks.js",
"Common/Drawings/TrackObjects/PolyLine.js",
"Common/Drawings/TrackObjects/ResizeTracks.js",
"Common/Drawings/TrackObjects/RotateTracks.js",
"Common/Drawings/TrackObjects/Spline.js",
"Common/Drawings/ArcTo.js",
"Common/Drawings/ColorArray.js",
"Common/Drawings/CommonController.js",
"Common/Drawings/DrawingObjectsHandlers.js",
"Common/Drawings/Hit.js",
"Common/Drawings/Joined.js",
"Common/Drawings/Math.js",
"Common/Drawings/Format/Shape.js",
"Common/Drawings/Format/Image.js",
"Common/Drawings/Format/GroupShape.js",
"Common/Drawings/Format/ChartSpace.js",
"Common/Drawings/Format/ChartFormat.js",
"Common/Drawings/Format/CreateGeometry.js",
"Common/Drawings/Format/Geometry.js",
"Common/Drawings/Format/Path.js",
"Common/Drawings/Format/TextBody.js",
"Common/Drawings/TextDrawer.js",
"Word/Editor/GraphicObjects/Format/ShapePrototype.js",
"Word/Editor/GraphicObjects/Format/ImagePrototype.js",
"Word/Editor/GraphicObjects/Format/GroupPrototype.js",
"Word/Editor/GraphicObjects/Format/ChartSpacePrototype.js",
"PowerPoint/Editor/Format/GraphicFrame.js",
"Word/Editor/GraphicObjects/DrawingStates.js",
"Word/Editor/GraphicObjects/GraphicObjects.js",
"Word/Editor/GraphicObjects/GraphicPage.js",
"Word/Editor/GraphicObjects/WrapManager.js",
"Word/Editor/CollaborativeEditing.js",
"Word/Editor/Comments.js",
"Word/Editor/History.js",
"Word/Editor/Styles.js",
"Word/Editor/FlowObjects.js",
"Word/Editor/ParagraphContent.js",
"Word/Editor/ParagraphContentBase.js",
"Word/Editor/Hyperlink.js",
"Word/Editor/Field.js",
"Word/Editor/Run.js",
"Word/Editor/Math.js",
"Word/Editor/Paragraph.js",
"Word/Editor/Paragraph_Recalculate.js",
"Word/Editor/Sections.js",
"Word/Editor/Numbering.js",
"Word/Editor/HeaderFooter.js",
"Word/Editor/Document.js",
"Word/Editor/Common.js",
"Word/Editor/DocumentContent.js",
"Word/Editor/Table.js",
"Word/Editor/Serialize2.js",
"Word/Editor/Search.js",
"Word/Editor/FontClassification.js",
"Word/Editor/Spelling.js",
"Word/Drawing/Graphics.js",
"Word/Drawing/Overlay.js",
"Word/Drawing/HatchPattern.js",
"Word/Drawing/ShapeDrawer.js",
"Word/Drawing/Metafile.js",
"Word/Drawing/DrawingDocument.js",
"Word/Drawing/GraphicsEvents.js",
"Common/Scrolls/iscroll.js",
"Word/Drawing/WorkEvents.js",
"Common/Controls.js",
"Word/Drawing/Rulers.js",
"Word/Drawing/HtmlPage.js",
"Word/Drawing/documentrenderer.js",
"Common/scroll.js",
"Word/Editor/SerializeCommon.js",
"Word/apiDefines.js",
"Word/document/empty.js",
"Word/Math/mathTypes.js",
"Word/Math/mathText.js",
"Word/Math/mathContent.js",
"Word/Math/base.js",
"Word/Math/fraction.js",
"Word/Math/degree.js",
"Word/Math/matrix.js",
"Word/Math/limit.js",
"Word/Math/nary.js",
"Word/Math/radical.js",
"Word/Math/operators.js",
"Word/Math/accent.js",
"Word/Math/borderBox.js",
"Excel/utils/utils.js",
"Excel/model/CellComment.js",
"Excel/model/Serialize.js",
"Excel/model/WorkbookElems.js",
"Excel/model/Workbook.js",
"Excel/model/CellInfo.js",
"Excel/model/AdvancedOptions.js",
"Common/Locks.js",
"Common/Shapes/EditorSettings.js",
"Word/apiCommon.js",
"Word/api.js"
};
if (true)
{
files.Clear();
for (int i = 0; i < arrFilesConfig.Length; ++i)
{
files.Add(arrFilesConfig[i]);
}
}
StringBuilder oBuilder = new StringBuilder();
for (int i = 0; i < files.Count; i++)
{
StreamReader oReader = new StreamReader(strRoot + files[i]);
oBuilder.Append(oReader.ReadToEnd());
oBuilder.Append("\n\n");
}
string strDestPath = strApplication + "\\OfficeWeb\\Word\\sdk-all.js";
StreamWriter oWriter = new StreamWriter(strDestPath, false, Encoding.UTF8);
oWriter.Write(oBuilder.ToString());
oWriter.Close();
}
}
}
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Joiner")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Ascensio System SIA")]
[assembly: AssemblyProduct("Joiner")]
[assembly: AssemblyCopyright("Ascensio System SIA Copyright (c) 2013")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]
// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("0e989b01-1ac4-4bc9-8346-c19b89b47389")]
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="3.5" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProductVersion>9.0.21022</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{44F7AE26-3218-4A27-BEF7-0FC1B2AE9CB7}</ProjectGuid>
<OutputType>Exe</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>Joiner</RootNamespace>
<AssemblyName>Joiner</AssemblyName>
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Core">
<RequiredTargetFramework>3.5</RequiredTargetFramework>
</Reference>
<Reference Include="System.Xml.Linq">
<RequiredTargetFramework>3.5</RequiredTargetFramework>
</Reference>
<Reference Include="System.Data.DataSetExtensions">
<RequiredTargetFramework>3.5</RequiredTargetFramework>
</Reference>
<Reference Include="System.Data" />
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
</Project>
\ No newline at end of file

Microsoft Visual Studio Solution File, Format Version 10.00
# Visual Studio 2008
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Joiner", "Joiner.csproj", "{44F7AE26-3218-4A27-BEF7-0FC1B2AE9CB7}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{44F7AE26-3218-4A27-BEF7-0FC1B2AE9CB7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{44F7AE26-3218-4A27-BEF7-0FC1B2AE9CB7}.Debug|Any CPU.Build.0 = Debug|Any CPU
{44F7AE26-3218-4A27-BEF7-0FC1B2AE9CB7}.Release|Any CPU.ActiveCfg = Release|Any CPU
{44F7AE26-3218-4A27-BEF7-0FC1B2AE9CB7}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
namespace Joiner
{
class Program
{
static void Main(string[] args)
{
string strApplication = Directory.GetCurrentDirectory();
strApplication = Path.GetDirectoryName(strApplication);
strApplication = Path.GetDirectoryName(strApplication);
strApplication = Path.GetDirectoryName(strApplication);
strApplication = Path.GetDirectoryName(strApplication);
strApplication = Path.GetDirectoryName(strApplication);
strApplication = Path.GetDirectoryName(strApplication);
string strRoot = strApplication + "\\OfficeWeb\\";
List<string> files = new List<string>();
string[] arrFilesConfig = {
"Common/Build/License.js",
"Common/browser.js",
"Common/FontsFreeType/font_engine.js",
"Common/FontsFreeType/FontFile.js",
"Common/FontsFreeType/FontManager.js",
"Common/FontsFreeType/font_map.js",
"Word/Drawing/Externals.js",
"Word/Drawing/GlobalLoaders.js",
"Common/commonDefines.js",
"Common/apiCommon.js",
"Common/downloaderfiles.js",
"Common/docscoapicommon.js",
"Common/docscoapi.js",
"Common/docscoapisettings.js",
"Common/wordcopypaste.js",
"Common/editorscommon.js",
"PowerPoint/Drawing/ThemeLoader.js",
"Common/Charts/DrawingObjects.js",
"Common/SerializeCommonWordExcel.js",
"Common/SerializeChart.js",
"Common/Charts/charts.js",
"Common/Charts/ChartsDrawer.js",
"Common/Charts/DrawingArea.js",
"Common/NumFormat.js",
"Word/Editor/Serialize2.js",
"Common/trackFile.js",
"Word/Editor/Styles.js",
"Word/Editor/Numbering.js",
"Word/Drawing/Metafile.js",
"PowerPoint/Editor/CollaborativeEditing.js",
"Word/Drawing/GraphicsEvents.js",
"Word/Drawing/WorkEvents.js",
"Word/Drawing/Controls.js",
"Word/Drawing/Rulers.js",
"Word/Editor/Table.js",
"Word/Editor/Common.js",
"Word/Editor/Sections.js",
"Common/scroll.js",
"Word/Editor/History.js",
"Common/Drawings/Hit.js",
"Common/Drawings/States.js",
"Common/Drawings/DrawingObjectsHandlers.js",
"Common/Drawings/TrackObjects/AdjustmentTracks.js",
"Common/Drawings/TrackObjects/ResizeTracks.js",
"Common/Drawings/TrackObjects/RotateTracks.js",
"Common/Drawings/TrackObjects/NewShapeTracks.js",
"Common/Drawings/TrackObjects/PolyLine.js",
"Common/Drawings/TrackObjects/Spline.js",
"Common/Drawings/TrackObjects/MoveTracks.js",
"Word/Drawing/HatchPattern.js",
"Word/Drawing/Graphics.js",
"Word/Drawing/Private/Graphics.js",
"Word/Drawing/Overlay.js",
"Word/Drawing/ShapeDrawer.js",
"PowerPoint/Drawing/Transitions.js",
"PowerPoint/Drawing/DrawingDocument.js",
"PowerPoint/Drawing/HtmlPage.js",
"PowerPoint/apiDefines.js",
"Common/Drawings/Format/Constants.js",
"Common/Shapes/Serialize.js",
"Common/Shapes/SerializeWriter.js",
"Word/Editor/SerializeCommon.js",
"Common/Drawings/Math.js",
"Common/Drawings/ArcTo.js",
"Word/Drawing/ColorArray.js",
"PowerPoint/Editor/Format/Presentation.js",
"Common/Drawings/CommonController.js",
"Excel/view/DrawingObjectsController.js",
"PowerPoint/Editor/DrawingObjectsController.js",
"Common/Drawings/Format/Format.js",
"Common/Drawings/Format/CreateGeometry.js",
"Common/Drawings/Format/Geometry.js",
"Common/Drawings/Format/Path.js",
"Common/Drawings/Format/Shape.js",
"Common/Drawings/Format/Image.js",
"Common/Drawings/Format/GroupShape.js",
"Common/Drawings/Format/ChartSpace.js",
"Common/Drawings/Format/ChartFormat.js",
"Common/Drawings/Format/TextBody.js",
"PowerPoint/Editor/Format/Slide.js",
"PowerPoint/Editor/Format/SlideMaster.js",
"PowerPoint/Editor/Format/Layout.js",
"PowerPoint/Editor/Format/Comments.js",
"Word/Editor/Styles.js",
"Word/Editor/Numbering.js",
"Word/Editor/ParagraphContent.js",
"Word/Editor/ParagraphContentBase.js",
"Word/Editor/Hyperlink.js",
"Word/Editor/Field.js",
"Word/Editor/Run.js",
"Word/Math/mathTypes.js",
"Word/Math/mathText.js",
"Word/Math/mathContent.js",
"Word/Math/base.js",
"Word/Math/fraction.js",
"Word/Math/degree.js",
"Word/Math/matrix.js",
"Word/Math/limit.js",
"Word/Math/nary.js",
"Word/Math/radical.js",
"Word/Math/operators.js",
"Word/Math/accent.js",
"Word/Math/borderBox.js",
"Word/Editor/FlowObjects.js",
"Word/Editor/Paragraph.js",
"Word/Editor/Paragraph_Recalculate.js",
"Word/Editor/Document.js",
"Word/Editor/DocumentContent.js",
"Word/Editor/HeaderFooter.js",
"Word/Editor/Table.js",
"Word/Editor/Math.js",
"Word/Editor/Spelling.js",
"Word/Editor/Search.js",
"Word/Editor/FontClassification.js",
"PowerPoint/Editor/Format/ShapePrototype.js",
"PowerPoint/Editor/Format/ImagePrototype.js",
"PowerPoint/Editor/Format/GroupPrototype.js",
"PowerPoint/Editor/Format/ChartSpacePrototype.js",
"PowerPoint/Editor/Format/GraphicFrame.js",
"Excel/utils/utils.js",
"Excel/model/Serialize.js",
"Excel/model/WorkbookElems.js",
"Excel/model/Workbook.js",
"Excel/model/CellInfo.js",
"Excel/model/AdvancedOptions.js",
"Common/Private/Locks.js",
"Common/Shapes/EditorSettings.js",
"PowerPoint/themes/Themes.js",
"PowerPoint/apiDefines.js",
"Common/commonDefines.js",
"PowerPoint/api.js",
"PowerPoint/apiCommon.js"
};
if (true)
{
files.Clear();
for (int i = 0; i < arrFilesConfig.Length; ++i)
{
files.Add(arrFilesConfig[i]);
}
}
StringBuilder oBuilder = new StringBuilder();
for (int i = 0; i < files.Count; i++)
{
StreamReader oReader = new StreamReader(strRoot + files[i]);
oBuilder.Append(oReader.ReadToEnd());
oBuilder.Append("\n\n");
}
string strDestPath = strApplication + "\\OfficeWeb\\PowerPoint\\sdk-all.js";
StreamWriter oWriter = new StreamWriter(strDestPath, false, Encoding.UTF8);
oWriter.Write(oBuilder.ToString());
oWriter.Close();
}
}
}
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Joiner")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Ascensio System SIA")]
[assembly: AssemblyProduct("Joiner")]
[assembly: AssemblyCopyright("Ascensio System SIA Copyright (c) 2013")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]
// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("0e989b01-1ac4-4bc9-8346-c19b89b47389")]
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="3.5" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProductVersion>9.0.21022</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{44F7AE26-3218-4A27-BEF7-0FC1B2AE9CB7}</ProjectGuid>
<OutputType>Exe</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>Joiner</RootNamespace>
<AssemblyName>Joiner</AssemblyName>
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Core">
<RequiredTargetFramework>3.5</RequiredTargetFramework>
</Reference>
<Reference Include="System.Xml.Linq">
<RequiredTargetFramework>3.5</RequiredTargetFramework>
</Reference>
<Reference Include="System.Data.DataSetExtensions">
<RequiredTargetFramework>3.5</RequiredTargetFramework>
</Reference>
<Reference Include="System.Data" />
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
</Project>
\ No newline at end of file

Microsoft Visual Studio Solution File, Format Version 10.00
# Visual Studio 2008
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Joiner", "Joiner.csproj", "{44F7AE26-3218-4A27-BEF7-0FC1B2AE9CB7}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{44F7AE26-3218-4A27-BEF7-0FC1B2AE9CB7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{44F7AE26-3218-4A27-BEF7-0FC1B2AE9CB7}.Debug|Any CPU.Build.0 = Debug|Any CPU
{44F7AE26-3218-4A27-BEF7-0FC1B2AE9CB7}.Release|Any CPU.ActiveCfg = Release|Any CPU
{44F7AE26-3218-4A27-BEF7-0FC1B2AE9CB7}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal
This diff is collapsed.
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Joiner")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Ascensio System SIA")]
[assembly: AssemblyProduct("Joiner")]
[assembly: AssemblyCopyright("Ascensio System SIA Copyright (c) 2013")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]
// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("0e989b01-1ac4-4bc9-8346-c19b89b47389")]
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
This diff is collapsed.
var editor = undefined;
var window = new Object();
var navigator = new Object();
navigator.userAgent = "chrome";
window.navigator = navigator;
window.location = new Object();
window.location.protocol = "";
window.location.host = "";
window.location.href = "";
window.NATIVE_EDITOR_ENJINE = true;
window.NATIVE_EDITOR_ENJINE_SYNC_RECALC = true;
window.__fonts_files = __fonts_files;
window.__fonts_infos = __fonts_infos;
var document = new Object();
window.document = document;
function Image()
{
this.src = "";
this.onload = function()
{
}
this.onerror = function()
{
}
}
function _image_data()
{
this.data = null;
this.length = 0;
}
function native_context2d(parent)
{
this.canvas = parent;
this.globalAlpha = 0;
this.globalCompositeOperation = "";
this.fillStyle = "";
this.strokeStyle = "";
this.lineWidth = 0;
this.lineCap = 0;
this.lineJoin = 0;
this.miterLimit = 0;
this.shadowOffsetX = 0;
this.shadowOffsetY = 0;
this.shadowBlur = 0;
this.shadowColor = 0;
this.font = "";
this.textAlign = 0;
this.textBaseline = 0;
}
native_context2d.prototype =
{
save : function() {},
restore : function() {},
scale : function(x,y) {},
rotate : function(angle) {},
translate : function(x,y) {},
transform : function(m11,m12,m21,m22,dx,dy) {},
setTransform : function(m11,m12,m21,m22,dx,dy) {},
createLinearGradient : function(x0,y0,x1,y1) { return null; },
createRadialGradient : function(x0,y0,r0,x1,y1,r1) { return null; },
createPattern : function(image,repetition) { return null; },
clearRect : function(x,y,w,h) {},
fillRect : function(x,y,w,h) {},
strokeRect : function(x,y,w,h) {},
beginPath : function() {},
closePath : function() {},
moveTo : function(x,y) {},
lineTo : function(x,y) {},
quadraticCurveTo : function(cpx,cpy,x,y) {},
bezierCurveTo : function(cp1x,cp1y,cp2x,cp2y,x,y) {},
arcTo : function(x1,y1,x2,y2,radius) {},
rect : function(x,y,w,h) {},
arc : function(x,y,radius,startAngle,endAngle,anticlockwise) {},
fill : function() {},
stroke : function() {},
clip : function() {},
isPointInPath : function(x,y) {},
drawFocusRing : function(element,xCaret,yCaret,canDrawCustom) {},
fillText : function(text,x,y,maxWidth) {},
strokeText : function(text,x,y,maxWidth) {},
measureText : function(text) {},
drawImage : function(img_elem,dx_or_sx,dy_or_sy,dw_or_sw,dh_or_sh,dx,dy,dw,dh) {},
createImageData : function(imagedata_or_sw,sh)
{
var _data = new _image_data();
_data.length = imagedata_or_sw * sh * 4;
_data.data = new Uint8Array(imagedata_or_sw * sh * 4);
return _data;
},
getImageData : function(sx,sy,sw,sh) {},
putImageData : function(image_data,dx,dy,dirtyX,dirtyY,dirtyWidth,dirtyHeight) {}
};
function native_canvas()
{
this.id = "";
this.width = 300;
this.height = 150;
this.nodeType = 1;
}
native_canvas.prototype =
{
getContext : function(type)
{
if (type == "2d")
return new native_context2d(this);
return null;
},
toDataUrl : function(type)
{
return "";
},
addEventListener : function()
{
},
attr : function()
{
}
};
window["Asc"] = new Object();
var _null_object = new Object();
_null_object.length = 0;
_null_object.nodeType = 1;
_null_object.offsetWidth = 1;
_null_object.offsetHeight = 1;
_null_object.clientWidth = 1;
_null_object.clientHeight = 1;
_null_object.scrollWidth = 1;
_null_object.scrollHeight = 1;
_null_object.style = new Object();
_null_object.documentElement = _null_object;
_null_object.body = _null_object;
_null_object.ownerDocument = _null_object;
_null_object.defaultView = _null_object;
_null_object.addEventListener = function(){};
_null_object.setAttribute = function(){};
_null_object.getElementsByTagName = function() { return []; };
_null_object.appendChild = function() {};
_null_object.removeChild = function() {};
_null_object.insertBefore = function() {};
_null_object.childNodes = [];
_null_object.parent = _null_object;
_null_object.parentNode = _null_object;
_null_object.find = function() { return this; };
_null_object.appendTo = function() { return this; };
_null_object.css = function() { return this; };
_null_object.width = function() { return 0; };
_null_object.height = function() { return 0; };
_null_object.attr = function() { return this; };
_null_object.prop = function() { return this; };
_null_object.val = function() { return this; };
_null_object.remove = function() {};
_null_object.getComputedStyle = function() { return null; };
_null_object.getContext = function(type) {
if (type == "2d")
return new native_context2d(this);
return null;
};
window._null_object = _null_object;
document.createElement = function(type)
{
if (type && type.toLowerCase)
{
if (type.toLowerCase() == "canvas")
return new native_canvas();
}
return _null_object;
}
function _return_empty_html_element() { return _null_object; };
document.createDocumentFragment = _return_empty_html_element;
document.getElementsByTagName = function(tag) {
var ret = [];
if ("head" == tag)
ret.push(_null_object);
return ret;
};
document.insertBefore = function() {};
document.appendChild = function() {};
document.removeChild = function() {};
document.getElementById = function() { return _null_object; };
document.createComment = function() { return undefined; };
document.documentElement = _null_object;
document.body = _null_object;
var native = CreateNativeEngine();
window.native = native;
window["native"] = native;
window.native.v6a = window.native.GetFontBinary;
var native_renderer = null;
var _api = null;
var Asc = null;
function NativeOpenFile()
{
var doc_bin = window.native.GetFileString(g_file_path);
if (NATIVE_DOCUMENT_TYPE == "presentation" || NATIVE_DOCUMENT_TYPE == "document")
{
_api = new window["asc_docs_api"]("");
_api.asc_nativeOpenFile(doc_bin);
}
else
{
Asc = window["Asc"];
_api = new window["Asc"]["spreadsheet_api"];
var doc_bin = window.native.GetFileString(g_file_path);
_api.asc_nativeOpenFile(doc_bin);
}
}
function NativeCalculateFile()
{
_api.asc_nativeCalculateFile();
}
function NativeApplyChanges()
{
if (NATIVE_DOCUMENT_TYPE == "presentation" || NATIVE_DOCUMENT_TYPE == "document")
{
var __changes = [];
var _count_main = window.native.GetCountChanges();
for (var i = 0; i < _count_main; i++)
{
var _changes_file = window.native.GetChangesFile(i);
var _changes = JSON.parse(window.native.GetFileString(_changes_file));
for (var j = 0; j < _changes.length; j++)
{
__changes.push(_changes[j]);
}
}
_api.asc_nativeApplyChanges(__changes);
}
else
{
var __changes = [];
var _count_main = window.native.GetCountChanges();
for (var i = 0; i < _count_main; i++)
{
var _changes_file = window.native.GetChangesFile(i);
var _changes = JSON.parse(window.native.GetFileString(_changes_file));
for (var j = 0; j < _changes.length; j++)
{
__changes.push(_changes[j]);
}
}
_api.asc_nativeApplyChanges(__changes);
}
}
function NativeGetFileString()
{
return _api.asc_nativeGetFile();
}
function GetNativeCountPages()
{
return _api.asc_nativePrintPagesCount();
}
window.memory1 = null;
window.memory2 = null;
function GetNativePageBase64(pageIndex)
{
if (null == window.memory1)
window.memory1 = CreateNativeMemoryStream();
else
window.memory1.ClearNoAttack();
if (null == window.memory2)
window.memory2 = CreateNativeMemoryStream();
else
window.memory2.ClearNoAttack();
if (native_renderer == null)
{
native_renderer = _api.asc_nativeCheckPdfRenderer(window.memory1, window.memory2);
}
else
{
window.memory1.ClearNoAttack();
window.memory2.ClearNoAttack();
}
_api.asc_nativePrint(native_renderer, pageIndex);
return window.memory1;
}
function GetNativeId()
{
return window.native.GetFileId();
}
function clearTimeout() {};
function setTimeout() {};
function clearInterval() {};
function setInterval() {};
window.clearTimeout = clearTimeout;
window.setTimeout = setTimeout;
window.clearInterval = clearInterval;
window.setInterval = setInterval;
\ No newline at end of file
#pragma once
#include "stdafx.h"
#include "../Common/DocxFormat/Source/SystemUtility/File.h"
#define GUID_STRING_LEN 40
//#pragma comment(lib, "../../../../../../../v8/build/Debug/lib/icui18n.lib")
//#pragma comment(lib, "../../../../../../../v8/build/Debug/lib/icuuc.lib")
//#pragma comment(lib, "../../../../../../../v8/build/Debug/lib/v8_base.ia32.lib")
//#pragma comment(lib, "../../../../../../../v8/build/Debug/lib/v8_nosnapshot.ia32.lib")
//#pragma comment(lib, "../../../../../../../v8/build/Debug/lib/v8_snapshot.lib")
#ifdef _DEBUG
#pragma comment(lib, "../../../../../../v8_trunk/build/Debug/lib/icui18n.lib")
#pragma comment(lib, "../../../../../../v8_trunk/build/Debug/lib/icuuc.lib")
#pragma comment(lib, "../../../../../../v8_trunk/build/Debug/lib/v8_libbase.lib")
#pragma comment(lib, "../../../../../../v8_trunk/build/Debug/lib/v8_base.lib")
#pragma comment(lib, "../../../../../../v8_trunk/build/Debug/lib/v8_nosnapshot.lib")
#pragma comment(lib, "../../../../../../v8_trunk/build/Debug/lib/v8_snapshot.lib")
#pragma comment(lib, "../../../../../../v8_trunk/build/Debug/lib/v8_libplatform.lib")
#else
#pragma comment(lib, "../../../../../../v8_trunk/build/Release/lib/icui18n.lib")
#pragma comment(lib, "../../../../../../v8_trunk/build/Release/lib/icuuc.lib")
#pragma comment(lib, "../../../../../../v8_trunk/build/Release/lib/v8_libbase.lib")
#pragma comment(lib, "../../../../../../v8_trunk/build/Release/lib/v8_base.lib")
#pragma comment(lib, "../../../../../../v8_trunk/build/Release/lib/v8_nosnapshot.lib")
#pragma comment(lib, "../../../../../../v8_trunk/build/Release/lib/v8_snapshot.lib")
#pragma comment(lib, "../../../../../../v8_trunk/build/Release/lib/v8_libplatform.lib")
#endif
#include "../../../../../../v8_trunk/include/v8.h"
#include "../../../../../../v8_trunk/include/libplatform/libplatform.h"
class CMemoryStream
{
private:
//
BYTE* m_pBuffer;
BYTE* m_pBufferMem;
size_t m_lSize;
public:
CMemoryStream()
{
m_pBuffer = NULL;
m_pBufferMem = NULL;
m_lSize = 0;
}
~CMemoryStream()
{
RELEASEARRAYOBJECTS(m_pBuffer);
}
__forceinline BYTE* GetData()
{
return m_pBuffer;
}
__forceinline int GetSize()
{
return (int)(m_pBufferMem - m_pBuffer);
}
__forceinline void Clear()
{
m_lSize = 0;
m_pBuffer = NULL;
m_pBufferMem = NULL;
}
__forceinline void ClearNoAttack()
{
m_pBufferMem = m_pBuffer;
}
__forceinline void Copy(const CMemoryStream* pData, const size_t& nPos, const size_t& nLen)
{
CheckBufferSize(nLen);
memcpy(m_pBufferMem, pData->m_pBuffer + nPos, nLen);
m_pBufferMem += nLen;
};
__forceinline void CheckBufferSize(size_t lPlus)
{
if (NULL != m_pBuffer)
{
size_t nNewSize = (m_pBufferMem - m_pBuffer) + lPlus;
if (nNewSize >= m_lSize)
{
while (nNewSize >= m_lSize)
{
m_lSize *= 2;
}
BYTE* pNew = new BYTE[m_lSize];
memcpy(pNew, m_pBuffer, m_pBufferMem - m_pBuffer);
m_pBufferMem = pNew + (m_pBufferMem - m_pBuffer);
RELEASEARRAYOBJECTS(m_pBuffer);
m_pBuffer = pNew;
}
}
else
{
m_lSize = 1000;
m_pBuffer = new BYTE[m_lSize];
m_pBufferMem = m_pBuffer;
CheckBufferSize(lPlus);
}
}
__forceinline void WriteBYTE(const BYTE& lValue)
{
CheckBufferSize(sizeof(BYTE));
*m_pBufferMem = lValue;
m_pBufferMem += sizeof(BYTE);
}
__forceinline void WriteLONG(const LONG& lValue)
{
CheckBufferSize(sizeof(LONG));
*((LONG*)(m_pBufferMem)) = lValue;
m_pBufferMem += sizeof(LONG);
}
__forceinline void WriteDouble(const double& dValue)
{
CheckBufferSize(sizeof(double));
*((double*)(m_pBufferMem)) = dValue;
m_pBufferMem += sizeof(double);
}
__forceinline void WriteStringA(const char* pData, int nLen)
{
CheckBufferSize(nLen + sizeof(USHORT));
*((USHORT*)(m_pBufferMem)) = (USHORT)nLen;
m_pBufferMem += sizeof(USHORT);
memcpy(m_pBufferMem, pData, nLen);
m_pBufferMem += nLen;
}
__forceinline void WriteStringA2(const char* pData, int nLen)
{
CheckBufferSize(nLen + sizeof(LONG));
*((LONG*)(m_pBufferMem)) = (LONG)nLen;
m_pBufferMem += sizeof(LONG);
memcpy(m_pBufferMem, pData, nLen);
m_pBufferMem += nLen;
}
__forceinline void WriteString(const wchar_t* pData, int nLen)
{
CheckBufferSize(nLen + sizeof(USHORT));
*((USHORT*)(m_pBufferMem)) = (USHORT)nLen;
m_pBufferMem += sizeof(USHORT);
int nLen2 = nLen << 1;
memcpy(m_pBufferMem, pData, nLen2);
m_pBufferMem += nLen2;
}
__forceinline void WriteString2(const wchar_t* pData, int nLen)
{
int nLen2 = nLen << 1;
CheckBufferSize(nLen2 + sizeof(LONG));
*((LONG*)(m_pBufferMem)) = (LONG)nLen2;
m_pBufferMem += sizeof(LONG);
memcpy(m_pBufferMem, pData, nLen2);
m_pBufferMem += nLen2;
}
};
// wrap_methods -------------
CMemoryStream* unwrap_memorystream(v8::Handle<v8::Object> obj)
{
v8::Handle<v8::External> field = v8::Handle<v8::External>::Cast(obj->GetInternalField(0));
return static_cast<CMemoryStream*>(field->Value());
}
void _ms_write_byte(const v8::FunctionCallbackInfo<v8::Value>& args)
{
CMemoryStream* pNative = unwrap_memorystream(args.This());
BYTE arg = (BYTE)args[0]->Int32Value();
pNative->WriteBYTE(arg);
args.GetReturnValue().Set(v8::Undefined(v8::Isolate::GetCurrent()));
}
void _ms_write_bool(const v8::FunctionCallbackInfo<v8::Value>& args)
{
CMemoryStream* pNative = unwrap_memorystream(args.This());
BYTE arg = (BYTE)args[0]->BooleanValue();
pNative->WriteBYTE(arg ? 1 : 0);
args.GetReturnValue().Set(v8::Undefined(v8::Isolate::GetCurrent()));
}
void _ms_write_long(const v8::FunctionCallbackInfo<v8::Value>& args)
{
CMemoryStream* pNative = unwrap_memorystream(args.This());
LONG arg = (LONG)args[0]->Int32Value();
pNative->WriteLONG(arg);
args.GetReturnValue().Set(v8::Undefined(v8::Isolate::GetCurrent()));
}
void _ms_write_double(const v8::FunctionCallbackInfo<v8::Value>& args)
{
CMemoryStream* pNative = unwrap_memorystream(args.This());
double arg = (double)args[0]->NumberValue();
pNative->WriteLONG((LONG)(arg * 100000));
args.GetReturnValue().Set(v8::Undefined(v8::Isolate::GetCurrent()));
}
void _ms_writestring1(const v8::FunctionCallbackInfo<v8::Value>& args)
{
CMemoryStream* pNative = unwrap_memorystream(args.This());
v8::String::Value data(args[0]);
pNative->WriteString((wchar_t*)*data, data.length());
args.GetReturnValue().Set(v8::Undefined(v8::Isolate::GetCurrent()));
}
void _ms_writestring2(const v8::FunctionCallbackInfo<v8::Value>& args)
{
CMemoryStream* pNative = unwrap_memorystream(args.This());
v8::String::Value data(args[0]);
pNative->WriteString2((wchar_t*)*data, data.length());
args.GetReturnValue().Set(v8::Undefined(v8::Isolate::GetCurrent()));
}
void _ms_copy(const v8::FunctionCallbackInfo<v8::Value>& args)
{
CMemoryStream* pNative = unwrap_memorystream(args.This());
CMemoryStream* pNative2 = unwrap_memorystream(args[0]->ToObject());
size_t pos = (size_t)args[1]->Uint32Value();
size_t len = (size_t)args[2]->Uint32Value();
pNative->Copy(pNative2, pos, len);
args.GetReturnValue().Set(v8::Undefined(v8::Isolate::GetCurrent()));
}
void _ms_clearnoattack(const v8::FunctionCallbackInfo<v8::Value>& args)
{
CMemoryStream* pNative = unwrap_memorystream(args.This());
pNative->ClearNoAttack();
args.GetReturnValue().Set(v8::Undefined(v8::Isolate::GetCurrent()));
}
void _ms_pos(v8::Local<v8::String> name, const v8::PropertyCallbackInfo<v8::Value>& info)
{
CMemoryStream* pNative = unwrap_memorystream(info.Holder());
info.GetReturnValue().Set(v8::Integer::New(v8::Isolate::GetCurrent(), pNative->GetSize()));
}
v8::Handle<v8::ObjectTemplate> CreateMemoryStreamTemplate(v8::Isolate* isolate)
{
//v8::HandleScope handle_scope(isolate);
v8::Local<v8::ObjectTemplate> result = v8::ObjectTemplate::New();
result->SetInternalFieldCount(1); // CNativeControl
v8::Isolate* current = v8::Isolate::GetCurrent();
// property
result->SetAccessor(v8::String::NewFromUtf8(v8::Isolate::GetCurrent(), "pos"), _ms_pos); //
// -
result->Set(v8::String::NewFromUtf8(current, "Copy"), v8::FunctionTemplate::New(current, _ms_copy));
result->Set(v8::String::NewFromUtf8(current, "ClearNoAttack"), v8::FunctionTemplate::New(current, _ms_clearnoattack));
result->Set(v8::String::NewFromUtf8(current, "WriteByte"), v8::FunctionTemplate::New(current, _ms_write_byte));
result->Set(v8::String::NewFromUtf8(current, "WriteBool"), v8::FunctionTemplate::New(current, _ms_write_bool));
result->Set(v8::String::NewFromUtf8(current, "WriteLong"), v8::FunctionTemplate::New(current, _ms_write_long));
result->Set(v8::String::NewFromUtf8(current, "WriteDouble"), v8::FunctionTemplate::New(current, _ms_write_double));
result->Set(v8::String::NewFromUtf8(current, "WriteString"), v8::FunctionTemplate::New(current, _ms_writestring1));
result->Set(v8::String::NewFromUtf8(current, "WriteString2"), v8::FunctionTemplate::New(current, _ms_writestring2));
// , HandleScope
// "" HandleScope - handle_scope
//return handle_scope.Close(result);
return result;
}
<Settings>
<file>../../../OfficeWeb/Common/Native/native.js</file>
<file>../../../OfficeWeb/Common/Native/jquery_native.js</file>
<file>../../../OfficeWeb/Common/3rdparty/XRegExp/xregexp-all-min.js</file>
<file>../../../OfficeWeb/Common/AllFonts.js</file>
<DoctSdk>../../../OfficeWeb/Word/sdk-all.js</DoctSdk>
<PpttSdk>../../../OfficeWeb/PowerPoint/sdk-all.js</PpttSdk>
<XlstSdk>../../../OfficeWeb/Excel/sdk-all.js</XlstSdk>
</Settings>
\ No newline at end of file
// DoctRenderer.cpp : Implementation of DLL Exports.
#include "stdafx.h"
#include "resource.h"
#include "DoctRenderer.h"
// The module attribute causes DllMain, DllRegisterServer and DllUnregisterServer to be automatically implemented for you
[ module(dll, uuid = "{8AFF13BF-79BE-4682-89AF-2CA81245D3E9}",
name = "DoctRenderer",
helpstring = "DoctRenderer 1.0 Type Library",
resource_name = "IDR_DOCTRENDERER") ]
class CDoctRendererModule
{
public:
// Override CAtlDllModuleT members
};
This diff is collapsed.
//Microsoft Visual C++ generated resource script.
//
#include "resource.h"
#define COMPONENT_NAME "DoctRenderer"
#include "../Common/FileInfo.h"
#include "version.h"
#define APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 2 resource.
//
#include "winres.h"
/////////////////////////////////////////////////////////////////////////////
#undef APSTUDIO_READONLY_SYMBOLS
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_RUS)
LANGUAGE 25, 1
#pragma code_page(1251)
#ifdef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// TEXTINCLUDE
//
1 TEXTINCLUDE
BEGIN
"resource.h\0"
END
2 TEXTINCLUDE
BEGIN
"#include ""winres.h""\r\n"
"\0"
END
#endif // APSTUDIO_INVOKED
#ifndef _MAC
/////////////////////////////////////////////////////////////////////////////
//
// Version
//
VS_VERSION_INFO VERSIONINFO
FILEVERSION INTVER
PRODUCTVERSION INTVER
FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
FILEFLAGS 0x1L
#else
FILEFLAGS 0x0L
#endif
FILEOS 0x4L
FILETYPE 0x2L
FILESUBTYPE 0x0L
BEGIN
BLOCK "StringFileInfo"
BEGIN
BLOCK "040904B0"
BEGIN
VALUE "CompanyName", COMPANY_NAME
VALUE "FileDescription", FILE_DESCRIPTION_ACTIVEX
VALUE "FileVersion", STRVER
VALUE "LegalCopyright", LEGAL_COPYRIGHT
VALUE "InternalName", COMPONENT_FILE_NAME_DLL
VALUE "OriginalFilename", COMPONENT_FILE_NAME_DLL
VALUE "ProductName", FILE_DESCRIPTION_ACTIVEX
VALUE "ProductVersion", STRVER
END
END
BLOCK "VarFileInfo"
BEGIN
VALUE "Translation", 0x0409, 0x04B0
END
END
#endif // !_MAC
/////////////////////////////////////////////////////////////////////////////
//
// String Table
//
STRINGTABLE
BEGIN
IDS_PROJNAME "DoctRenderer"
END
IDR_DOCTRENDERER REGISTRY "DoctRenderer.rgs"
////////////////////////////////////////////////////////////////////////////
#endif
#ifndef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
#endif // not APSTUDIO_INVOKED
HKCR
{
NoRemove AppID
{
'%APPID%' = s 'DoctRenderer'
'DoctRenderer.DLL'
{
val AppID = s '%APPID%'
}
}
}

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Express 2013 for Windows Desktop
VisualStudioVersion = 12.0.21005.1
MinimumVisualStudioVersion = 10.0.40219.1
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "DoctRenderer", "DoctRenderer.vcxproj", "{BC0A8A11-2017-473D-8AB1-86A55116A2F5}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Win32 = Debug|Win32
Release|Win32 = Release|Win32
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{BC0A8A11-2017-473D-8AB1-86A55116A2F5}.Debug|Win32.ActiveCfg = Debug|Win32
{BC0A8A11-2017-473D-8AB1-86A55116A2F5}.Debug|Win32.Build.0 = Debug|Win32
{BC0A8A11-2017-473D-8AB1-86A55116A2F5}.Release|Win32.ActiveCfg = Release|Win32
{BC0A8A11-2017-473D-8AB1-86A55116A2F5}.Release|Win32.Build.0 = Release|Win32
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal
<?xml version="1.0" encoding="windows-1251"?>
<VisualStudioProject
ProjectType="Visual C++"
Version="9,00"
Name="DoctRenderer"
ProjectGUID="{BC0A8A11-2017-473D-8AB1-86A55116A2F5}"
Keyword="AtlProj"
TargetFrameworkVersion="196613"
>
<Platforms>
<Platform
Name="Win32"
/>
</Platforms>
<ToolFiles>
</ToolFiles>
<Configurations>
<Configuration
Name="Debug|Win32"
OutputDirectory="Debug"
IntermediateDirectory="Debug"
ConfigurationType="2"
UseOfATL="1"
ATLMinimizesCRunTimeLibraryUsage="false"
CharacterSet="1"
>
<Tool
Name="VCPreBuildEventTool"
CommandLine=""
/>
<Tool
Name="VCCustomBuildTool"
/>
<Tool
Name="VCXMLDataGeneratorTool"
/>
<Tool
Name="VCWebServiceProxyGeneratorTool"
/>
<Tool
Name="VCMIDLTool"
PreprocessorDefinitions="_DEBUG"
MkTypLibCompatible="false"
TargetEnvironment="1"
GenerateStublessProxies="true"
TypeLibraryName="$(IntDir)/DoctRenderer.tlb"
HeaderFileName="Control.h"
DLLDataFileName=""
InterfaceIdentifierFileName="DoctRenderer_i.c"
ProxyFileName="DoctRenderer_p.c"
/>
<Tool
Name="VCCLCompilerTool"
Optimization="0"
AdditionalIncludeDirectories=""
PreprocessorDefinitions="WIN32;_WINDOWS;_DEBUG;_USRDLL;_ATL_ATTRIBUTES"
MinimalRebuild="true"
BasicRuntimeChecks="3"
RuntimeLibrary="3"
UsePrecompiledHeader="2"
WarningLevel="3"
Detect64BitPortabilityProblems="false"
DebugInformationFormat="4"
/>
<Tool
Name="VCManagedResourceCompilerTool"
/>
<Tool
Name="VCResourceCompilerTool"
PreprocessorDefinitions="_DEBUG"
Culture="1049"
AdditionalIncludeDirectories="$(IntDir)"
/>
<Tool
Name="VCPreLinkEventTool"
/>
<Tool
Name="VCLinkerTool"
IgnoreImportLibrary="true"
UseLibraryDependencyInputs="false"
OutputFile="$(OutDir)/DoctRenderer.dll"
LinkIncremental="2"
MergedIDLBaseFileName="_DoctRenderer.idl"
GenerateDebugInformation="true"
SubSystem="2"
ImportLibrary="$(OutDir)/DoctRenderer.lib"
TargetMachine="1"
/>
<Tool
Name="VCALinkTool"
/>
<Tool
Name="VCManifestTool"
/>
<Tool
Name="VCXDCMakeTool"
/>
<Tool
Name="VCBscMakeTool"
/>
<Tool
Name="VCFxCopTool"
/>
<Tool
Name="VCAppVerifierTool"
/>
<Tool
Name="VCPostBuildEventTool"
Description="Performing registration"
CommandLine="regsvr32 /s /c &quot;$(TargetPath)&quot;"
/>
</Configuration>
<Configuration
Name="Release|Win32"
OutputDirectory="Release"
IntermediateDirectory="Release"
ConfigurationType="2"
UseOfATL="1"
ATLMinimizesCRunTimeLibraryUsage="false"
CharacterSet="1"
>
<Tool
Name="VCPreBuildEventTool"
CommandLine="..\Redist\VersionControl.exe &quot;$(ProjectDir)\version.h&quot;"
/>
<Tool
Name="VCCustomBuildTool"
/>
<Tool
Name="VCXMLDataGeneratorTool"
/>
<Tool
Name="VCWebServiceProxyGeneratorTool"
/>
<Tool
Name="VCMIDLTool"
PreprocessorDefinitions="NDEBUG"
MkTypLibCompatible="false"
TargetEnvironment="1"
GenerateStublessProxies="true"
TypeLibraryName="$(IntDir)/DoctRenderer.tlb"
HeaderFileName="Control.h"
DLLDataFileName=""
InterfaceIdentifierFileName="DoctRenderer_i.c"
ProxyFileName="DoctRenderer_p.c"
/>
<Tool
Name="VCCLCompilerTool"
PreprocessorDefinitions="WIN32;_WINDOWS;NDEBUG;_USRDLL;_ATL_ATTRIBUTES"
RuntimeLibrary="2"
UsePrecompiledHeader="2"
WarningLevel="3"
Detect64BitPortabilityProblems="false"
DebugInformationFormat="3"
/>
<Tool
Name="VCManagedResourceCompilerTool"
/>
<Tool
Name="VCResourceCompilerTool"
PreprocessorDefinitions="NDEBUG"
Culture="1049"
AdditionalIncludeDirectories="$(IntDir)"
/>
<Tool
Name="VCPreLinkEventTool"
/>
<Tool
Name="VCLinkerTool"
IgnoreImportLibrary="true"
OutputFile="$(OutDir)/DoctRenderer.dll"
LinkIncremental="1"
MergedIDLBaseFileName="_DoctRenderer.idl"
GenerateDebugInformation="true"
ProgramDatabaseFile="$(OutDir)$(TargetName).pdb"
SubSystem="2"
OptimizeReferences="2"
EnableCOMDATFolding="2"
ImportLibrary="$(OutDir)/DoctRenderer.lib"
TargetMachine="1"
CLRThreadAttribute="0"
/>
<Tool
Name="VCALinkTool"
/>
<Tool
Name="VCManifestTool"
/>
<Tool
Name="VCXDCMakeTool"
/>
<Tool
Name="VCBscMakeTool"
/>
<Tool
Name="VCFxCopTool"
/>
<Tool
Name="VCAppVerifierTool"
/>
<Tool
Name="VCPostBuildEventTool"
Description="Performing registration"
CommandLine="regsvr32 /s /c &quot;$(TargetPath)&quot;&#x0D;&#x0A;copy $(TargetPath) ..\Redist\DoctRenderer.dll&#x0D;&#x0A;"
/>
</Configuration>
</Configurations>
<References>
</References>
<Files>
<Filter
Name="Source Files"
Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
>
<File
RelativePath=".\DoctRenderer.cpp"
>
</File>
<File
RelativePath=".\stdafx.cpp"
>
<FileConfiguration
Name="Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="1"
/>
</FileConfiguration>
<FileConfiguration
Name="Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="1"
/>
</FileConfiguration>
</File>
</Filter>
<Filter
Name="Header Files"
Filter="h;hpp;hxx;hm;inl;inc;xsd"
UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
>
<File
RelativePath=".\DocRenderer.h"
>
</File>
<File
RelativePath=".\DoctRenderer.h"
>
</File>
<File
RelativePath=".\NativeControl.h"
>
</File>
<File
RelativePath=".\Resource.h"
>
</File>
<File
RelativePath=".\stdafx.h"
>
</File>
<File
RelativePath=".\version.h"
>
</File>
</Filter>
<Filter
Name="Resource Files"
Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav"
UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}"
>
<File
RelativePath=".\DoctRenderer.rc"
>
</File>
<File
RelativePath=".\DoctRenderer.rgs"
>
</File>
</Filter>
</Files>
<Globals>
</Globals>
</VisualStudioProject>
This diff is collapsed.
//{{NO_DEPENDENCIES}}
// Microsoft Visual C++ generated include file.
// Used by DoctRenderer.rc
//
#define IDS_PROJNAME 100
#define IDR_DOCTRENDERER 101
// Next default values for new objects
//
#ifdef APSTUDIO_INVOKED
#ifndef APSTUDIO_READONLY_SYMBOLS
#define _APS_NEXT_RESOURCE_VALUE 301
#define _APS_NEXT_COMMAND_VALUE 32768
#define _APS_NEXT_CONTROL_VALUE 201
#define _APS_NEXT_SYMED_VALUE 102
#endif
#endif
// stdafx.cpp : source file that includes just the standard includes
// JS_Executer.pch will be the pre-compiled header
// stdafx.obj will contain the pre-compiled type information
#include "stdafx.h"
// stdafx.h : include file for standard system include files,
// or project specific include files that are used frequently,
// but are changed infrequently
#pragma once
#ifndef STRICT
#define STRICT
#endif
#define _ATL_APARTMENT_THREADED
#define _ATL_NO_AUTOMATIC_NAMESPACE
#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit
// turns off ATL's hiding of some common and often safely ignored warning messages
#define _ATL_ALL_WARNINGS
#pragma warning(disable: 4996)
#include <atlbase.h>
#include <atlcom.h>
#include <atlwin.h>
#include <atltypes.h>
#include <atlctl.h>
#include <atlhost.h>
#include <atlcoll.h>
#define _USE_LIBXML2_READER_
#pragma comment(lib, "libxml2.lib")
using namespace ATL;
#include "../ASCImageStudio3/ASCGraphics/Interfaces/ASCRenderer.h"
#import "..\Redist\ASCGraphics.dll" named_guids raw_interfaces_only rename_namespace("ASCGraphics"), exclude("IASCRenderer")
#import "..\Redist\ASCOfficePDFWriter.dll" named_guids raw_interfaces_only rename_namespace("PDFWriter"), exclude("IASCRenderer")
\ No newline at end of file
#pragma once
//1
//0
//0
//15
#define INTVER 1,0,0,15
#define STRVER "1,0,0,15\0"
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