mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-04-07 13:55:33 +08:00
git-svn-id: svn://fileserver/activex/AVS/Sources/TeamlabOffice/trunk/ServerComponents@52292 954022d7-b5bf-4e40-9824-e11837661b57
This commit is contained in:
committed by
Alexander Trofimov
parent
35d1da0eee
commit
c3bcb6e185
4
.gitattributes
vendored
4
.gitattributes
vendored
@ -214,6 +214,10 @@ ASCOfficeXlsFile/AVSWorksheetConverter/source/Streams_binaries/SummaryInformatio
|
||||
ASCOfficeXlsFile/AVSWorksheetConverter/source/XLS_logic/Biff_structures/ODRAW svnc_bugtraq_003anumber=true
|
||||
Common/DocxFormat/Source/SystemUtility/Solution/FileSystemTest/app.ico svn_mime_002dtype=application%2Foctet-stream
|
||||
OfficeCore/Fonts/FreeType/freetype242_vs2005.lib svn_mime_002dtype=application%2Foctet-stream
|
||||
OfficeCore/Test/AllFontsGen/bin/Debug/AllFontsGen.vshost.exe svn_mime_002dtype=application%2Foctet-stream
|
||||
OfficeCore/Test/AllFontsGen/bin/Release/AllFontsGen.exe svn_mime_002dtype=application%2Foctet-stream
|
||||
OfficeCore/Test/AllFontsGen/bin/Release/AllFontsGen.pdb svn_mime_002dtype=application%2Foctet-stream
|
||||
OfficeCore/Test/AllFontsGen/bin/Release/Interop.OfficeCore.dll svn_mime_002dtype=application%2Foctet-stream
|
||||
OfficeCore/Test/TestConsole/bin/Debug/Interop.OfficeCore.dll svn_mime_002dtype=application%2Foctet-stream
|
||||
OfficeCore/Test/TestConsole/bin/Debug/TestConsole.exe svn_mime_002dtype=application%2Foctet-stream
|
||||
OfficeCore/Test/TestConsole/bin/Debug/TestConsole.pdb svn_mime_002dtype=application%2Foctet-stream
|
||||
|
||||
57
OfficeCore/Test/AllFontsGen/AllFontsGen.csproj
Normal file
57
OfficeCore/Test/AllFontsGen/AllFontsGen.csproj
Normal file
@ -0,0 +1,57 @@
|
||||
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProductVersion>8.0.50727</ProductVersion>
|
||||
<SchemaVersion>2.0</SchemaVersion>
|
||||
<ProjectGuid>{3A79F380-B991-4C7E-8603-D831EAEFA1A2}</ProjectGuid>
|
||||
<OutputType>Exe</OutputType>
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<RootNamespace>AllFontsGen</RootNamespace>
|
||||
<AssemblyName>AllFontsGen</AssemblyName>
|
||||
</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.Data" />
|
||||
<Reference Include="System.Xml" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="Program.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<COMReference Include="OfficeCore">
|
||||
<Guid>{2FA8EF81-55E5-4F98-B399-2DF9A5DA5E41}</Guid>
|
||||
<VersionMajor>1</VersionMajor>
|
||||
<VersionMinor>0</VersionMinor>
|
||||
<Lcid>0</Lcid>
|
||||
<WrapperTool>tlbimp</WrapperTool>
|
||||
<Isolated>False</Isolated>
|
||||
</COMReference>
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildBinPath)\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>
|
||||
20
OfficeCore/Test/AllFontsGen/AllFontsGen.sln
Normal file
20
OfficeCore/Test/AllFontsGen/AllFontsGen.sln
Normal file
@ -0,0 +1,20 @@
|
||||
|
||||
Microsoft Visual Studio Solution File, Format Version 9.00
|
||||
# Visual C# Express 2005
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AllFontsGen", "AllFontsGen.csproj", "{3A79F380-B991-4C7E-8603-D831EAEFA1A2}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
Release|Any CPU = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{3A79F380-B991-4C7E-8603-D831EAEFA1A2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{3A79F380-B991-4C7E-8603-D831EAEFA1A2}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{3A79F380-B991-4C7E-8603-D831EAEFA1A2}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{3A79F380-B991-4C7E-8603-D831EAEFA1A2}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
EndGlobal
|
||||
30
OfficeCore/Test/AllFontsGen/Program.cs
Normal file
30
OfficeCore/Test/AllFontsGen/Program.cs
Normal file
@ -0,0 +1,30 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace AllFontsGen
|
||||
{
|
||||
class Program
|
||||
{
|
||||
static void Main(string[] args)
|
||||
{
|
||||
string sDirectory = "";
|
||||
string sDstFile = "";
|
||||
|
||||
if (args.Length == 0)
|
||||
return;
|
||||
|
||||
if (args.Length == 1)
|
||||
sDstFile = args[0];
|
||||
else
|
||||
{
|
||||
sDirectory = args[0];
|
||||
sDstFile = args[1];
|
||||
}
|
||||
|
||||
OfficeCore.CWinFontsClass oFonts = new OfficeCore.CWinFontsClass();
|
||||
oFonts.Init(sDirectory, false, false);
|
||||
oFonts.SetAdditionalParam("AllFonts.js", sDstFile);
|
||||
}
|
||||
}
|
||||
}
|
||||
33
OfficeCore/Test/AllFontsGen/Properties/AssemblyInfo.cs
Normal file
33
OfficeCore/Test/AllFontsGen/Properties/AssemblyInfo.cs
Normal file
@ -0,0 +1,33 @@
|
||||
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("AllFontsGen")]
|
||||
[assembly: AssemblyDescription("")]
|
||||
[assembly: AssemblyConfiguration("")]
|
||||
[assembly: AssemblyCompany("avs")]
|
||||
[assembly: AssemblyProduct("AllFontsGen")]
|
||||
[assembly: AssemblyCopyright("Copyright © avs 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("03db9f7f-79ef-4e9e-ae9d-2e4242fc9d7d")]
|
||||
|
||||
// Version information for an assembly consists of the following four values:
|
||||
//
|
||||
// Major Version
|
||||
// Minor Version
|
||||
// Build Number
|
||||
// Revision
|
||||
//
|
||||
[assembly: AssemblyVersion("1.0.0.0")]
|
||||
[assembly: AssemblyFileVersion("1.0.0.0")]
|
||||
@ -33,11 +33,11 @@ namespace TestConsole
|
||||
{
|
||||
OfficeCore.CWinFontsClass oFonts = new OfficeCore.CWinFontsClass();
|
||||
|
||||
oFonts.Init("", false, true);
|
||||
//oFonts.Init("", false, true);
|
||||
//oFonts.Init("", true, true);
|
||||
//oFonts.Init("", false, false);
|
||||
|
||||
//oFonts.Init(@"X:\AVS\Sources\TeamlabOffice\trunk\OfficeWeb\Fonts\native", false, true);
|
||||
oFonts.Init(@"X:\AVS\Sources\TeamlabOffice\trunk\OfficeWeb\Fonts\native", false, true);
|
||||
//oFonts.Init(@"X:\AVS\Sources\TeamlabOffice\trunk\OfficeWeb\Fonts\native", true, true);
|
||||
//oFonts.Init(@"X:\AVS\Sources\TeamlabOffice\trunk\OfficeWeb\Fonts\native", false, false);
|
||||
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user