Commit 4710852a authored by Oleg.Korshul's avatar Oleg.Korshul Committed by Alexander Trofimov

git-svn-id:...

git-svn-id: svn://fileserver/activex/AVS/Sources/TeamlabOffice/trunk/ServerComponents@53266 954022d7-b5bf-4e40-9824-e11837661b57
parent 09f29064
......@@ -379,6 +379,7 @@ DoctRenderer/COMMON/Dlls/AVSGraphics.dll svn_mime_002dtype=application%2Foctet-s
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
OfficeCore/Fonts/FreeType/freetype242_vs2005.lib svn_mime_002dtype=application%2Foctet-stream
OfficeCore/Test/TestConsole/bin/Debug/Interop.OfficeCore.dll svn_mime_002dtype=application%2Foctet-stream
......
<?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>();
files.Add("../ServerComponents/DoctRenderer/COMMON/native.js");
files.Add("Common/browser.js");
files.Add("Common/3rdparty/XRegExp/xregexp-all.js");
files.Add("Excel/jquery/jquery-1.7.1.js");
files.Add("../ServerComponents/DoctRenderer/COMMON/native_xls/jquery_corrector.js");
files.Add("Common/editorscommon.js");
files.Add("Common/downloaderfiles.js");
files.Add("Common/docscoapicommon.js");
files.Add("Common/docscoapi.js");
files.Add("Common/Charts/DrawingObjects.js");
files.Add("Common/Charts/charts.js");
files.Add("Common/commonDefines.js");
files.Add("Common/apiCommon.js");
files.Add("../ServerComponents/DoctRenderer/COMMON/native_xls/corrector2.js");
files.Add("Common/FontsFreeType/font_engine.js");
files.Add("Common/FontsFreeType/FontFile.js");
files.Add("Common/FontsFreeType/FontManager.js");
files.Add("Word/Drawing/HatchPattern.js");
files.Add("Word/Drawing/Metafile.js");
files.Add("Common/AllFonts.js");
files.Add("Word/Drawing/Externals.js");
files.Add("Excel/apiDefines.js");
files.Add("Excel/utils/utils.js");
files.Add("Excel/model/ConditionalFormatting.js");
files.Add("Excel/model/clipboard.js");
files.Add("Excel/model/autofilters.js");
files.Add("Excel/graphics/DrawingContext.js");
files.Add("Excel/graphics/pdfprinter.js");
files.Add("Excel/offlinedocs/empty-workbook.js");
files.Add("Excel/model/CollaborativeEditing.js");
files.Add("Excel/model/FormulaObjects/parserFormula.js");
files.Add("Excel/model/FormulaObjects/dateandtimeFunctions.js");
files.Add("Excel/model/FormulaObjects/engineeringFunctions.js");
files.Add("Excel/model/FormulaObjects/cubeFunctions.js");
files.Add("Excel/model/FormulaObjects/databaseFunctions.js");
files.Add("Excel/model/FormulaObjects/textanddataFunctions.js");
files.Add("Excel/model/FormulaObjects/statisticalFunctions.js");
files.Add("Excel/model/FormulaObjects/financialFunctions.js");
files.Add("Excel/model/FormulaObjects/mathematicFunctions.js");
files.Add("Excel/model/FormulaObjects/lookupandreferenceFunctions.js");
files.Add("Excel/model/FormulaObjects/informationFunctions.js");
files.Add("Excel/model/FormulaObjects/logicalFunctions.js");
files.Add("Excel/model/CellComment.js");
files.Add("Common/NumFormat.js");
files.Add("Excel/model/Serialize.js");
files.Add("Excel/model/WorkbookElems.js");
files.Add("Excel/model/Workbook.js");
files.Add("Excel/model/CellInfo.js");
files.Add("Excel/model/AdvancedOptions.js");
files.Add("Excel/model/History.js");
files.Add("Excel/model/UndoRedo.js");
files.Add("Common/scroll.js");
files.Add("Excel/view/StringRender.js");
files.Add("Excel/view/CellTextRender.js");
files.Add("Excel/view/CellEditorView.js");
files.Add("Excel/view/WorksheetView.js");
files.Add("Excel/view/HandlerList.js");
files.Add("Excel/view/EventsController.js");
files.Add("Excel/view/WorkbookView.js");
files.Add("Excel/api.js");
//<!--for theme-->
files.Add("Common/Shapes/EditorSettings.js");
files.Add("Common/Shapes/Serialize.js");
files.Add("Common/Shapes/SerializeWriter.js");
files.Add("Word/Editor/SerializeCommon.js");
files.Add("Word/Editor/GraphicObjects/ObjectTypes/Format.js");
files.Add("Word/Editor/GraphicObjects/ObjectTypes/CreateGeometry.js");
files.Add("Excel/model/DrawingObjects/Format/Geometry.js");
files.Add("Excel/model/DrawingObjects/Format/Path.js");
files.Add("Word/Editor/GraphicObjects/Math.js");
files.Add("Word/Drawing/ArcTo.js");
files.Add("Word/Drawing/ColorArray.js");
files.Add("Word/apiCommon.js");
//<!--for chart-->
files.Add("Common/SerializeCommonWordExcel.js");
files.Add("Common/Charts/libraries/OfficeExcel.common.core.js");
files.Add("Common/Charts/libraries/OfficeExcel.common.key.js");
files.Add("Common/Charts/libraries/OfficeExcel.bar.js");
files.Add("Common/Charts/libraries/OfficeExcel.hbar.js");
files.Add("Common/Charts/libraries/OfficeExcel.line.js");
files.Add("Common/Charts/libraries/OfficeExcel.pie.js");
files.Add("Common/Charts/libraries/OfficeExcel.scatter.js");
files.Add("Common/Charts/libraries/OfficeExcel.chartProperties.js");
//<!--for shapes-->
files.Add("Excel/model/DrawingObjects/Graphics.js");
files.Add("Excel/model/DrawingObjects/Overlay.js");
files.Add("Excel/model/DrawingObjects/Controls.js");
files.Add("Excel/model/DrawingObjects/DrawingObjectsController.js");
files.Add("Excel/model/DrawingObjects/DrawingDocument.js");
files.Add("Excel/model/DrawingObjects/States.js");
files.Add("Excel/model/DrawingObjects/GlobalLoaders.js");
files.Add("Excel/model/DrawingObjects/ShapeDrawer.js");
files.Add("Excel/model/DrawingObjects/Format/GroupShape.js");
files.Add("Excel/model/DrawingObjects/Format/Image.js");
files.Add("Excel/model/DrawingObjects/Format/Shape.js");
files.Add("Excel/model/DrawingObjects/Format/TextBody.js");
files.Add("Excel/model/DrawingObjects/Format/Styles.js");
files.Add("Excel/model/DrawingObjects/Format/Path.js");
files.Add("Excel/model/DrawingObjects/Format/Geometry.js");
files.Add("Excel/model/DrawingObjects/Format/Paragraph.js");
files.Add("Excel/model/DrawingObjects/Format/ParagraphContent.js");
files.Add("Excel/model/DrawingObjects/Format/Numbering.js");
files.Add("Excel/model/DrawingObjects/Format/Format.js");
files.Add("Excel/model/DrawingObjects/Format/DocumentContent.js");
files.Add("Excel/model/DrawingObjects/Format/FontClassification.js");
files.Add("Excel/model/DrawingObjects/Tracks/AdjustmentTracks.js");
files.Add("Excel/model/DrawingObjects/Tracks/ResizeTracks.js");
files.Add("Excel/model/DrawingObjects/Tracks/RotateTracks.js");
files.Add("Excel/model/DrawingObjects/Tracks/NewShapeTracks.js");
files.Add("Excel/model/DrawingObjects/Tracks/PolyLine.js");
files.Add("Excel/model/DrawingObjects/Tracks/Spline.js");
files.Add("Excel/model/DrawingObjects/Tracks/MoveTracks.js");
files.Add("Excel/model/DrawingObjects/Hit.js");
files.Add("Excel/model/DrawingObjects/GlobalCounters.js");
files.Add("Excel/model/DrawingObjects/Format/Chart.js");
files.Add("Excel/model/DrawingObjects/Format/ChartLayout.js");
files.Add("Excel/model/DrawingObjects/Format/ChartTitle.js");
files.Add("Excel/model/DrawingObjects/Format/ChartLegend.js");
files.Add("../ServerComponents/DoctRenderer/COMMON/native_xls/corrector.js");
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 + "\\ServerComponents\\DoctRenderer\\Resources\\xls_editor.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("")]
[assembly: AssemblyProduct("Joiner")]
[assembly: AssemblyCopyright("Copyright © 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")]
CFontFileLoader.prototype.LoadFontNative = function()
{
var __font_data_idx = g_fonts_streams.length;
var _data = window.native.GetFontBinary(this.Id);
g_fonts_streams[__font_data_idx] = new FT_Stream(_data, _data.length);
this.SetStreamIndex(__font_data_idx);
this.Status = 0;
};
BinaryFileReader.prototype.ReadNative = function(data)
{
try
{
this.stream = new FT_Stream2(data, data.length);
this.PreLoadPrepare();
this.ReadMainTable();
this.PostLoadPrepare();
}
catch(e)
{
if(e.message == g_sErrorCharCountMessage)
return false;
else
throw e;
}
return true;
};
CChartAsGroup.prototype.draw = function(graphics, pageIndex)
{
return;
};
function CCacheManager()
{
}
var NATIVE_DOCUMENT_TYPE = "spreadsheet";
\ No newline at end of file
var CColor = window.CColor;
\ No newline at end of file
var jQuery = window.jQuery;var $ = window.$;
\ No newline at end of file
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