Commit 2e211561 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@53244 954022d7-b5bf-4e40-9824-e11837661b57
parent 97c09c82
......@@ -378,6 +378,7 @@ Common/DocxFormat/Source/XML/libxml2/XML/win32/wince/libxml2.vco svn_mime_002dty
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/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("Common/editorscommon.js");
files.Add("Common/wordcopypaste.js");
files.Add("Common/apiCommon.js");
files.Add("Excel/apiDefines.js");
files.Add("Common/Charts/DrawingObjects.js");
files.Add("Common/Charts/charts.js");
files.Add("Common/commonDefines.js");
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");
files.Add("Common/FontsFreeType/font_engine.js");
files.Add("Common/FontsFreeType/FontFile.js");
files.Add("Common/FontsFreeType/FontManager.js");
files.Add("Word/Drawing/Externals.js");
files.Add("Word/Drawing/GlobalLoaders.js");
files.Add("Word/Drawing/translations.js");
files.Add("Word/Drawing/Metafile.js");
files.Add("Word/Editor/Sections.js");
files.Add("Word/Editor/Common.js");
files.Add("Word/Editor/Serialize2.js");
files.Add("PowerPoint/Drawing/ThemeLoader.js");
files.Add("PowerPoint/Editor/Styles.js");
files.Add("PowerPoint/Editor/Format/CollaborativeEditing.js");
files.Add("PowerPoint/Editor/Format/Table.js");
files.Add("PowerPoint/Editor/History.js");
files.Add("PowerPoint/Editor/FlowObjects.js");
files.Add("PowerPoint/Editor/Format/Paragraph.js");
files.Add("PowerPoint/Editor/Format/FontClassification.js");
files.Add("PowerPoint/Editor/Format/ParagraphContent.js");
files.Add("PowerPoint/Editor/Format/Spelling.js");
files.Add("PowerPoint/Editor/SlideShowInfo.js");
files.Add("PowerPoint/Editor/PresentationProperties.js");
files.Add("PowerPoint/Editor/Format/GraphicFrame.js");
files.Add("PowerPoint/Editor/Numbering.js");
files.Add("PowerPoint/Editor/TrackObjects/AdjustmentTracks.js");
files.Add("PowerPoint/Editor/TrackObjects/MoveTracks.js");
files.Add("PowerPoint/Editor/TrackObjects/NewShapeTracks.js");
files.Add("PowerPoint/Editor/TrackObjects/PolyLine.js");
files.Add("PowerPoint/Editor/TrackObjects/ResizeTracks.js");
files.Add("PowerPoint/Editor/TrackObjects/RotateTracks.js");
files.Add("PowerPoint/Editor/TrackObjects/Spline.js");
files.Add("PowerPoint/Editor/Drawing/Geometry.js");
files.Add("PowerPoint/Editor/Drawing/CreateGoemetry.js");
files.Add("PowerPoint/Editor/Drawing/ColorArray.js");
files.Add("PowerPoint/Editor/Drawing/Math.js");
files.Add("PowerPoint/Editor/Drawing/Path.js");
files.Add("PowerPoint/Editor/Drawing/ArcTo.js");
files.Add("PowerPoint/Editor/Drawing/GraphicFigure.js");
files.Add("PowerPoint/Editor/Drawing/Clone.js");
files.Add("PowerPoint/Editor/Drawing/CImage.js");
files.Add("PowerPoint/Editor/Drawing/Spline.js");
files.Add("PowerPoint/Editor/Drawing/PolyLine.js");
files.Add("PowerPoint/Editor/Drawing/Hit.js");
files.Add("PowerPoint/Editor/Drawing/Joined.js");
files.Add("PowerPoint/Drawing/Transitions.js");
files.Add("PowerPoint/Editor/Format.js");
files.Add("PowerPoint/themes/Themes.js");
files.Add("Word/Drawing/HatchPattern.js");
files.Add("Word/Drawing/Graphics.js");
files.Add("Word/Drawing/ArcTo.js");
files.Add("Word/Drawing/Hit.js");
files.Add("Word/Drawing/ColorArray.js");
files.Add("Word/Drawing/Overlay.js");
files.Add("Word/Drawing/ShapeDrawer.js");
files.Add("Word/Drawing/GraphicsEvents.js");
files.Add("PowerPoint/apiDefines.js");
files.Add("PowerPoint/apiCommon.js");
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("Excel/graphics/DrawingContextWord.js");
files.Add("PowerPoint/Editor/Format/Presentation.js");
files.Add("PowerPoint/Editor/Format/Shape.js");
files.Add("PowerPoint/Editor/Format/TextBody.js");
files.Add("PowerPoint/Editor/Format/Image.js");
files.Add("PowerPoint/Editor/Format/GroupShape.js");
files.Add("PowerPoint/Editor/Format/ChartTitle.js");
files.Add("PowerPoint/Editor/Format/Chart.js");
files.Add("PowerPoint/Editor/Format/ChartLayout.js");
files.Add("PowerPoint/Editor/Format/Slide.js");
files.Add("PowerPoint/Editor/Format/SlideMaster.js");
files.Add("PowerPoint/Editor/Format/Layout.js");
files.Add("PowerPoint/Editor/Format/Paragraph.js");
files.Add("PowerPoint/Editor/Format/FontClassification.js");
files.Add("PowerPoint/Editor/Format/ParagraphContent.js");
files.Add("PowerPoint/Editor/Format/Spelling.js");
files.Add("PowerPoint/Editor/Format/Comments.js");
files.Add("PowerPoint/Editor/Format/DocumentContent.js");
files.Add("PowerPoint/Editor/GraphicObjects.js");
files.Add("PowerPoint/Editor/States.js");
files.Add("../ServerComponents/DoctRenderer/COMMON/native_ppt/DrawingDocument.js");
files.Add("../ServerComponents/DoctRenderer/COMMON/native_ppt/HtmlPage.js");
files.Add("../ServerComponents/DoctRenderer/COMMON/native_ppt/api.js");
files.Add("../ServerComponents/DoctRenderer/COMMON/native_ppt/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\\ppt_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")]
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