add preliminary implementation of Office plugin with Presentation object model and HyperCard data format
This commit is contained in:
parent
03565555f7
commit
69e6fd59e3
@ -0,0 +1,20 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<UniversalEditor Version="4.0">
|
||||
<Associations>
|
||||
<Association>
|
||||
<Filters>
|
||||
<Filter Title="HyperCard stack">
|
||||
<FileNameFilters>
|
||||
<FileNameFilter>*.wild</FileNameFilter>
|
||||
</FileNameFilters>
|
||||
</Filter>
|
||||
</Filters>
|
||||
<ObjectModels>
|
||||
<ObjectModel TypeName="UniversalEditor.Plugins.Office.ObjectModels.Presentation.PresentationObjectModel" />
|
||||
</ObjectModels>
|
||||
<DataFormats>
|
||||
<DataFormat TypeName="UniversalEditor.Plugins.Office.DataFormats.Presentation.HyperCard.HyperCardDataFormat" />
|
||||
</DataFormats>
|
||||
</Association>
|
||||
</Associations>
|
||||
</UniversalEditor>
|
||||
@ -743,6 +743,7 @@
|
||||
<Content Include="Editors\NewWorldComputing\Map\MapEditor.glade" />
|
||||
<Content Include="Editors\Multimedia\PictureCollection\PictureCollectionEditor.glade" />
|
||||
<Content Include="Editors\Multimedia\PictureCollection\Dialogs\AnimationPropertiesDialog.glade" />
|
||||
<Content Include="Extensions\Office\Associations\Presentation\HyperCardDataFormat.uexml" />
|
||||
<Content Include="Editors\Markup\MarkupEditor.glade" />
|
||||
<Content Include="Extensions\GraphicDesigner\Associations\Picture\TIFF.uexml" />
|
||||
</ItemGroup>
|
||||
@ -808,6 +809,9 @@
|
||||
<Folder Include="Extensions\Amiga\" />
|
||||
<Folder Include="Extensions\Amiga\Associations\" />
|
||||
<Folder Include="Extensions\Amiga\Associations\FileSystem\" />
|
||||
<Folder Include="Extensions\Office\" />
|
||||
<Folder Include="Extensions\Office\Associations\" />
|
||||
<Folder Include="Extensions\Office\Associations\Presentation\" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Content Include="Extensions\SoftwareDeveloper\Templates\Project\Software Development\Arduino\Images\Blink.xcf" />
|
||||
|
||||
@ -0,0 +1,72 @@
|
||||
//
|
||||
// HyperCardDataFormat.cs
|
||||
//
|
||||
// Author:
|
||||
// Michael Becker <alcexhim@gmail.com>
|
||||
//
|
||||
// Copyright (c) 2020 Mike Becker's Software
|
||||
//
|
||||
// This program is free software: you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License as published by
|
||||
// the Free Software Foundation, either version 3 of the License, or
|
||||
// (at your option) any later version.
|
||||
//
|
||||
// This program is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using UniversalEditor.Accessors;
|
||||
using UniversalEditor.ObjectModels.Chunked;
|
||||
using UniversalEditor.Plugins.Office.DataFormats.Presentation.HyperCard.Internal.STAK;
|
||||
using UniversalEditor.Plugins.Office.ObjectModels.Presentation;
|
||||
|
||||
namespace UniversalEditor.Plugins.Office.DataFormats.Presentation.HyperCard
|
||||
{
|
||||
public class HyperCardDataFormat : Internal.HyperCardChunkedDataFormat
|
||||
{
|
||||
private static DataFormatReference _dfr = null;
|
||||
protected override DataFormatReference MakeReferenceInternal()
|
||||
{
|
||||
if (_dfr == null)
|
||||
{
|
||||
_dfr = new DataFormatReference(GetType());
|
||||
_dfr.Capabilities.Add(typeof(PresentationObjectModel), DataFormatCapabilities.All);
|
||||
}
|
||||
return _dfr;
|
||||
}
|
||||
protected override void BeforeLoadInternal(Stack<ObjectModel> objectModels)
|
||||
{
|
||||
base.BeforeLoadInternal(objectModels);
|
||||
objectModels.Push(new ChunkedObjectModel());
|
||||
}
|
||||
protected override void AfterLoadInternal(Stack<ObjectModel> objectModels)
|
||||
{
|
||||
base.AfterLoadInternal(objectModels);
|
||||
|
||||
ChunkedObjectModel chunked = (objectModels.Pop() as ChunkedObjectModel);
|
||||
PresentationObjectModel pres = (objectModels.Pop() as PresentationObjectModel);
|
||||
|
||||
RIFFDataChunk chunk_stak = (chunked.Chunks["STAK"] as RIFFDataChunk);
|
||||
STAKDataFormat stak_df = new STAKDataFormat();
|
||||
STAKObjectModel stak_om = new STAKObjectModel();
|
||||
|
||||
Document.Load(stak_om, stak_df, new MemoryAccessor(chunk_stak.Data));
|
||||
|
||||
|
||||
}
|
||||
protected override void BeforeSaveInternal(Stack<ObjectModel> objectModels)
|
||||
{
|
||||
base.BeforeSaveInternal(objectModels);
|
||||
|
||||
PresentationObjectModel pres = (objectModels.Pop() as PresentationObjectModel);
|
||||
ChunkedObjectModel chunked = new ChunkedObjectModel();
|
||||
|
||||
objectModels.Push(chunked);
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,38 @@
|
||||
//
|
||||
// HyperCardScript.cs
|
||||
//
|
||||
// Author:
|
||||
// Michael Becker <alcexhim@gmail.com>
|
||||
//
|
||||
// Copyright (c) 2020 Mike Becker's Software
|
||||
//
|
||||
// This program is free software: you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License as published by
|
||||
// the Free Software Foundation, either version 3 of the License, or
|
||||
// (at your option) any later version.
|
||||
//
|
||||
// This program is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
using System;
|
||||
namespace UniversalEditor.Plugins.Office.DataFormats.Presentation.HyperCard
|
||||
{
|
||||
public class HyperCardScript
|
||||
{
|
||||
public static HyperCardScript Parse(string text)
|
||||
{
|
||||
return new HyperCardScript(text);
|
||||
}
|
||||
|
||||
public string Text { get; private set; } = null;
|
||||
|
||||
private HyperCardScript(string text)
|
||||
{
|
||||
Text = text;
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,35 @@
|
||||
//
|
||||
// HyperCardUserLevel.cs
|
||||
//
|
||||
// Author:
|
||||
// Michael Becker <alcexhim@gmail.com>
|
||||
//
|
||||
// Copyright (c) 2020 Mike Becker's Software
|
||||
//
|
||||
// This program is free software: you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License as published by
|
||||
// the Free Software Foundation, either version 3 of the License, or
|
||||
// (at your option) any later version.
|
||||
//
|
||||
// This program is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
namespace UniversalEditor.Plugins.Office.DataFormats.Presentation.HyperCard
|
||||
{
|
||||
/// <summary>
|
||||
/// Indicates the user level setting under which to run this stack.
|
||||
/// </summary>
|
||||
public enum HyperCardUserLevel : ushort
|
||||
{
|
||||
Browsing = 1,
|
||||
Typing = 2,
|
||||
Painting = 3,
|
||||
Authoring = 4,
|
||||
Scripting = 5
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,64 @@
|
||||
//
|
||||
// HyperCardChunkedDataFormat.cs
|
||||
//
|
||||
// Author:
|
||||
// Michael Becker <alcexhim@gmail.com>
|
||||
//
|
||||
// Copyright (c) 2020 Mike Becker's Software
|
||||
//
|
||||
// This program is free software: you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License as published by
|
||||
// the Free Software Foundation, either version 3 of the License, or
|
||||
// (at your option) any later version.
|
||||
//
|
||||
// This program is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
using System;
|
||||
using UniversalEditor.IO;
|
||||
using UniversalEditor.ObjectModels.Chunked;
|
||||
|
||||
namespace UniversalEditor.Plugins.Office.DataFormats.Presentation.HyperCard.Internal
|
||||
{
|
||||
public class HyperCardChunkedDataFormat : DataFormat
|
||||
{
|
||||
private static DataFormatReference _dfr = null;
|
||||
protected override DataFormatReference MakeReferenceInternal()
|
||||
{
|
||||
if (_dfr == null)
|
||||
{
|
||||
_dfr = base.MakeReferenceInternal();
|
||||
_dfr.Capabilities.Add(typeof(ChunkedObjectModel), DataFormatCapabilities.All);
|
||||
}
|
||||
return _dfr;
|
||||
}
|
||||
|
||||
protected override void LoadInternal(ref ObjectModel objectModel)
|
||||
{
|
||||
ChunkedObjectModel chunked = (objectModel as ChunkedObjectModel);
|
||||
|
||||
Reader reader = Accessor.Reader;
|
||||
reader.Endianness = Endianness.BigEndian;
|
||||
|
||||
while (!reader.EndOfStream)
|
||||
{
|
||||
uint chunkSize = reader.ReadUInt32();
|
||||
string chunkName = reader.ReadFixedLengthString(4);
|
||||
|
||||
RIFFDataChunk chunk = new RIFFDataChunk();
|
||||
chunk.ID = chunkName;
|
||||
chunk.Data = reader.ReadBytes(chunkSize - 8);
|
||||
chunked.Chunks.Add(chunk);
|
||||
}
|
||||
}
|
||||
|
||||
protected override void SaveInternal(ObjectModel objectModel)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,104 @@
|
||||
//
|
||||
// STAKDataFormat.cs
|
||||
//
|
||||
// Author:
|
||||
// Michael Becker <alcexhim@gmail.com>
|
||||
//
|
||||
// Copyright (c) 2020 Mike Becker's Software
|
||||
//
|
||||
// This program is free software: you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License as published by
|
||||
// the Free Software Foundation, either version 3 of the License, or
|
||||
// (at your option) any later version.
|
||||
//
|
||||
// This program is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
using System;
|
||||
using UniversalEditor.IO;
|
||||
|
||||
namespace UniversalEditor.Plugins.Office.DataFormats.Presentation.HyperCard.Internal.STAK
|
||||
{
|
||||
public class STAKDataFormat : DataFormat
|
||||
{
|
||||
protected override void LoadInternal(ref ObjectModel objectModel)
|
||||
{
|
||||
STAKObjectModel stak = (objectModel as STAKObjectModel);
|
||||
|
||||
Reader reader = Accessor.Reader;
|
||||
reader.Endianness = Endianness.BigEndian;
|
||||
|
||||
int blockId = reader.ReadInt32();
|
||||
byte[] unknown1 = reader.ReadBytes(32);
|
||||
|
||||
stak.CardCount = reader.ReadUInt32();
|
||||
uint cardIDOne = reader.ReadUInt32(); // starting card?
|
||||
uint listBlockID = reader.ReadUInt32();
|
||||
|
||||
byte[] unknown2 = reader.ReadBytes(16);
|
||||
|
||||
stak.UserLevel = (HyperCardUserLevel)reader.ReadUInt16();
|
||||
ushort unknown3 = reader.ReadUInt16();
|
||||
ushort flags = reader.ReadUInt16(); // Bit 10 is cantPeek, 11 is cantAbort, 13 is privateAccess, 14 is cantDelete, 15 is cantModify
|
||||
|
||||
byte[] unknown4 = reader.ReadBytes(18);
|
||||
|
||||
// Three 4-byte NumVersion entries containing the HyperCard version numbers that created, last edited or compacted
|
||||
// this stack. (A/N: I know the "documentation" says "three 4-byte", but it also says "16 bytes", so idk...)
|
||||
uint[] numVersions = reader.ReadUInt32Array(4);
|
||||
|
||||
byte[] unknown5 = reader.ReadBytes(328); // ???
|
||||
stak.Height = reader.ReadUInt16(); // the height, in pixels, of cards in this stack
|
||||
stak.Width = reader.ReadUInt16(); // the width, in pixels, of cards in this stack
|
||||
|
||||
byte[] unknown6 = reader.ReadBytes(260);
|
||||
|
||||
uint patternCount = 40;
|
||||
for (uint i = 0; i < patternCount; i++)
|
||||
{
|
||||
byte[] patternData = reader.ReadBytes(8); // raw data for an 8x8 bitmap, with one byte representing one row
|
||||
}
|
||||
|
||||
byte[] unknown7 = reader.ReadBytes(512);
|
||||
|
||||
stak.Script = HyperCardScript.Parse(reader.ReadNullTerminatedString());
|
||||
}
|
||||
|
||||
protected override void SaveInternal(ObjectModel objectModel)
|
||||
{
|
||||
STAKObjectModel stak = (objectModel as STAKObjectModel);
|
||||
|
||||
Writer writer = Accessor.Writer;
|
||||
writer.Endianness = Endianness.BigEndian;
|
||||
|
||||
writer.WriteInt32(-1); // block id
|
||||
writer.WriteBytes(new byte[32]); // unknown1
|
||||
|
||||
writer.WriteUInt32(stak.CardCount);
|
||||
writer.WriteUInt32(0); // cardIDOne - starting card?
|
||||
writer.WriteUInt32(0); // listBlockID
|
||||
|
||||
writer.WriteBytes(new byte[16]);
|
||||
|
||||
writer.WriteUInt16((ushort)stak.UserLevel);
|
||||
|
||||
writer.WriteUInt16(0); // unknown3
|
||||
ushort flags = 0;
|
||||
writer.WriteUInt16(flags); // Bit 10 is cantPeek, 11 is cantAbort, 13 is privateAccess, 14 is cantDelete, 15 is cantModify
|
||||
|
||||
writer.WriteBytes(new byte[18]); // unknown4
|
||||
writer.WriteUInt32Array(new uint[4]); //versions
|
||||
writer.WriteBytes(new byte[328]); // unknown5
|
||||
writer.WriteUInt16(stak.Height);
|
||||
writer.WriteUInt16(stak.Width);
|
||||
writer.WriteBytes(new byte[260]); // unknown6
|
||||
writer.WriteBytes(new byte[40 * 8]); // pattern data
|
||||
writer.WriteBytes(new byte[512]);
|
||||
writer.WriteNullTerminatedString(stak.Script.Text);
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,61 @@
|
||||
//
|
||||
// STAKObjectModel.cs
|
||||
//
|
||||
// Author:
|
||||
// Michael Becker <alcexhim@gmail.com>
|
||||
//
|
||||
// Copyright (c) 2020 Mike Becker's Software
|
||||
//
|
||||
// This program is free software: you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License as published by
|
||||
// the Free Software Foundation, either version 3 of the License, or
|
||||
// (at your option) any later version.
|
||||
//
|
||||
// This program is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
using System;
|
||||
namespace UniversalEditor.Plugins.Office.DataFormats.Presentation.HyperCard.Internal.STAK
|
||||
{
|
||||
public class STAKObjectModel : ObjectModel
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets or sets the script associated with this stack.
|
||||
/// </summary>
|
||||
/// <value>The script associated with this stack.</value>
|
||||
public HyperCardScript Script { get; set; } = null;
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the width, in pixels, of cards in this stack.
|
||||
/// </summary>
|
||||
/// <value>The width, in pixels, of cards in this stack.</value>
|
||||
public ushort Width { get; set; } = 320;
|
||||
/// <summary>
|
||||
/// Gets or sets the height, in pixels, of cards in this stack.
|
||||
/// </summary>
|
||||
/// <value>The height, in pixels, of cards in this stack.</value>
|
||||
public ushort Height { get; set; } = 240;
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the number of cards in this stack.
|
||||
/// </summary>
|
||||
/// <value>The number of cards in this stack.</value>
|
||||
public uint CardCount { get; set; } = 0;
|
||||
/// <summary>
|
||||
/// Gets or sets the user level setting under which to run this stack.
|
||||
/// </summary>
|
||||
/// <value>The user level setting under which to run this stack.</value>
|
||||
public HyperCardUserLevel UserLevel { get; set; } = HyperCardUserLevel.Scripting;
|
||||
|
||||
public override void Clear()
|
||||
{
|
||||
}
|
||||
public override void CopyTo(ObjectModel where)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,56 @@
|
||||
//
|
||||
// PresentationObjectModel.cs
|
||||
//
|
||||
// Author:
|
||||
// Michael Becker <alcexhim@gmail.com>
|
||||
//
|
||||
// Copyright (c) 2020 Mike Becker's Software
|
||||
//
|
||||
// This program is free software: you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License as published by
|
||||
// the Free Software Foundation, either version 3 of the License, or
|
||||
// (at your option) any later version.
|
||||
//
|
||||
// This program is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
using System;
|
||||
|
||||
namespace UniversalEditor.Plugins.Office.ObjectModels.Presentation
|
||||
{
|
||||
public class PresentationObjectModel : ObjectModel
|
||||
{
|
||||
private static ObjectModelReference _omr = null;
|
||||
protected override ObjectModelReference MakeReferenceInternal()
|
||||
{
|
||||
if (_omr == null)
|
||||
{
|
||||
_omr = base.MakeReferenceInternal();
|
||||
_omr.Title = "Presentation";
|
||||
_omr.Path = new string[] { "General", "Office", "Presentation" };
|
||||
}
|
||||
return _omr;
|
||||
}
|
||||
|
||||
public Slide.SlideCollection Slides { get; } = new Slide.SlideCollection();
|
||||
|
||||
public override void Clear()
|
||||
{
|
||||
Slides.Clear();
|
||||
}
|
||||
|
||||
public override void CopyTo(ObjectModel where)
|
||||
{
|
||||
PresentationObjectModel clone = (where as PresentationObjectModel);
|
||||
for (int i = 0; i < Slides.Count; i++)
|
||||
{
|
||||
clone.Slides.Add(Slides[i].Clone() as Slide);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,38 @@
|
||||
//
|
||||
// Slide.cs
|
||||
//
|
||||
// Author:
|
||||
// Michael Becker <alcexhim@gmail.com>
|
||||
//
|
||||
// Copyright (c) 2020 Mike Becker's Software
|
||||
//
|
||||
// This program is free software: you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License as published by
|
||||
// the Free Software Foundation, either version 3 of the License, or
|
||||
// (at your option) any later version.
|
||||
//
|
||||
// This program is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
using System;
|
||||
namespace UniversalEditor.Plugins.Office.ObjectModels.Presentation
|
||||
{
|
||||
public class Slide : ICloneable
|
||||
{
|
||||
public class SlideCollection
|
||||
: System.Collections.ObjectModel.Collection<Slide>
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public object Clone()
|
||||
{
|
||||
Slide clone = new Slide();
|
||||
return clone;
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,46 @@
|
||||
//
|
||||
// AssemblyInfo.cs
|
||||
//
|
||||
// Author:
|
||||
// Michael Becker <alcexhim@gmail.com>
|
||||
//
|
||||
// Copyright (c) 2020 Mike Becker's Software
|
||||
//
|
||||
// This program is free software: you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License as published by
|
||||
// the Free Software Foundation, either version 3 of the License, or
|
||||
// (at your option) any later version.
|
||||
//
|
||||
// This program is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
using System.Reflection;
|
||||
using System.Runtime.CompilerServices;
|
||||
|
||||
// Information about this assembly is defined by the following attributes.
|
||||
// Change them to the values specific to your project.
|
||||
|
||||
[assembly: AssemblyTitle("UniversalEditor.Plugins.Office")]
|
||||
[assembly: AssemblyDescription("")]
|
||||
[assembly: AssemblyConfiguration("")]
|
||||
[assembly: AssemblyCompany("Mike Becker's Software")]
|
||||
[assembly: AssemblyProduct("")]
|
||||
[assembly: AssemblyCopyright("Mike Becker's Software")]
|
||||
[assembly: AssemblyTrademark("")]
|
||||
[assembly: AssemblyCulture("")]
|
||||
|
||||
// The assembly version has the format "{Major}.{Minor}.{Build}.{Revision}".
|
||||
// The form "{Major}.{Minor}.*" will automatically update the build and revision,
|
||||
// and "{Major}.{Minor}.{Build}.*" will update just the revision.
|
||||
|
||||
[assembly: AssemblyVersion("1.0.*")]
|
||||
|
||||
// The following attributes are used to specify the signing key for the assembly,
|
||||
// if desired. See the Mono documentation for more information about signing.
|
||||
|
||||
//[assembly: AssemblyDelaySign(false)]
|
||||
//[assembly: AssemblyKeyFile("")]
|
||||
@ -0,0 +1,64 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProjectGuid>{5D62192C-EB3E-4E73-A440-C53579B6EB47}</ProjectGuid>
|
||||
<OutputType>Library</OutputType>
|
||||
<RootNamespace>UniversalEditor.Plugins.Office</RootNamespace>
|
||||
<AssemblyName>UniversalEditor.Plugins.Office</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.7</TargetFrameworkVersion>
|
||||
<ReleaseVersion>4.0.2019.12</ReleaseVersion>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>..\..\Output\Debug\Plugins</OutputPath>
|
||||
<DefineConstants>DEBUG;</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<ConsolePause>false</ConsolePause>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>..\..\Output\Release\Plugins</OutputPath>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<ConsolePause>false</ConsolePause>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="System" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
<Compile Include="ObjectModels\Presentation\PresentationObjectModel.cs" />
|
||||
<Compile Include="ObjectModels\Presentation\Slide.cs" />
|
||||
<Compile Include="DataFormats\Presentation\HyperCard\Internal\HyperCardChunkedDataFormat.cs" />
|
||||
<Compile Include="DataFormats\Presentation\HyperCard\Internal\STAK\STAKDataFormat.cs" />
|
||||
<Compile Include="DataFormats\Presentation\HyperCard\Internal\STAK\STAKObjectModel.cs" />
|
||||
<Compile Include="DataFormats\Presentation\HyperCard\HyperCardDataFormat.cs" />
|
||||
<Compile Include="DataFormats\Presentation\HyperCard\HyperCardScript.cs" />
|
||||
<Compile Include="DataFormats\Presentation\HyperCard\HyperCardUserLevel.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Folder Include="ObjectModels\" />
|
||||
<Folder Include="ObjectModels\Presentation\" />
|
||||
<Folder Include="DataFormats\" />
|
||||
<Folder Include="DataFormats\Presentation\" />
|
||||
<Folder Include="DataFormats\Presentation\HyperCard\" />
|
||||
<Folder Include="DataFormats\Presentation\HyperCard\Internal\" />
|
||||
<Folder Include="DataFormats\Presentation\HyperCard\Internal\STAK\" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\..\Libraries\UniversalEditor.Core\UniversalEditor.Core.csproj">
|
||||
<Project>{2D4737E6-6D95-408A-90DB-8DFF38147E85}</Project>
|
||||
<Name>UniversalEditor.Core</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\..\Libraries\UniversalEditor.Essential\UniversalEditor.Essential.csproj">
|
||||
<Project>{30467E5C-05BC-4856-AADC-13906EF4CADD}</Project>
|
||||
<Name>UniversalEditor.Essential</Name>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
|
||||
</Project>
|
||||
@ -173,6 +173,10 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "UniversalEditor.Plugins.Des
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "UniversalEditor.Plugins.NewWorldComputing.UserInterface", "Plugins.UserInterface\UniversalEditor.Plugins.NewWorldComputing.UserInterface\UniversalEditor.Plugins.NewWorldComputing.UserInterface.csproj", "{03B0D6C8-1C3C-4972-B102-3350FB628C5D}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "UniversalEditor.Plugins.Office", "Plugins\UniversalEditor.Plugins.Office\UniversalEditor.Plugins.Office.csproj", "{5D62192C-EB3E-4E73-A440-C53579B6EB47}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "UniversalEditor.Plugins.Office.UserInterface", "Plugins.UserInterface\UniversalEditor.Plugins.Office.UserInterface\UniversalEditor.Plugins.Office.UserInterface.csproj", "{317CDFBC-9B41-4157-B2C0-D37E2BCEB42B}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
@ -501,6 +505,14 @@ Global
|
||||
{03B0D6C8-1C3C-4972-B102-3350FB628C5D}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{03B0D6C8-1C3C-4972-B102-3350FB628C5D}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{03B0D6C8-1C3C-4972-B102-3350FB628C5D}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{5D62192C-EB3E-4E73-A440-C53579B6EB47}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{5D62192C-EB3E-4E73-A440-C53579B6EB47}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{5D62192C-EB3E-4E73-A440-C53579B6EB47}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{5D62192C-EB3E-4E73-A440-C53579B6EB47}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{317CDFBC-9B41-4157-B2C0-D37E2BCEB42B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{317CDFBC-9B41-4157-B2C0-D37E2BCEB42B}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{317CDFBC-9B41-4157-B2C0-D37E2BCEB42B}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{317CDFBC-9B41-4157-B2C0-D37E2BCEB42B}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(NestedProjects) = preSolution
|
||||
{6F0AB1AF-E1A1-4D19-B19C-05BBB15C94B2} = {05D15661-E684-4EC9-8FBD-C014BA433CC5}
|
||||
@ -582,6 +594,8 @@ Global
|
||||
{BCEB66A6-24E3-4877-B8D4-83FCF8EC748B} = {2ED32D16-6C06-4450-909A-40D32DA67FB4}
|
||||
{08168BEA-E652-4493-8D89-5AB72B225841} = {7B535D74-5496-4802-B809-89ED88274A91}
|
||||
{03B0D6C8-1C3C-4972-B102-3350FB628C5D} = {7B535D74-5496-4802-B809-89ED88274A91}
|
||||
{5D62192C-EB3E-4E73-A440-C53579B6EB47} = {2ED32D16-6C06-4450-909A-40D32DA67FB4}
|
||||
{317CDFBC-9B41-4157-B2C0-D37E2BCEB42B} = {7B535D74-5496-4802-B809-89ED88274A91}
|
||||
EndGlobalSection
|
||||
GlobalSection(MonoDevelopProperties) = preSolution
|
||||
Policies = $0
|
||||
@ -589,6 +603,7 @@ Global
|
||||
$1.NoTabsAfterNonTabs = True
|
||||
$1.scope = text/plain
|
||||
$1.FileWidth = 80
|
||||
$1.EolMarker = Unix
|
||||
$0.DotNetNamingPolicy = $2
|
||||
$2.DirectoryNamespaceAssociation = PrefixedHierarchical
|
||||
$0.TextStylePolicy = $3
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user