added Revit 2020 SDK files
@@ -0,0 +1,22 @@
|
||||
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio 14
|
||||
VisualStudioVersion = 14.0.23107.0
|
||||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ElementReportHTML", "ElementReportHTML\ElementReportHTML.csproj", "{6E408185-DD95-44DA-960D-7D5CD7237E8A}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
Release|Any CPU = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{6E408185-DD95-44DA-960D-7D5CD7237E8A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{6E408185-DD95-44DA-960D-7D5CD7237E8A}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{6E408185-DD95-44DA-960D-7D5CD7237E8A}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{6E408185-DD95-44DA-960D-7D5CD7237E8A}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
EndGlobal
|
||||
@@ -0,0 +1,136 @@
|
||||
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="3.5">
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProductVersion>9.0.30729</ProductVersion>
|
||||
<SchemaVersion>2.0</SchemaVersion>
|
||||
<ProjectGuid>{8F7B8416-87C0-40E4-8256-77A624DBA940}</ProjectGuid>
|
||||
<OutputType>WinExe</OutputType>
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<RootNamespace>REX.Start</RootNamespace>
|
||||
<AssemblyName>AREXStart</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
|
||||
<FileUpgradeFlags>
|
||||
</FileUpgradeFlags>
|
||||
<OldToolsVersion>2.0</OldToolsVersion>
|
||||
<UpgradeBackupLocation>
|
||||
</UpgradeBackupLocation>
|
||||
<PublishUrl>publish\</PublishUrl>
|
||||
<Install>true</Install>
|
||||
<InstallFrom>Disk</InstallFrom>
|
||||
<UpdateEnabled>false</UpdateEnabled>
|
||||
<UpdateMode>Foreground</UpdateMode>
|
||||
<UpdateInterval>7</UpdateInterval>
|
||||
<UpdateIntervalUnits>Days</UpdateIntervalUnits>
|
||||
<UpdatePeriodically>false</UpdatePeriodically>
|
||||
<UpdateRequired>false</UpdateRequired>
|
||||
<MapFileExtensions>true</MapFileExtensions>
|
||||
<ApplicationRevision>0</ApplicationRevision>
|
||||
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
|
||||
<IsWebBootstrapper>false</IsWebBootstrapper>
|
||||
<UseApplicationTrust>false</UseApplicationTrust>
|
||||
<BootstrapperEnabled>true</BootstrapperEnabled>
|
||||
</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>
|
||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||
</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>
|
||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="Autodesk.REX.Framework, Version=2018.0.0.0, Culture=neutral, PublicKeyToken=51e16e3b26b42eda, processorArchitecture=MSIL">
|
||||
<SpecificVersion>True</SpecificVersion>
|
||||
<HintPath>Autodesk.REX.Framework.dll</HintPath>
|
||||
<Private>False</Private>
|
||||
</Reference>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Data" />
|
||||
<Reference Include="System.Deployment" />
|
||||
<Reference Include="System.Design" />
|
||||
<Reference Include="System.Drawing" />
|
||||
<Reference Include="System.Windows.Forms" />
|
||||
<Reference Include="System.Xml" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="Program.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
<EmbeddedResource Include="Properties\Resources.resx">
|
||||
<Generator>ResXFileCodeGenerator</Generator>
|
||||
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
|
||||
<SubType>Designer</SubType>
|
||||
</EmbeddedResource>
|
||||
<Compile Include="Properties\Resources.Designer.cs">
|
||||
<AutoGen>True</AutoGen>
|
||||
<DependentUpon>Resources.resx</DependentUpon>
|
||||
<DesignTime>True</DesignTime>
|
||||
</Compile>
|
||||
<None Include="app.config" />
|
||||
<None Include="Properties\Settings.settings">
|
||||
<Generator>SettingsSingleFileGenerator</Generator>
|
||||
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
|
||||
</None>
|
||||
<Compile Include="Properties\Settings.Designer.cs">
|
||||
<AutoGen>True</AutoGen>
|
||||
<DependentUpon>Settings.settings</DependentUpon>
|
||||
<DesignTimeSharedInput>True</DesignTimeSharedInput>
|
||||
</Compile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<COMReference Include="stdole">
|
||||
<Guid>{00020430-0000-0000-C000-000000000046}</Guid>
|
||||
<VersionMajor>2</VersionMajor>
|
||||
<VersionMinor>0</VersionMinor>
|
||||
<Lcid>0</Lcid>
|
||||
<WrapperTool>primary</WrapperTool>
|
||||
<Isolated>False</Isolated>
|
||||
</COMReference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<BootstrapperPackage Include="Microsoft.Net.Client.3.5">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>.NET Framework Client Profile</ProductName>
|
||||
<Install>false</Install>
|
||||
</BootstrapperPackage>
|
||||
<BootstrapperPackage Include="Microsoft.Net.Framework.2.0">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>.NET Framework 2.0 %28x86%29</ProductName>
|
||||
<Install>true</Install>
|
||||
</BootstrapperPackage>
|
||||
<BootstrapperPackage Include="Microsoft.Net.Framework.3.0">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>.NET Framework 3.0 %28x86%29</ProductName>
|
||||
<Install>false</Install>
|
||||
</BootstrapperPackage>
|
||||
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>.NET Framework 3.5</ProductName>
|
||||
<Install>false</Install>
|
||||
</BootstrapperPackage>
|
||||
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>.NET Framework 3.5 SP1</ProductName>
|
||||
<Install>false</Install>
|
||||
</BootstrapperPackage>
|
||||
</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>
|
||||
@@ -0,0 +1,52 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Windows.Forms;
|
||||
using Autodesk.REX.Framework;
|
||||
|
||||
namespace REX.Start
|
||||
{
|
||||
static class Program
|
||||
{
|
||||
/// <summary>
|
||||
/// The main entry point for the application.
|
||||
/// </summary>
|
||||
[STAThread]
|
||||
static void Main()
|
||||
{
|
||||
Application.EnableVisualStyles();
|
||||
Application.SetCompatibleTextRenderingDefault(false);
|
||||
|
||||
AppDomain currentDomain = AppDomain.CurrentDomain;
|
||||
currentDomain.AssemblyResolve += new ResolveEventHandler(currentDomain_AssemblyResolve);
|
||||
|
||||
|
||||
RunExtension(@"c:\my documents\visual studio 2015\Projects\ElementReportHTML\ElementReportHTML\bin\Debug\ElementReportHTML.dll", "2018");
|
||||
}
|
||||
|
||||
static System.Reflection.Assembly currentDomain_AssemblyResolve(object sender, ResolveEventArgs args)
|
||||
{
|
||||
return Autodesk.REX.Framework.REXAssemblies.Resolve(sender, args, System.Reflection.Assembly.GetExecutingAssembly());
|
||||
}
|
||||
|
||||
static void RunExtension(string FullPath, string VersionName)
|
||||
{
|
||||
REXApplicationInstance applicationInstance = new REXApplicationInstance();
|
||||
if (applicationInstance.LoadExtension(FullPath, "REX.ElementReportHTML.Application"))
|
||||
{
|
||||
REXContext context = new REXContext();
|
||||
|
||||
context.Control.Mode = REXMode.Dialog;
|
||||
context.Control.ControlMode = REXControlMode.ModalDialog;
|
||||
context.Product.Type = REXInterfaceType.Common;
|
||||
context.Control.Parent = null;
|
||||
|
||||
REXEnvironment environment = new REXEnvironment(VersionName);
|
||||
if (environment.LoadEngine(ref context))
|
||||
{
|
||||
if (applicationInstance.Extension.Create(ref context))
|
||||
applicationInstance.Extension.Show();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -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("AREXStart")]
|
||||
[assembly: AssemblyDescription("")]
|
||||
[assembly: AssemblyConfiguration("")]
|
||||
[assembly: AssemblyCompany("")]
|
||||
[assembly: AssemblyProduct("AREXStart")]
|
||||
[assembly: AssemblyCopyright("")]
|
||||
[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("97ee349a-32da-4f6e-a2a0-c4b8cf3eff80")]
|
||||
|
||||
// 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")]
|
||||
@@ -0,0 +1,72 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Runtime Version:2.0.50727.4952
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace StandaloneLauncher1.Properties
|
||||
{
|
||||
using System;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// A strongly-typed resource class, for looking up localized strings, etc.
|
||||
/// </summary>
|
||||
// This class was auto-generated by the StronglyTypedResourceBuilder
|
||||
// class via a tool like ResGen or Visual Studio.
|
||||
// To add or remove a member, edit your .ResX file then rerun ResGen
|
||||
// with the /str option, or rebuild your VS project.
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "2.0.0.0")]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
||||
internal class Resources
|
||||
{
|
||||
|
||||
private static global::System.Resources.ResourceManager resourceMan;
|
||||
|
||||
private static global::System.Globalization.CultureInfo resourceCulture;
|
||||
|
||||
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
|
||||
internal Resources()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Returns the cached ResourceManager instance used by this class.
|
||||
/// </summary>
|
||||
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
internal static global::System.Resources.ResourceManager ResourceManager
|
||||
{
|
||||
get
|
||||
{
|
||||
if (object.ReferenceEquals(resourceMan, null))
|
||||
{
|
||||
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("StandaloneLauncher1.Properties.Resources", typeof(Resources).Assembly);
|
||||
resourceMan = temp;
|
||||
}
|
||||
return resourceMan;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Overrides the current thread's CurrentUICulture property for all
|
||||
/// resource lookups using this strongly typed resource class.
|
||||
/// </summary>
|
||||
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
internal static global::System.Globalization.CultureInfo Culture
|
||||
{
|
||||
get
|
||||
{
|
||||
return resourceCulture;
|
||||
}
|
||||
set
|
||||
{
|
||||
resourceCulture = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,117 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
</root>
|
||||
@@ -0,0 +1,60 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Runtime Version:2.0.50727.4952
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace StandaloneLauncher1.Properties
|
||||
{
|
||||
|
||||
|
||||
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "9.0.0.0")]
|
||||
internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase
|
||||
{
|
||||
|
||||
private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
|
||||
|
||||
public static Settings Default
|
||||
{
|
||||
get
|
||||
{
|
||||
return defaultInstance;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("")]
|
||||
public string Assembly
|
||||
{
|
||||
get
|
||||
{
|
||||
return ((string)(this["Assembly"]));
|
||||
}
|
||||
set
|
||||
{
|
||||
this["Assembly"] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("")]
|
||||
public string Namespace
|
||||
{
|
||||
get
|
||||
{
|
||||
return ((string)(this["Namespace"]));
|
||||
}
|
||||
set
|
||||
{
|
||||
this["Namespace"] = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)" GeneratedClassNamespace="StandaloneLauncher1.Properties" GeneratedClassName="Settings">
|
||||
<Profiles />
|
||||
<Settings>
|
||||
<Setting Name="Assembly" Type="System.String" Scope="User">
|
||||
<Value Profile="(Default)" />
|
||||
</Setting>
|
||||
<Setting Name="Namespace" Type="System.String" Scope="User">
|
||||
<Value Profile="(Default)" />
|
||||
</Setting>
|
||||
</Settings>
|
||||
</SettingsFile>
|
||||
@@ -0,0 +1,18 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<configuration>
|
||||
<configSections>
|
||||
<sectionGroup name="userSettings" type="System.Configuration.UserSettingsGroup, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" >
|
||||
<section name="REX.Start.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false" />
|
||||
</sectionGroup>
|
||||
</configSections>
|
||||
<userSettings>
|
||||
<REX.Start.Properties.Settings>
|
||||
<setting name="Assembly" serializeAs="String">
|
||||
<value />
|
||||
</setting>
|
||||
<setting name="Namespace" serializeAs="String">
|
||||
<value />
|
||||
</setting>
|
||||
</REX.Start.Properties.Settings>
|
||||
</userSettings>
|
||||
</configuration>
|
||||
@@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RevitAddIns>
|
||||
<AddIn Type="Command">
|
||||
<Assembly>P:\ElementReportHTML\ElementReportHTML\bin\Debug\ElementReportHTML.dll</Assembly>
|
||||
<ClientId>7f2e7b37-f1fb-45a6-be1c-be25d4f89ff5</ClientId>
|
||||
<FullClassName>REX.ElementReportHTML.DirectRevitAccess</FullClassName>
|
||||
<Text>ElementReportHTML</Text>
|
||||
<Description>ElementReportHTML</Description>
|
||||
<VendorId>ADSK</VendorId>
|
||||
<VendorDescription>Autodesk, www.autodesk.com</VendorDescription>
|
||||
</AddIn>
|
||||
</RevitAddIns>
|
||||
@@ -0,0 +1,10 @@
|
||||
set SOURCE_PATH=
|
||||
set DESTINATION_PATH=
|
||||
|
||||
if not exist "%DESTINATION_PATH%\ElementReportHTML\ElementReportHTML.dll" goto end
|
||||
if not exist "%SOURCE_PATH%\ElementReportHTML\ElementReportHTML\bin\Debug\ElementReportHTML.dll" goto end
|
||||
|
||||
copy "%SOURCE_PATH%\ElementReportHTML\ElementReportHTML\bin\Debug\ElementReportHTML.dll" "%DESTINATION_PATH%\ElementReportHTML\ElementReportHTML.dll"
|
||||
copy "%SOURCE_PATH%\ElementReportHTML\ElementReportHTML\bin\Debug\ElementReportHTML.pdb" "%DESTINATION_PATH%\ElementReportHTML\ElementReportHTML.pdb"
|
||||
|
||||
:end
|
||||
|
After Width: | Height: | Size: 2.9 KiB |
@@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<options product="REX" name="REX">
|
||||
<option name="SDK" description="SDK" description_full="SDK" version="" domain="" date="">
|
||||
<option name="ElementReportHTML" description="ElementReportHTML" description_full="ElementReportHTML" version="0.5" domain="" date="" type="">
|
||||
<data>
|
||||
<data.run type="ASSEMBLY" path="ElementReportHTML" file="ElementReportHTML.dll" class="REX.ElementReportHTML.Application" direct_revit_class="REX.ElementReportHTML.DirectRevitAccess"/>
|
||||
</data>
|
||||
</option>
|
||||
</option>
|
||||
</options>
|
||||
|
After Width: | Height: | Size: 940 B |
|
After Width: | Height: | Size: 28 KiB |
@@ -0,0 +1,52 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<ROXML version="1.0">
|
||||
<header>
|
||||
<contents type="configuration" version="1.5"/>
|
||||
<product type="component" category="library" technology=".net" name="REX" />
|
||||
</header>
|
||||
|
||||
<settings>
|
||||
<control>
|
||||
<!--
|
||||
version name
|
||||
|
||||
name = "", "2010", ....
|
||||
-->
|
||||
<version name="2012"/>
|
||||
|
||||
<!--
|
||||
multi language architecture
|
||||
|
||||
suported = "true", "false"
|
||||
-->
|
||||
<languages supported="false"/>
|
||||
|
||||
<!--
|
||||
user interface
|
||||
|
||||
supported = "true", "false"
|
||||
-->
|
||||
<userinterface supported="true" form="modal"/>
|
||||
|
||||
<!--
|
||||
context settings
|
||||
|
||||
suported = "true", "false"
|
||||
version = "", "2010", ....
|
||||
optionlist = "subscription;..."
|
||||
architecture = "x86", "x64"
|
||||
parameters = "true", "false"
|
||||
subname = "", some sub-product name
|
||||
form = "modal" (""), "control", "non-modal"
|
||||
-->
|
||||
<context name="Civil3D" supported="false" form="non-modal" version="" optionlist="" architecture="" parameters="false"/>
|
||||
<context name="Robot" supported="false" form="non-modal" version="" optionlist="" architecture="" parameters="false"/>
|
||||
<context name="RCad" supported="false" form="non-modal" version="" optionlist="" architecture="" parameters="false"/>
|
||||
|
||||
<context name="Revit" subname="Structure" optionlist="" supported="true" version="" parameters="true"/>
|
||||
<context name="Revit" subname="Architecture" optionlist="" supported="true" version="" parameters="true"/>
|
||||
<context name="Revit" subname="MEP" optionlist="" supported="true" version="" parameters="true"/>
|
||||
<context name="Revit" supported="true" form="modal" version="" optionlist="" architecture="" parameters="true"/>
|
||||
</control>
|
||||
</settings>
|
||||
</ROXML>
|
||||
@@ -0,0 +1,293 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProductVersion>9.0.30729</ProductVersion>
|
||||
<SchemaVersion>2.0</SchemaVersion>
|
||||
<ProjectGuid>{6E408185-DD95-44DA-960D-7D5CD7237E8A}</ProjectGuid>
|
||||
<OutputType>library</OutputType>
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<RootNamespace>REX.ElementReportHTML</RootNamespace>
|
||||
<AssemblyName>ElementReportHTML</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.5.2</TargetFrameworkVersion>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
<ProjectTypeGuids>{60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<FileUpgradeFlags>
|
||||
</FileUpgradeFlags>
|
||||
<OldToolsVersion>3.5</OldToolsVersion>
|
||||
<UpgradeBackupLocation />
|
||||
<PublishUrl>publish\</PublishUrl>
|
||||
<Install>true</Install>
|
||||
<InstallFrom>Disk</InstallFrom>
|
||||
<UpdateEnabled>false</UpdateEnabled>
|
||||
<UpdateMode>Foreground</UpdateMode>
|
||||
<UpdateInterval>7</UpdateInterval>
|
||||
<UpdateIntervalUnits>Days</UpdateIntervalUnits>
|
||||
<UpdatePeriodically>false</UpdatePeriodically>
|
||||
<UpdateRequired>false</UpdateRequired>
|
||||
<MapFileExtensions>true</MapFileExtensions>
|
||||
<ApplicationRevision>0</ApplicationRevision>
|
||||
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
|
||||
<IsWebBootstrapper>false</IsWebBootstrapper>
|
||||
<UseApplicationTrust>false</UseApplicationTrust>
|
||||
<BootstrapperEnabled>true</BootstrapperEnabled>
|
||||
<TargetFrameworkProfile />
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>bin\Debug\</OutputPath>
|
||||
<DefineConstants>TRACE;DEBUG;TV2_0;TV1_5;REXUI;REXUIL2;REXEI;REVIT;$(AssemblyName)</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<DocumentationFile>
|
||||
</DocumentationFile>
|
||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||
<Prefer32Bit>false</Prefer32Bit>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>bin\Release\</OutputPath>
|
||||
<DefineConstants>TRACE;TV2_0;TV1_5;REXUI;REXUIL2;REXEI;REVIT;$(AssemblyName)</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||
<Prefer32Bit>false</Prefer32Bit>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="Autodesk.Common.AResourcesControl, Version=1.0.0.0, Culture=neutral, PublicKeyToken=ff3304d4f320ee59, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>a:\references\Autodesk.Common.AResourcesControl.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Autodesk.REX.Framework, Version=2018.0.0.0, Culture=neutral, PublicKeyToken=51e16e3b26b42eda, processorArchitecture=MSIL">
|
||||
<SpecificVersion>True</SpecificVersion>
|
||||
<HintPath>Autodesk.REX.Framework.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Interop.ROHTMLLib">
|
||||
<HintPath>C:\Program Files\Common Files\Autodesk Shared\Extensions 2018\Framework\Interop\Interop.ROHTMLLib.dll</HintPath>
|
||||
<EmbedInteropTypes>True</EmbedInteropTypes>
|
||||
</Reference>
|
||||
<Reference Include="PresentationCore">
|
||||
<RequiredTargetFramework>3.0</RequiredTargetFramework>
|
||||
</Reference>
|
||||
<Reference Include="PresentationFramework">
|
||||
<RequiredTargetFramework>3.0</RequiredTargetFramework>
|
||||
</Reference>
|
||||
<Reference Include="RevitAPI">
|
||||
<HintPath>q:\Ref\RevitAPI.dll</HintPath>
|
||||
<Private>False</Private>
|
||||
</Reference>
|
||||
<Reference Include="RevitAPIUI">
|
||||
<HintPath>q:\Ref\RevitAPIUI.dll</HintPath>
|
||||
<Private>False</Private>
|
||||
</Reference>
|
||||
<Reference Include="REX.API">
|
||||
<HintPath>C:\Program Files\Common Files\Autodesk Shared\Extensions 2018\Framework\Foundation\REX.API.dll</HintPath>
|
||||
<Private>False</Private>
|
||||
</Reference>
|
||||
<Reference Include="REX.Controls">
|
||||
<HintPath>C:\Program Files\Common Files\Autodesk Shared\Extensions 2018\Framework\Engine\REX.Controls.dll</HintPath>
|
||||
<Private>False</Private>
|
||||
</Reference>
|
||||
<Reference Include="REX.Controls.WPF">
|
||||
<HintPath>C:\Program Files\Common Files\Autodesk Shared\Extensions 2018\Framework\Engine\REX.Controls.WPF.dll</HintPath>
|
||||
<Private>False</Private>
|
||||
</Reference>
|
||||
<Reference Include="REX.Foundation">
|
||||
<HintPath>C:\Program Files\Common Files\Autodesk Shared\Extensions 2018\Framework\Foundation\REX.Foundation.dll</HintPath>
|
||||
<Private>False</Private>
|
||||
</Reference>
|
||||
<Reference Include="REX.Foundation.WPF">
|
||||
<HintPath>C:\Program Files\Common Files\Autodesk Shared\Extensions 2018\Framework\Foundation\REX.Foundation.WPF.dll</HintPath>
|
||||
<Private>False</Private>
|
||||
</Reference>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Core">
|
||||
<RequiredTargetFramework>3.5</RequiredTargetFramework>
|
||||
</Reference>
|
||||
<Reference Include="System.Data" />
|
||||
<Reference Include="System.Runtime.Remoting" />
|
||||
<Reference Include="System.Windows.Presentation">
|
||||
<RequiredTargetFramework>3.5</RequiredTargetFramework>
|
||||
</Reference>
|
||||
<Reference Include="System.Xaml" />
|
||||
<Reference Include="System.Xml" />
|
||||
<Reference Include="UIAutomationProvider">
|
||||
<RequiredTargetFramework>3.0</RequiredTargetFramework>
|
||||
</Reference>
|
||||
<Reference Include="WindowsBase">
|
||||
<RequiredTargetFramework>3.0</RequiredTargetFramework>
|
||||
</Reference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="Main\Node.cs" />
|
||||
<Compile Include="Module\Application.cs" />
|
||||
<Compile Include="Module\DirectAccess.cs" />
|
||||
<Compile Include="Module\Foundation.cs" />
|
||||
<Compile Include="Main\Data.cs" />
|
||||
<Compile Include="Main\Revit\ExtensionRevit.cs" />
|
||||
<Compile Include="Main\Extension.cs" />
|
||||
<Compile Include="Main\Settings.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
<Compile Include="Resources\Dialogs\MainControl.xaml.cs">
|
||||
<DependentUpon>MainControl.xaml</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Resources\Dialogs\MainWindow.xaml.cs">
|
||||
<DependentUpon>MainWindow.xaml</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Resources\Dialogs\ReportControl.xaml.cs">
|
||||
<DependentUpon>ReportControl.xaml</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Resources\Dialogs\ReportSettingsControl.xaml.cs">
|
||||
<DependentUpon>ReportSettingsControl.xaml</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Resources\Strings\Texts.Designer.cs">
|
||||
<AutoGen>True</AutoGen>
|
||||
<DesignTime>True</DesignTime>
|
||||
<DependentUpon>Texts.resx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Main\Results.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<EmbeddedResource Include="Resources\Strings\Texts.resx">
|
||||
<SubType>Designer</SubType>
|
||||
<Generator>ResXFileCodeGenerator</Generator>
|
||||
<LastGenOutput>Texts.Designer.cs</LastGenOutput>
|
||||
</EmbeddedResource>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Resource Include="Resources\Other\Images\TOOLBAR_help.png" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Resource Include="Resources\Other\Images\TOOLBAR_info.png" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="Additional\AREXStart\AREXStart.csproj" />
|
||||
<None Include="Additional\AREXStart\app.config" />
|
||||
<None Include="Additional\AREXStart\Program.cs" />
|
||||
<None Include="Additional\AREXStart\Properties\AssemblyInfo.cs" />
|
||||
<None Include="Additional\AREXStart\Properties\Resources.Designer.cs" />
|
||||
<None Include="Additional\AREXStart\Properties\Settings.Designer.cs" />
|
||||
<None Include="Additional\AREXStart\Properties\Resources.resx" />
|
||||
<None Include="Additional\AREXStart\Properties\Settings.settings" />
|
||||
<None Include="Additional\buildevents.bat" />
|
||||
<EmbeddedResource Include="Resources\Other\Images\REX.ico" />
|
||||
<Resource Include="Resources\Other\Images\REX_logo.png" />
|
||||
<Resource Include="Resources\Other\Images\TOOLBAR_calculate.png" />
|
||||
<Resource Include="Resources\Other\Images\TOOLBAR_close.png" />
|
||||
<Resource Include="Resources\Other\Images\TOOLBAR_open.png" />
|
||||
<Resource Include="Resources\Other\Images\TOOLBAR_print.png" />
|
||||
<Resource Include="Resources\Other\Images\TOOLBAR_save.png" />
|
||||
<Resource Include="Resources\Other\Images\TOOLBAR_save_as.png" />
|
||||
<Content Include="Additional\ElementReportHTML.addin" />
|
||||
<Content Include="Configuration\REX.png">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="Configuration\REX_small.png">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="Configuration\REX_tooltip.png">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="Configuration\REX_revit.xml">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="Configuration\settings.xml">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="en-US\REX_revit.xml">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="pl-PL\REX_revit.xml">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Resource Include="Resources\Other\Images\TOOLBAR_rs.png" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<BootstrapperPackage Include="Microsoft.Net.Client.3.5">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>.NET Framework 3.5 SP1 Client Profile</ProductName>
|
||||
<Install>false</Install>
|
||||
</BootstrapperPackage>
|
||||
<BootstrapperPackage Include="Microsoft.Net.Framework.2.0">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>.NET Framework 2.0 %28x86%29</ProductName>
|
||||
<Install>true</Install>
|
||||
</BootstrapperPackage>
|
||||
<BootstrapperPackage Include="Microsoft.Net.Framework.3.0">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>.NET Framework 3.0 %28x86%29</ProductName>
|
||||
<Install>false</Install>
|
||||
</BootstrapperPackage>
|
||||
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>.NET Framework 3.5</ProductName>
|
||||
<Install>false</Install>
|
||||
</BootstrapperPackage>
|
||||
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>.NET Framework 3.5 SP1</ProductName>
|
||||
<Install>false</Install>
|
||||
</BootstrapperPackage>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Page Include="Resources\Dialogs\MainControl.xaml">
|
||||
<SubType>Designer</SubType>
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
<SubType>Designer</SubType>
|
||||
</Page>
|
||||
<Page Include="Resources\Dialogs\MainWindow.xaml">
|
||||
<SubType>Designer</SubType>
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
<SubType>Designer</SubType>
|
||||
</Page>
|
||||
<Page Include="Resources\Dialogs\ReportControl.xaml">
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
<SubType>Designer</SubType>
|
||||
</Page>
|
||||
<Page Include="Resources\Dialogs\ReportSettingsControl.xaml">
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
<SubType>Designer</SubType>
|
||||
</Page>
|
||||
</ItemGroup>
|
||||
<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>
|
||||
-->
|
||||
<PropertyGroup>
|
||||
<PostBuildEvent>
|
||||
if not exist "q:\exe.$(ConfigurationName)" goto InstalledSDK
|
||||
|
||||
md "q:\exe.$(ConfigurationName)"
|
||||
md "q:\exe.$(ConfigurationName)\Modules"
|
||||
md "q:\exe.$(ConfigurationName)\Modules\$(ProjectName)"
|
||||
|
||||
del "q:\exe.$(ConfigurationName)\Modules\$(ProjectName)\$(TargetFileName)"
|
||||
|
||||
copy "$(TargetPath)" "q:\exe.$(ConfigurationName)\Modules\$(ProjectName)\$(TargetFileName)"
|
||||
copy "$(TargetDir)Interop.*.dll" "q:\exe.$(ConfigurationName)\Modules\$(ProjectName)\"
|
||||
|
||||
goto END
|
||||
|
||||
:InstalledSDK
|
||||
|
||||
:END
|
||||
|
||||
if exist "$(ProjectDir)Additional\buildevents.bat" call "$(ProjectDir)Additional\buildevents.bat"
|
||||
|
||||
xcopy "$(ProjectDir)Additional\*.addin" "R:\Autodesk\Revit\Addins\2018" /S /R /K /V /I /F /C /Y
|
||||
|
||||
</PostBuildEvent>
|
||||
</PropertyGroup>
|
||||
</Project>
|
||||
@@ -0,0 +1,309 @@
|
||||
//
|
||||
// (C) Copyright 2007-2011 by Autodesk, Inc. All rights reserved.
|
||||
//
|
||||
// Permission to use, copy, modify, and distribute this software in
|
||||
// object code form for any purpose and without fee is hereby granted
|
||||
// provided that the above copyright notice appears in all copies and
|
||||
// that both that copyright notice and the limited warranty and
|
||||
// restricted rights notice below appear in all supporting
|
||||
// documentation.
|
||||
//
|
||||
// AUTODESK PROVIDES THIS PROGRAM 'AS IS' AND WITH ALL ITS FAULTS.
|
||||
// AUTODESK SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTY OF
|
||||
// MERCHANTABILITY OR FITNESS FOR A PARTICULAR USE. AUTODESK, INC.
|
||||
// DOES NOT WARRANT THAT THE OPERATION OF THE PROGRAM WILL BE
|
||||
// UNINTERRUPTED OR ERROR FREE.
|
||||
//
|
||||
// Use, duplication, or disclosure by the U.S. Government is subject to
|
||||
// restrictions set forth in FAR 52.227-19 (Commercial Computer
|
||||
// Software - Restricted Rights) and DFAR 252.227-7013(c)(1)(ii)
|
||||
// (Rights in Technical Data and Computer Software), as applicable.
|
||||
|
||||
/// <summary>
|
||||
/// </summary>
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using System.IO;
|
||||
|
||||
using Autodesk.REX.Framework;
|
||||
|
||||
using REX.Common;
|
||||
using REX.ElementReportHTML.Main;
|
||||
|
||||
namespace REX.ElementReportHTML
|
||||
{
|
||||
[Serializable]
|
||||
internal class DataSerializable : REXExtensionDataSerializable
|
||||
{
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="DataSerializable"/> class.
|
||||
/// </summary>
|
||||
public DataSerializable()
|
||||
{
|
||||
}
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="REXExtensionDataSerializable"/> class.
|
||||
/// A required constructor by ISerializable to deserialize the object. It is important to implement
|
||||
/// this required constructor. Note that no warning will be given if this constructor is absent and
|
||||
/// an exception will be thrown if you attempt to deserialize this object.
|
||||
/// It is a good idea to make the constructor protected unless the class was sealed, in which case
|
||||
/// the constructor should be marked as private. Making the constructor protected ensures that users
|
||||
/// cannot explicitly call this constructor while still allowing derived classes to call it. The same
|
||||
/// logic applies if this class was sealed except that there will be no derived classes.
|
||||
/// </summary>
|
||||
/// <example>
|
||||
/// <code>
|
||||
/// protected REXExtensionDataSerializable(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext ctx)
|
||||
/// {
|
||||
/// strPrivate = info.GetString( "s1" );
|
||||
/// strPublic = info.GetString( "s2" );
|
||||
/// obMyClass = (SomeClass) info.GetValue( "ob", typeof(SomeClass) ); // deserializing an object
|
||||
/// }
|
||||
/// </code>
|
||||
/// </example>
|
||||
/// <param name="info">The info.</param>
|
||||
/// <param name="ctx">The CTX.</param>
|
||||
protected DataSerializable(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext ctx)
|
||||
{
|
||||
}
|
||||
/// <summary>
|
||||
/// A required method by ISerializable to serialize the object. Simply add variables to be serialized
|
||||
/// as name/value pairs to SerializationInfo object. Here you decide which member variables to serialize.
|
||||
/// Note that any name can be used to identify each serialized field
|
||||
/// </summary>
|
||||
/// <example>
|
||||
/// <code>
|
||||
/// public virtual void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext ctx)
|
||||
/// {
|
||||
/// info.AddValue("s1", strPrivate);
|
||||
/// info.AddValue("s2", strPublic);
|
||||
/// into.AddValue("ob", obMyClass); // Serializing an object
|
||||
/// }
|
||||
/// </code>
|
||||
/// </example>
|
||||
/// <param name="info">The info.</param>
|
||||
/// <param name="ctx">The CTX.</param>
|
||||
public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext ctx)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Sets the data reference.
|
||||
/// </summary>
|
||||
/// <param name="data">The data.</param>
|
||||
public void SetDataReference(Data data)
|
||||
{
|
||||
DataRef = data;
|
||||
}
|
||||
|
||||
private Data DataRef;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Main data class to store all data in REX base units.
|
||||
/// </summary>
|
||||
internal class Data : REXData
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets or sets the main node of the tree structure. The module stores data in the tree structure.
|
||||
/// There is a following hierarchy: Root,Category,Element,Parameter
|
||||
/// </summary>
|
||||
public Node MainNode { get; set; }
|
||||
/// <summary>
|
||||
/// Gets or sets the list of selected categories.
|
||||
/// </summary>
|
||||
/// <value>The selected categories.</value>
|
||||
public List<Node> SelectedCategories { get; set; }
|
||||
/// <summary>
|
||||
/// Gets or sets the selected element.
|
||||
/// </summary>
|
||||
/// <value>The selected element.</value>
|
||||
public Node SelectedElement { get; set; }
|
||||
/// <summary>
|
||||
/// Gets or sets a value indicating whether the module should organize the note by Categories or the selected element.
|
||||
/// </summary>
|
||||
/// <value><c>true</c> if by id; otherwise, <c>false</c>.</value>
|
||||
public bool IdMode { get; set; }
|
||||
/// <summary>
|
||||
/// Initializes a new instance of a <see cref="Data"/> class.
|
||||
/// </summary>
|
||||
/// <param name="Ext">The reference to REXExtension object.</param>
|
||||
public Data(REXExtension Ext)
|
||||
: base(Ext)
|
||||
{
|
||||
VersionCurrent = 1;
|
||||
DataSerializableRef = new DataSerializable();
|
||||
SelectedCategories = new List<Node>();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Get the main extension.
|
||||
/// </summary>
|
||||
/// <value>The main extension.</value>
|
||||
public Extension ThisMainExtension
|
||||
{
|
||||
get
|
||||
{
|
||||
return (Extension)ThisExtension;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Called when set defaults.
|
||||
/// </summary>
|
||||
/// <param name="UnitsSystem">The units system.</param>
|
||||
/// <example>
|
||||
/// <code>
|
||||
/// #region Structures
|
||||
/// public double A;
|
||||
/// public double B;
|
||||
/// public double C;
|
||||
/// #endregion
|
||||
///
|
||||
/// protected override void OnSetDefaults(REXUnitsSystemType UnitsSystem)
|
||||
/// {
|
||||
/// if (UnitsSystem == REXUnitsSystemType.Imperial)
|
||||
/// {
|
||||
/// A = 10;
|
||||
/// B = 10;
|
||||
/// C = 10;
|
||||
/// }
|
||||
/// else if (UnitsSystem == REXUnitsSystemType.Metric)
|
||||
/// {
|
||||
/// A = ThisExtension.Units.BaseFromInterface(20, REXUnits.EnumUnits.Dimensions_SectionDim);
|
||||
/// B = ThisExtension.Units.BaseFromInterface(20, REXUnits.EnumUnits.Dimensions_ConnectionDim);
|
||||
/// C = ThisExtension.Units.BaseFromInterface(20, REXUnits.EnumUnits.Forces_Force);
|
||||
/// }
|
||||
/// }
|
||||
/// </code>
|
||||
/// </example>
|
||||
protected override void OnSetDefaults(REXUnitsSystemType UnitsSystem)
|
||||
{
|
||||
if (UnitsSystem == REXUnitsSystemType.Imperial)
|
||||
{
|
||||
}
|
||||
else if (UnitsSystem == REXUnitsSystemType.Metric)
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Called when save data.
|
||||
/// </summary>
|
||||
/// <param name="Data">The data.</param>
|
||||
/// <returns>Returns true if succeeded.</returns>
|
||||
/// <example>
|
||||
/// <code>
|
||||
///protected override bool OnSave(ref BinaryWriter Data)
|
||||
///{
|
||||
/// if (Mode == DataMode.ModeFile)
|
||||
/// {
|
||||
/// }
|
||||
/// if (Mode == DataMode.ModeProject)
|
||||
/// {
|
||||
/// }
|
||||
/// if (Mode == DataMode.ModeObject)
|
||||
/// {
|
||||
/// }
|
||||
///
|
||||
/// Data.Write(A);
|
||||
/// Data.Write(B);
|
||||
/// Data.Write(C);
|
||||
///
|
||||
/// return true;
|
||||
///}
|
||||
/// </code>
|
||||
/// </example>
|
||||
protected override bool OnSave(ref BinaryWriter Data)
|
||||
{
|
||||
if (Mode == DataMode.ModeFile)
|
||||
{
|
||||
}
|
||||
if (Mode == DataMode.ModeProject)
|
||||
{
|
||||
}
|
||||
if (Mode == DataMode.ModeObject)
|
||||
{
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Called when load data.
|
||||
/// </summary>
|
||||
/// <param name="Data">The data.</param>
|
||||
/// <returns>Returns true if succeeded.</returns>
|
||||
/// <example>
|
||||
/// <code>
|
||||
/// protected override bool OnLoad(ref BinaryReader Data)
|
||||
/// {
|
||||
/// if (Mode == DataMode.ModeFile)
|
||||
/// {
|
||||
/// }
|
||||
/// if (Mode == DataMode.ModeProject)
|
||||
/// {
|
||||
/// }
|
||||
/// if (Mode == DataMode.ModeObject)
|
||||
/// {
|
||||
/// }
|
||||
///
|
||||
/// if (VersionLoaded >= 1)
|
||||
/// {
|
||||
/// A = Data.ReadDouble();
|
||||
/// B = Data.ReadDouble();
|
||||
/// C = Data.ReadDouble();
|
||||
/// }
|
||||
///
|
||||
/// return true;
|
||||
/// }
|
||||
/// </code>
|
||||
/// </example>
|
||||
protected override bool OnLoad(ref BinaryReader Data)
|
||||
{
|
||||
if (Mode == DataMode.ModeFile)
|
||||
{
|
||||
}
|
||||
if (Mode == DataMode.ModeProject)
|
||||
{
|
||||
}
|
||||
if (Mode == DataMode.ModeObject)
|
||||
{
|
||||
}
|
||||
|
||||
if (VersionLoaded >= 1)
|
||||
{
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Called when save data.
|
||||
/// </summary>
|
||||
/// <param name="Data">The data.</param>
|
||||
/// <returns>Returns true if succeeded.</returns>
|
||||
protected override bool OnSave(ref Stream DataStream, ref System.Runtime.Serialization.IFormatter DataFormater)
|
||||
{
|
||||
if (DataSerializableRef != null)
|
||||
DataFormater.Serialize(DataStream, DataSerializableRef);
|
||||
return true;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Called when load data.
|
||||
/// </summary>
|
||||
/// <param name="Data">The data.</param>
|
||||
/// <returns>Returns true if succeeded.</returns>
|
||||
protected override bool OnLoad(ref Stream DataStream, ref System.Runtime.Serialization.IFormatter DataFormater)
|
||||
{
|
||||
DataSerializableRef = (DataSerializable)DataFormater.Deserialize(DataStream);
|
||||
return true;
|
||||
}
|
||||
|
||||
internal DataSerializable DataSerializableRef;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,591 @@
|
||||
//
|
||||
// (C) Copyright 2007-2011 by Autodesk, Inc. All rights reserved.
|
||||
//
|
||||
// Permission to use, copy, modify, and distribute this software in
|
||||
// object code form for any purpose and without fee is hereby granted
|
||||
// provided that the above copyright notice appears in all copies and
|
||||
// that both that copyright notice and the limited warranty and
|
||||
// restricted rights notice below appear in all supporting
|
||||
// documentation.
|
||||
//
|
||||
// AUTODESK PROVIDES THIS PROGRAM 'AS IS' AND WITH ALL ITS FAULTS.
|
||||
// AUTODESK SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTY OF
|
||||
// MERCHANTABILITY OR FITNESS FOR A PARTICULAR USE. AUTODESK, INC.
|
||||
// DOES NOT WARRANT THAT THE OPERATION OF THE PROGRAM WILL BE
|
||||
// UNINTERRUPTED OR ERROR FREE.
|
||||
//
|
||||
// Use, duplication, or disclosure by the U.S. Government is subject to
|
||||
// restrictions set forth in FAR 52.227-19 (Commercial Computer
|
||||
// Software - Restricted Rights) and DFAR 252.227-7013(c)(1)(ii)
|
||||
// (Rights in Technical Data and Computer Software), as applicable.
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// </summary>
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using System.Windows;
|
||||
using System.Threading;
|
||||
using System.Reflection;
|
||||
|
||||
using REX.Common;
|
||||
using Autodesk.REX.Framework;
|
||||
|
||||
namespace REX.ElementReportHTML
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// Main class for development.
|
||||
/// </summary>
|
||||
internal class Extension : REXExtension
|
||||
{
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="Extension"/> class.
|
||||
/// </summary>
|
||||
/// <param name="App">The reference to REXApplication object.</param>
|
||||
public Extension(REXApplication App)
|
||||
: base(App)
|
||||
{
|
||||
DataRef = new Data(this);
|
||||
ResultsRef = new Results(this);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// For standard funcionality fill following methods.
|
||||
/// </summary>
|
||||
#region Public overrided methods for develeopment
|
||||
|
||||
/// <summary>
|
||||
/// Called when Initialize.
|
||||
/// Creates dedicated extension class according main context.
|
||||
/// </summary>
|
||||
/// <returns>Returns true if succeeded.</returns>
|
||||
|
||||
public override bool OnInitialize()
|
||||
{
|
||||
|
||||
if (ThisApplication.Context2.Product.Type == REXInterfaceType.Revit)
|
||||
ExtensionRef = new Main.Revit.ExtensionRevit(this);
|
||||
|
||||
if (ExtensionRef != null)
|
||||
{
|
||||
if (!ExtensionRef.OnInitialize())
|
||||
return false;
|
||||
}
|
||||
|
||||
// insert code here.
|
||||
|
||||
return base.OnInitialize();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Creates needed structures and verify needs.
|
||||
/// </summary>
|
||||
public override void OnCreate()
|
||||
{
|
||||
base.OnCreate();
|
||||
|
||||
// insert code here.
|
||||
|
||||
if (ExtensionRef != null)
|
||||
ExtensionRef.OnCreate();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Creates sub dialog.
|
||||
/// </summary>
|
||||
public override void OnCreateDialogs()
|
||||
{
|
||||
base.OnCreateDialogs();
|
||||
|
||||
HTMLControlRef = new REX.ElementReportHTML.Resources.Dialogs.ReportControl(this);
|
||||
HtmlSettingsControlRef = new REX.ElementReportHTML.Resources.Dialogs.ReportSettingsControl(this);
|
||||
if (ExtensionRef != null)
|
||||
ExtensionRef.OnCreateDialogs();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Creates layout items and setups layout.
|
||||
/// </summary>
|
||||
public override void OnCreateLayout()
|
||||
{
|
||||
base.OnCreateLayout();
|
||||
|
||||
System.SetCaption();
|
||||
|
||||
global::System.Windows.Media.Imaging.BitmapImage logoImage = REXLibrary.GetResourceImage(GetType().Assembly, "Resources/Other/Images/REX_logo.png");
|
||||
|
||||
UI.SetLogo(logoImage);
|
||||
|
||||
Layout.ConstOptions = (long)REXUI.SetupOptions.HSplitFixed | (long)REXUI.SetupOptions.VSplitFixed;
|
||||
Layout.ConstOptions |= (long)REXUI.SetupOptions.DialogBottom | (long)REXUI.SetupOptions.TabView;
|
||||
|
||||
Layout.AddLayout(new REXLayoutItem(REXLayoutItem.LayoutType.Layout, "Layout", "", "Report", (long)0, HtmlSettingsControlRef, HTMLControlRef, logoImage));
|
||||
|
||||
HTMLControlRef.SetDialog();
|
||||
HtmlSettingsControlRef.SetDialog();
|
||||
// insert code here.
|
||||
|
||||
if (ExtensionRef != null)
|
||||
ExtensionRef.OnCreateLayout();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Set data on dialogs.
|
||||
/// </summary>
|
||||
public override void OnSetDialogs()
|
||||
{
|
||||
base.OnSetDialogs();
|
||||
|
||||
// insert code here.
|
||||
|
||||
Layout.SelectLayout("L1");
|
||||
|
||||
if (ExtensionRef != null)
|
||||
ExtensionRef.OnSetDialogs();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Get data from dialogs and sets Data's strucutres.
|
||||
/// </summary>
|
||||
public override void OnSetData()
|
||||
{
|
||||
base.OnSetData();
|
||||
|
||||
// insert code here.
|
||||
|
||||
if (ExtensionRef != null)
|
||||
ExtensionRef.OnSetData();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Called when data are loaded.
|
||||
/// </summary>
|
||||
/// <returns>Returns true if succeeded.</returns>
|
||||
public override bool OnDataLoad()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Called when data loaded.
|
||||
/// </summary>
|
||||
/// <param name="Result">If set to <c>true</c> operation succeeded; Otherwise some errors found.</param>
|
||||
public override void OnDataLoaded(bool Result)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Called when data are saved.
|
||||
/// </summary>
|
||||
/// <returns>Returns true if succeeded.</returns>
|
||||
public override bool OnDataSave()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Called when data are saved.
|
||||
/// </summary>
|
||||
/// <param name="Result">If set to <c>true</c> operation succeeded; Otherwise some errors found.</param>
|
||||
public override void OnDataSaved(bool Result)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Called when data are cleared.
|
||||
/// </summary>
|
||||
/// <param name="Implemented">If returns <c>true</c> method was implemented.</param>
|
||||
/// <returns>Returns result of clear operation.</returns>
|
||||
public override bool OnClear(out bool Implemented)
|
||||
{
|
||||
Implemented = false;
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Called when template is loaded.
|
||||
/// Only if <c>ExtensionContext.Control.StandardRunContext</c> is equals to <c>REXExtensionContext.REXStandardRunContext.OperationEditTemplate</c>.
|
||||
/// </summary>
|
||||
/// <param name="Result">If set to <c>true</c> operation succeeded; Otherwise some errors found.</param>
|
||||
public override bool OnLoadTemplate()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Called when template is saved.
|
||||
/// </summary>
|
||||
/// <param name="Result">If set to <c>true</c> operation succeeded; Otherwise some errors found.</param>
|
||||
public override bool OnSaveTemplate()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Checks status of module and shows some information for user if module can't excecute action.
|
||||
/// </summary>
|
||||
/// <returns>Returns true if module can do some action in OnRun method; otherwise false.</returns>
|
||||
public override bool OnCanRun()
|
||||
{
|
||||
bool result = true;
|
||||
|
||||
if (ExtensionRef != null)
|
||||
result &= ExtensionRef.OnCanRun();
|
||||
|
||||
// insert code here.
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Runs process calculations or other operations.
|
||||
/// </summary>
|
||||
public override void OnRun()
|
||||
{
|
||||
base.OnRun();
|
||||
|
||||
// insert code here.
|
||||
|
||||
if (ExtensionRef != null)
|
||||
ExtensionRef.OnRun();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Shows results.
|
||||
/// </summary>
|
||||
public override void OnShowResults()
|
||||
{
|
||||
base.OnShowResults();
|
||||
|
||||
// insert code here.
|
||||
|
||||
if (ExtensionRef != null)
|
||||
ExtensionRef.OnShowResults();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// If returns true dialog will close after OK button is clicked.
|
||||
/// </summary>
|
||||
/// <param name="Type">The closing type. See <see cref="REXCanCloseType"/> enum.</param>
|
||||
/// <returns>Returns true if module can be closed.</returns>
|
||||
public override bool OnCanClose(REXCanCloseType Type)
|
||||
{
|
||||
bool result = true;
|
||||
|
||||
if (ExtensionRef != null)
|
||||
result &= ExtensionRef.OnCanClose(Type);
|
||||
|
||||
// insert code here.
|
||||
|
||||
result &= base.OnCanClose(Type);
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Called during closing module.
|
||||
/// </summary>
|
||||
public override void OnClose()
|
||||
{
|
||||
base.OnClose();
|
||||
|
||||
// insert code here.
|
||||
|
||||
if (ExtensionRef != null)
|
||||
ExtensionRef.OnClose();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Activates or deactivates layout - module can modify layout before or after activation.
|
||||
/// </summary>
|
||||
/// <param name="LItem">The layout item.</param>
|
||||
/// <param name="Activate">If set to <c>true</c> activate.</param>
|
||||
public override void OnActivateLayout(REXLayoutItem LItem, bool Activate)
|
||||
{
|
||||
base.OnActivateLayout(LItem, Activate);
|
||||
|
||||
// insert code here.
|
||||
|
||||
if (ExtensionRef != null)
|
||||
ExtensionRef.OnActivateLayout(LItem, Activate);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Called when an error is selected on errors list dialog.
|
||||
/// Raises the <see cref="ErrorSelected"/> event.
|
||||
/// </summary>
|
||||
/// <param name="e">The <see cref="Autodesk.REX.Framework.REXErrorsEventArgs"/> instance containing the event data.</param>
|
||||
public override void OnErrorSelected(REXErrorsEventArgs e)
|
||||
{
|
||||
base.OnErrorSelected(e);
|
||||
|
||||
// insert code here.
|
||||
|
||||
if (ExtensionRef != null)
|
||||
ExtensionRef.OnErrorSelected(e);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Called when preferences changed.
|
||||
/// </summary>
|
||||
public override void OnPreferencesChanged()
|
||||
{
|
||||
DFM.BeforeParamsChange();
|
||||
|
||||
base.OnPreferencesChanged();
|
||||
|
||||
// insert code here.
|
||||
|
||||
if (ExtensionRef != null)
|
||||
ExtensionRef.OnPreferencesChanged();
|
||||
|
||||
DFM.AfterParamsChange();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Get specified text from resources. Needed for obfuscated strings tables.
|
||||
/// </summary>
|
||||
/// <param name="Name">The name of string.</param>
|
||||
/// <returns>Returns specified text.</returns>
|
||||
public override string OnGetText(string Name)
|
||||
{
|
||||
if (Name == REXConst.ENG_ResModuleDescription)
|
||||
return Resources.Strings.Texts.REX_ModuleDescription;
|
||||
if (Name == REXConst.ENG_ResVersionInfo)
|
||||
return Resources.Strings.Texts.REX_VersionInfo;
|
||||
|
||||
// insert code here.
|
||||
|
||||
if (ExtensionRef != null)
|
||||
{
|
||||
string result = ExtensionRef.OnGetText(Name);
|
||||
if (!string.IsNullOrEmpty(result))
|
||||
return result;
|
||||
}
|
||||
|
||||
return Resources.Strings.Texts.ResourceManager.GetString(Name);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Commands the specified command struct.
|
||||
/// </summary>
|
||||
/// <param name="CommandStruct">The command struct.</param>
|
||||
/// <returns>Returns result of event operation.</returns>
|
||||
public override object OnCommand(ref REXCommand CommandStruct)
|
||||
{
|
||||
object result = null;
|
||||
|
||||
if (ExtensionRef != null)
|
||||
result = ExtensionRef.OnCommand(ref CommandStruct);
|
||||
|
||||
// insert code here.
|
||||
|
||||
if (result == null)
|
||||
return base.OnCommand(ref CommandStruct);
|
||||
else
|
||||
return result;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Called when event.
|
||||
/// </summary>
|
||||
/// <param name="EventStruct">The event struct.</param>
|
||||
/// <returns>Returns result of event operation.</returns>
|
||||
public override object OnEvent(ref REXEvent EventStruct)
|
||||
{
|
||||
object result = null;
|
||||
|
||||
if (ExtensionRef != null)
|
||||
result = ExtensionRef.OnEvent(ref EventStruct);
|
||||
|
||||
// insert code here.
|
||||
|
||||
if (result == null)
|
||||
return base.OnEvent(ref EventStruct);
|
||||
else
|
||||
return result;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Commands the specified command struct.
|
||||
/// </summary>
|
||||
/// <param name="CommandStruct">The command struct.</param>
|
||||
/// <returns>Returns result of event operation.</returns>
|
||||
public override object Command(ref REXCommand CommandStruct)
|
||||
{
|
||||
// insert code here.
|
||||
|
||||
return base.Command(ref CommandStruct);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Events the specified event struct.
|
||||
/// </summary>
|
||||
/// <param name="EventStruct">The event struct.</param>
|
||||
/// <returns>Returns result of event operation.</returns>
|
||||
public override object Event(ref REXEvent EventStruct)
|
||||
{
|
||||
// insert code here.
|
||||
|
||||
return base.Event(ref EventStruct);
|
||||
}
|
||||
#endregion
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For non standard funcionality fill following methods.
|
||||
/// </summary>
|
||||
#region Public overrided methods for develeopment
|
||||
|
||||
/// <summary>
|
||||
/// Create all needed objects
|
||||
/// </summary>
|
||||
public override bool Create()
|
||||
{
|
||||
bool result = base.Create();
|
||||
|
||||
// insert code here.
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Creates all needed references and data.
|
||||
/// </summary>
|
||||
public override void Setup()
|
||||
{
|
||||
base.Setup();
|
||||
|
||||
// insert code here.
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region Public overrided UI methods - Form and Control reference
|
||||
/// <summary>
|
||||
/// Get reference to main control which will be embedded on MainForm.
|
||||
/// </summary>
|
||||
/// <returns>Returns reference to MainControl object based on REXExtensionControl.</returns>
|
||||
public Resources.Dialogs.MainControl MainControl()
|
||||
{
|
||||
if (object.ReferenceEquals(ControlRef, null))
|
||||
ControlRef = new Resources.Dialogs.MainControl(this);
|
||||
|
||||
return ControlRef;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Get reference to main form.
|
||||
/// </summary>
|
||||
/// <returns>Returns reference to MainForm object based on REXExtensionForm.</returns>
|
||||
public override REXExtensionWindow GetWindow()
|
||||
{
|
||||
if (object.ReferenceEquals(WindowRef, null))
|
||||
WindowRef = new Resources.Dialogs.MainWindow(this);
|
||||
|
||||
return (REXExtensionWindow)WindowRef;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Get the main control. Internally calls <see cref="MainControl()"/> method.
|
||||
/// </summary>
|
||||
/// <returns>Returns reference to MainControl object based on REXExtensionControl.</returns>
|
||||
public override REXExtensionControl GetControl()
|
||||
{
|
||||
return MainControl();
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region Public overrided data and results
|
||||
/// <summary>
|
||||
/// Get the data.
|
||||
/// </summary>
|
||||
/// <value>The data.</value>
|
||||
public Data Data
|
||||
{
|
||||
get
|
||||
{
|
||||
return DataRef;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Get the results.
|
||||
/// </summary>
|
||||
/// <value>The results.</value>
|
||||
public Results Results
|
||||
{
|
||||
get
|
||||
{
|
||||
return ResultsRef;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Get the API.
|
||||
/// </summary>
|
||||
/// <returns>Returns reference to main API object.</returns>
|
||||
public override Object GetAPI()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Get the results.
|
||||
/// </summary>
|
||||
/// <returns>Returns reference to object based on REXResults object.</returns>
|
||||
public override REXResults GetResults()
|
||||
{
|
||||
return ResultsRef;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets the data.
|
||||
/// </summary>
|
||||
/// <returns>Returns reference to object based on REXData object.</returns>
|
||||
public override REXData GetData()
|
||||
{
|
||||
return DataRef;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Get the settings.
|
||||
/// </summary>
|
||||
/// <returns>Returns reference to object based on REXExtensionSettings object.</returns>
|
||||
public override REXExtensionSettings GetSettings()
|
||||
{
|
||||
if (ExtensionSettingsRef == null)
|
||||
ExtensionSettingsRef = new ExtensionSettings(this);
|
||||
return ExtensionSettingsRef;
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region My methods
|
||||
|
||||
public void RefreshNote()
|
||||
{
|
||||
HTMLControlRef.FillNote();
|
||||
}
|
||||
|
||||
#endregion
|
||||
//DOM-IGNORE-BEGIN
|
||||
#region Private members
|
||||
private Data DataRef;
|
||||
private Results ResultsRef;
|
||||
|
||||
private Resources.Dialogs.MainWindow WindowRef;
|
||||
private Resources.Dialogs.MainControl ControlRef;
|
||||
|
||||
private Resources.Dialogs.ReportSettingsControl HtmlSettingsControlRef;
|
||||
private Resources.Dialogs.ReportControl HTMLControlRef;
|
||||
|
||||
private ExtensionSettings ExtensionSettingsRef;
|
||||
|
||||
private IREXExtension ExtensionRef;
|
||||
#endregion
|
||||
//DOM-IGNORE-END
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,118 @@
|
||||
//
|
||||
// (C) Copyright 2007-2011 by Autodesk, Inc. All rights reserved.
|
||||
//
|
||||
// Permission to use, copy, modify, and distribute this software in
|
||||
// object code form for any purpose and without fee is hereby granted
|
||||
// provided that the above copyright notice appears in all copies and
|
||||
// that both that copyright notice and the limited warranty and
|
||||
// restricted rights notice below appear in all supporting
|
||||
// documentation.
|
||||
//
|
||||
// AUTODESK PROVIDES THIS PROGRAM 'AS IS' AND WITH ALL ITS FAULTS.
|
||||
// AUTODESK SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTY OF
|
||||
// MERCHANTABILITY OR FITNESS FOR A PARTICULAR USE. AUTODESK, INC.
|
||||
// DOES NOT WARRANT THAT THE OPERATION OF THE PROGRAM WILL BE
|
||||
// UNINTERRUPTED OR ERROR FREE.
|
||||
//
|
||||
// Use, duplication, or disclosure by the U.S. Government is subject to
|
||||
// restrictions set forth in FAR 52.227-19 (Commercial Computer
|
||||
// Software - Restricted Rights) and DFAR 252.227-7013(c)(1)(ii)
|
||||
// (Rights in Technical Data and Computer Software), as applicable.
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace REX.ElementReportHTML.Main
|
||||
{
|
||||
/// <summary>
|
||||
/// Represents the node of the tree structure
|
||||
/// </summary>
|
||||
class Node
|
||||
{
|
||||
public const string levelRoot = "Root";
|
||||
public const string levelCategory = "Category";
|
||||
public const string levelElement = "Element";
|
||||
public const string levelParameter = "Parameter";
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the nodes list.
|
||||
/// </summary>
|
||||
/// <value>The nodes.</value>
|
||||
public Dictionary<string,Node> Nodes { get; private set; }
|
||||
/// <summary>
|
||||
/// Gets or sets the name.
|
||||
/// </summary>
|
||||
/// <value>The name.</value>
|
||||
public string Name { get; set; }
|
||||
/// <summary>
|
||||
/// Gets or sets the id.
|
||||
/// </summary>
|
||||
/// <value>The id.</value>
|
||||
public string Id { get; set; }
|
||||
/// <summary>
|
||||
/// Gets or sets the level.
|
||||
/// </summary>
|
||||
/// <value>The level.</value>
|
||||
public string Level { get; set; }
|
||||
/// <summary>
|
||||
/// Gets or sets the value.
|
||||
/// </summary>
|
||||
/// <value>The value.</value>
|
||||
public string Value { get; set; }
|
||||
/// <summary>
|
||||
/// Gets the full name.
|
||||
/// </summary>
|
||||
/// <value>The full name.</value>
|
||||
public string FullName
|
||||
{
|
||||
get
|
||||
{
|
||||
return Name + ": " + Id;
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="Node"/> class.
|
||||
/// </summary>
|
||||
public Node()
|
||||
{
|
||||
Nodes = new Dictionary<string, Node>();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Adds the node.
|
||||
/// </summary>
|
||||
/// <param name="name">The name.</param>
|
||||
/// <param name="id">The id.</param>
|
||||
/// <param name="level">The level.</param>
|
||||
/// <param name="value">The value.</param>
|
||||
/// <returns></returns>
|
||||
public Node AddNode(string name, string id, string level,string value)
|
||||
{
|
||||
if (!Nodes.ContainsKey(id))
|
||||
{
|
||||
Node newNode = new Node() { Name = name, Id = id, Level = level,Value = value};
|
||||
|
||||
Nodes.Add(id, newNode);
|
||||
|
||||
return newNode;
|
||||
}
|
||||
return null;
|
||||
}
|
||||
/// <summary>
|
||||
/// Gets the node of the specified id.
|
||||
/// </summary>
|
||||
/// <param name="id">The id.</param>
|
||||
/// <returns>The node</returns>
|
||||
public Node GetNode(string id)
|
||||
{
|
||||
Node resultNode;
|
||||
|
||||
if (Nodes.TryGetValue(id, out resultNode))
|
||||
return resultNode;
|
||||
|
||||
return null;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,288 @@
|
||||
//
|
||||
// (C) Copyright 2007-2011 by Autodesk, Inc. All rights reserved.
|
||||
//
|
||||
// Permission to use, copy, modify, and distribute this software in
|
||||
// object code form for any purpose and without fee is hereby granted
|
||||
// provided that the above copyright notice appears in all copies and
|
||||
// that both that copyright notice and the limited warranty and
|
||||
// restricted rights notice below appear in all supporting
|
||||
// documentation.
|
||||
//
|
||||
// AUTODESK PROVIDES THIS PROGRAM 'AS IS' AND WITH ALL ITS FAULTS.
|
||||
// AUTODESK SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTY OF
|
||||
// MERCHANTABILITY OR FITNESS FOR A PARTICULAR USE. AUTODESK, INC.
|
||||
// DOES NOT WARRANT THAT THE OPERATION OF THE PROGRAM WILL BE
|
||||
// UNINTERRUPTED OR ERROR FREE.
|
||||
//
|
||||
// Use, duplication, or disclosure by the U.S. Government is subject to
|
||||
// restrictions set forth in FAR 52.227-19 (Commercial Computer
|
||||
// Software - Restricted Rights) and DFAR 252.227-7013(c)(1)(ii)
|
||||
// (Rights in Technical Data and Computer Software), as applicable.
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// </summary>
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using System.Windows;
|
||||
using System.IO;
|
||||
|
||||
using Autodesk.REX.Framework;
|
||||
|
||||
using REX.Common;
|
||||
|
||||
namespace REX.ElementReportHTML
|
||||
{
|
||||
[Serializable]
|
||||
internal class ResultsSerializable : REXExtensionDataSerializable
|
||||
{
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="ResultsSerializable"/> class.
|
||||
/// </summary>
|
||||
public ResultsSerializable()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="REXExtensionDataSerializable"/> class.
|
||||
/// A required constructor by ISerializable to deserialize the object. It is important to implement
|
||||
/// this required constructor. Note that no warning will be given if this constructor is absent and
|
||||
/// an exception will be thrown if you attempt to deserialize this object.
|
||||
/// It is a good idea to make the constructor protected unless the class was sealed, in which case
|
||||
/// the constructor should be marked as private. Making the constructor protected ensures that users
|
||||
/// cannot explicitly call this constructor while still allowing derived classes to call it. The same
|
||||
/// logic applies if this class was sealed except that there will be no derived classes.
|
||||
/// </summary>
|
||||
/// <example>
|
||||
/// <code>
|
||||
/// protected REXExtensionDataSerializable(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext ctx)
|
||||
/// {
|
||||
/// strPrivate = info.GetString( "s1" );
|
||||
/// strPublic = info.GetString( "s2" );
|
||||
/// obMyClass = (SomeClass) info.GetValue( "ob", typeof(SomeClass) ); // deserializing an object
|
||||
/// }
|
||||
/// </code>
|
||||
/// </example>
|
||||
/// <param name="info">The info.</param>
|
||||
/// <param name="ctx">The CTX.</param>
|
||||
protected ResultsSerializable(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext ctx)
|
||||
{
|
||||
}
|
||||
/// <summary>
|
||||
/// A required method by ISerializable to serialize the object. Simply add variables to be serialized
|
||||
/// as name/value pairs to SerializationInfo object. Here you decide which member variables to serialize.
|
||||
/// Note that any name can be used to identify each serialized field
|
||||
/// </summary>
|
||||
/// <example>
|
||||
/// <code>
|
||||
/// public virtual void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext ctx)
|
||||
/// {
|
||||
/// info.AddValue("s1", strPrivate);
|
||||
/// info.AddValue("s2", strPublic);
|
||||
/// into.AddValue("ob", obMyClass); // Serializing an object
|
||||
/// }
|
||||
/// </code>
|
||||
/// </example>
|
||||
/// <param name="info">The info.</param>
|
||||
/// <param name="ctx">The CTX.</param>
|
||||
public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext ctx)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Sets the results reference.
|
||||
/// </summary>
|
||||
/// <param name="results">The results.</param>
|
||||
internal void SetResultsReference(Results results)
|
||||
{
|
||||
ResultsRef = results;
|
||||
}
|
||||
|
||||
private Results ResultsRef;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Main data class to store all results in REX base units.
|
||||
/// </summary>
|
||||
internal class Results : REXResults
|
||||
{
|
||||
/// <summary>
|
||||
/// Initializes a new instance of a <see cref="Results"/> class.
|
||||
/// </summary>
|
||||
/// <param name="Ext">The reference to REXExtension object.</param>
|
||||
public Results(REXExtension Ext)
|
||||
: base(Ext)
|
||||
{
|
||||
VersionCurrent = 1;
|
||||
ResultsSerializableRef = new ResultsSerializable();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Get the main extension.
|
||||
/// </summary>
|
||||
/// <value>The main extension.</value>
|
||||
internal Extension ThisMainExtension
|
||||
{
|
||||
get
|
||||
{
|
||||
return (Extension)ThisExtension;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Called when [set defaults].
|
||||
/// </summary>
|
||||
/// <param name="UnitsSystem">The units system.</param>
|
||||
/// <summary>
|
||||
/// Called when set defaults.
|
||||
/// </summary>
|
||||
/// <param name="UnitsSystem">The units system.</param>
|
||||
/// <example>
|
||||
/// <code>
|
||||
/// #region Structures
|
||||
/// public double C;
|
||||
/// public double D;
|
||||
/// #endregion
|
||||
///
|
||||
/// protected override void OnSetDefaults(REXUnitsSystemType UnitsSystem)
|
||||
/// {
|
||||
/// if (UnitsSystem == REXUnitsSystemType.Imperial)
|
||||
/// {
|
||||
/// C = 0;
|
||||
/// D = 0;
|
||||
/// }
|
||||
/// else if (UnitsSystem == REXUnitsSystemType.Metric)
|
||||
/// {
|
||||
/// C = 0;
|
||||
/// D = 0;
|
||||
/// }
|
||||
/// }
|
||||
/// </code>
|
||||
/// </example>
|
||||
protected override void OnSetDefaults(REXUnitsSystemType UnitsSystem)
|
||||
{
|
||||
if (UnitsSystem == REXUnitsSystemType.Imperial)
|
||||
{
|
||||
}
|
||||
else if (UnitsSystem == REXUnitsSystemType.Metric)
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Called when save data.
|
||||
/// </summary>
|
||||
/// <param name="Data">The data.</param>
|
||||
/// <returns>Returns true if succeeded.</returns>
|
||||
/// <example>
|
||||
/// <code>
|
||||
///protected override bool OnSave(ref BinaryWriter Data)
|
||||
///{
|
||||
/// if (Mode == DataMode.ModeFile)
|
||||
/// {
|
||||
/// }
|
||||
/// if (Mode == DataMode.ModeProject)
|
||||
/// {
|
||||
/// }
|
||||
/// if (Mode == DataMode.ModeObject)
|
||||
/// {
|
||||
/// }
|
||||
///
|
||||
/// Data.Write(C);
|
||||
/// Data.Write(D);
|
||||
///
|
||||
/// return true;
|
||||
///}
|
||||
/// </code>
|
||||
/// </example>
|
||||
protected override bool OnSave(ref BinaryWriter Data)
|
||||
{
|
||||
if (Mode == DataMode.ModeFile)
|
||||
{
|
||||
}
|
||||
if (Mode == DataMode.ModeProject)
|
||||
{
|
||||
}
|
||||
if (Mode == DataMode.ModeObject)
|
||||
{
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
/// <summary>
|
||||
/// Called when load data.
|
||||
/// </summary>
|
||||
/// <param name="Data">The data.</param>
|
||||
/// <returns>Returns true if succeeded.</returns>
|
||||
/// <example>
|
||||
/// <code>
|
||||
/// protected override bool OnLoad(ref BinaryReader Data)
|
||||
/// {
|
||||
/// if (Mode == DataMode.ModeFile)
|
||||
/// {
|
||||
/// }
|
||||
/// if (Mode == DataMode.ModeProject)
|
||||
/// {
|
||||
/// }
|
||||
/// if (Mode == DataMode.ModeObject)
|
||||
/// {
|
||||
/// }
|
||||
///
|
||||
/// if (VersionLoaded >= 1)
|
||||
/// {
|
||||
/// C = Data.ReadDouble();
|
||||
/// D = Data.ReadDouble();
|
||||
/// }
|
||||
///
|
||||
/// return true;
|
||||
/// }
|
||||
/// </code>
|
||||
/// </example>
|
||||
protected override bool OnLoad(ref BinaryReader Data)
|
||||
{
|
||||
if (Mode == DataMode.ModeFile)
|
||||
{
|
||||
}
|
||||
if (Mode == DataMode.ModeProject)
|
||||
{
|
||||
}
|
||||
if (Mode == DataMode.ModeObject)
|
||||
{
|
||||
}
|
||||
|
||||
if (VersionLoaded >= 1)
|
||||
{
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Called when save data.
|
||||
/// </summary>
|
||||
/// <param name="Data">The data.</param>
|
||||
/// <returns>Returns true if succeeded.</returns>
|
||||
protected override bool OnSave(ref Stream DataStream, ref System.Runtime.Serialization.IFormatter DataFormater)
|
||||
{
|
||||
if (ResultsSerializableRef != null)
|
||||
DataFormater.Serialize(DataStream, ResultsSerializableRef);
|
||||
return true;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Called when load data.
|
||||
/// </summary>
|
||||
/// <param name="Data">The data.</param>
|
||||
/// <returns>Returns true if succeeded.</returns>
|
||||
protected override bool OnLoad(ref Stream DataStream, ref System.Runtime.Serialization.IFormatter DataFormater)
|
||||
{
|
||||
ResultsSerializableRef = (ResultsSerializable)DataFormater.Deserialize(DataStream);
|
||||
return true;
|
||||
}
|
||||
|
||||
internal ResultsSerializable ResultsSerializableRef;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,131 @@
|
||||
//
|
||||
// (C) Copyright 2007-2011 by Autodesk, Inc. All rights reserved.
|
||||
//
|
||||
// Permission to use, copy, modify, and distribute this software in
|
||||
// object code form for any purpose and without fee is hereby granted
|
||||
// provided that the above copyright notice appears in all copies and
|
||||
// that both that copyright notice and the limited warranty and
|
||||
// restricted rights notice below appear in all supporting
|
||||
// documentation.
|
||||
//
|
||||
// AUTODESK PROVIDES THIS PROGRAM 'AS IS' AND WITH ALL ITS FAULTS.
|
||||
// AUTODESK SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTY OF
|
||||
// MERCHANTABILITY OR FITNESS FOR A PARTICULAR USE. AUTODESK, INC.
|
||||
// DOES NOT WARRANT THAT THE OPERATION OF THE PROGRAM WILL BE
|
||||
// UNINTERRUPTED OR ERROR FREE.
|
||||
//
|
||||
// Use, duplication, or disclosure by the U.S. Government is subject to
|
||||
// restrictions set forth in FAR 52.227-19 (Commercial Computer
|
||||
// Software - Restricted Rights) and DFAR 252.227-7013(c)(1)(ii)
|
||||
// (Rights in Technical Data and Computer Software), as applicable.
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
using Autodesk.REX.Framework;
|
||||
using REX.Common;
|
||||
using Autodesk.Revit.DB;
|
||||
|
||||
namespace REX.ElementReportHTML.Main.Revit
|
||||
{
|
||||
internal class ExtensionRevit : REXExtensionProduct
|
||||
{
|
||||
public ExtensionRevit(REX.Common.REXExtension Ext)
|
||||
: base(Ext)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Get the main extension.
|
||||
/// </summary>
|
||||
/// <value>The main extension.</value>
|
||||
internal Extension ThisMainExtension
|
||||
{
|
||||
get
|
||||
{
|
||||
return (Extension)ThisExtension;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Get the Data structure.
|
||||
/// </summary>
|
||||
/// <value>The main Data.</value>
|
||||
internal Data ThisMainData
|
||||
{
|
||||
get
|
||||
{
|
||||
return ThisMainExtension.Data;
|
||||
}
|
||||
}
|
||||
|
||||
#region REXExtensionProduct Members
|
||||
|
||||
public override void OnCreate()
|
||||
{
|
||||
ThisMainExtension.Data.MainNode = new Node() { Level = Node.levelRoot };
|
||||
|
||||
//The module is only interested in elements which aren't types, have geometry and aren't of a DetailComponents category.
|
||||
FilteredElementCollector collector = new FilteredElementCollector(ThisExtension.Revit.ActiveDocument);
|
||||
List<Element> elemList = new List<Element>(collector.WhereElementIsNotElementType().ToElements());
|
||||
|
||||
foreach (Element el in elemList)
|
||||
{
|
||||
if (el.Category == null || !el.CanHaveTypeAssigned())
|
||||
continue;
|
||||
|
||||
Autodesk.Revit.DB.GeometryElement geomElement = el.get_Geometry(new Options());
|
||||
BuiltInCategory bic = (BuiltInCategory)el.Category.Id.IntegerValue;
|
||||
if ((geomElement == null) || bic == BuiltInCategory.OST_DetailComponents
|
||||
|| bic == BuiltInCategory.OST_Views || bic == BuiltInCategory.OST_Cameras)
|
||||
continue;
|
||||
|
||||
Node nodeCategory = null;
|
||||
try
|
||||
{
|
||||
nodeCategory = ThisMainExtension.Data.MainNode.GetNode(el.Category.Name);
|
||||
}
|
||||
catch
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
if (nodeCategory == null)
|
||||
{
|
||||
nodeCategory = ThisMainExtension.Data.MainNode.AddNode(el.Category.Name, el.Category.Name, Node.levelCategory, "");
|
||||
ThisMainExtension.Data.SelectedCategories.Add(nodeCategory);
|
||||
}
|
||||
|
||||
Node nodeElement = nodeCategory.AddNode(el.Name, el.Id.ToString(), Node.levelElement, "");
|
||||
|
||||
foreach (Parameter param in el.Parameters)
|
||||
{
|
||||
if (param.Definition.Name.Contains("Extensions."))
|
||||
continue;
|
||||
|
||||
string valueString = "";
|
||||
|
||||
if (param.StorageType == StorageType.Double)
|
||||
valueString = param.AsValueString();
|
||||
else if (param.StorageType == StorageType.String)
|
||||
valueString = param.AsString();
|
||||
else if (param.StorageType == StorageType.ElementId)
|
||||
{
|
||||
ElementId id = param.AsElementId();
|
||||
Element elem = ThisMainExtension.Revit.ActiveDocument.GetElement(id);
|
||||
if (elem != null)
|
||||
valueString = elem.Name;
|
||||
}
|
||||
|
||||
if (!string.IsNullOrEmpty(valueString))
|
||||
{
|
||||
nodeElement.AddNode(param.Definition.Name, param.Definition.Name, Node.levelParameter, valueString);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,79 @@
|
||||
//
|
||||
// (C) Copyright 2007-2011 by Autodesk, Inc. All rights reserved.
|
||||
//
|
||||
// Permission to use, copy, modify, and distribute this software in
|
||||
// object code form for any purpose and without fee is hereby granted
|
||||
// provided that the above copyright notice appears in all copies and
|
||||
// that both that copyright notice and the limited warranty and
|
||||
// restricted rights notice below appear in all supporting
|
||||
// documentation.
|
||||
//
|
||||
// AUTODESK PROVIDES THIS PROGRAM 'AS IS' AND WITH ALL ITS FAULTS.
|
||||
// AUTODESK SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTY OF
|
||||
// MERCHANTABILITY OR FITNESS FOR A PARTICULAR USE. AUTODESK, INC.
|
||||
// DOES NOT WARRANT THAT THE OPERATION OF THE PROGRAM WILL BE
|
||||
// UNINTERRUPTED OR ERROR FREE.
|
||||
//
|
||||
// Use, duplication, or disclosure by the U.S. Government is subject to
|
||||
// restrictions set forth in FAR 52.227-19 (Commercial Computer
|
||||
// Software - Restricted Rights) and DFAR 252.227-7013(c)(1)(ii)
|
||||
// (Rights in Technical Data and Computer Software), as applicable.
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// </summary>
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using System.Windows;
|
||||
using System.Threading;
|
||||
using System.Reflection;
|
||||
|
||||
using REX.Common;
|
||||
using Autodesk.REX.Framework;
|
||||
|
||||
namespace REX.ElementReportHTML
|
||||
{
|
||||
/// <summary>
|
||||
/// Allows parsing module settings located in Configuration/settings.xml file.
|
||||
/// </summary>
|
||||
internal class ExtensionSettings : REXExtensionSettings
|
||||
{
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="ExtensionSettings"/> class.
|
||||
/// </summary>
|
||||
/// <param name="Ext">The reference to REXExtension object.</param>
|
||||
public ExtensionSettings(REXExtension Ext)
|
||||
: base(Ext)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets the main extension.
|
||||
/// </summary>
|
||||
/// <value>The main extension.</value>
|
||||
internal Extension ThisMainExtension
|
||||
{
|
||||
get
|
||||
{
|
||||
return (Extension)ThisExtension;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Called when parsing Configuration / settings.xml
|
||||
/// file. Concerns only tags which is not supported by the
|
||||
/// class.
|
||||
/// </summary>
|
||||
/// <param name="Node">The XML node.</param>
|
||||
/// <returns>
|
||||
/// <c>true</c>If is successfully; otherwise, <c>false</c> -
|
||||
/// reserved only for exceptions.
|
||||
/// </returns>
|
||||
public override bool OnParse(System.Xml.XmlNode Node)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,136 @@
|
||||
//
|
||||
// (C) Copyright 2007-2011 by Autodesk, Inc. All rights reserved.
|
||||
//
|
||||
// Permission to use, copy, modify, and distribute this software in
|
||||
// object code form for any purpose and without fee is hereby granted
|
||||
// provided that the above copyright notice appears in all copies and
|
||||
// that both that copyright notice and the limited warranty and
|
||||
// restricted rights notice below appear in all supporting
|
||||
// documentation.
|
||||
//
|
||||
// AUTODESK PROVIDES THIS PROGRAM 'AS IS' AND WITH ALL ITS FAULTS.
|
||||
// AUTODESK SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTY OF
|
||||
// MERCHANTABILITY OR FITNESS FOR A PARTICULAR USE. AUTODESK, INC.
|
||||
// DOES NOT WARRANT THAT THE OPERATION OF THE PROGRAM WILL BE
|
||||
// UNINTERRUPTED OR ERROR FREE.
|
||||
//
|
||||
// Use, duplication, or disclosure by the U.S. Government is subject to
|
||||
// restrictions set forth in FAR 52.227-19 (Commercial Computer
|
||||
// Software - Restricted Rights) and DFAR 252.227-7013(c)(1)(ii)
|
||||
// (Rights in Technical Data and Computer Software), as applicable.
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// </summary>
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using System.Windows;
|
||||
using System.Reflection;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
using Autodesk.REX.Framework;
|
||||
using REX.Common;
|
||||
|
||||
namespace REX.ElementReportHTML
|
||||
{
|
||||
/// <summary>
|
||||
/// Main class for REX manager and interactions with system.
|
||||
/// </summary>
|
||||
public class Application : REXFoundationApplication
|
||||
{
|
||||
protected override void OnCreateApplication()
|
||||
{
|
||||
base.OnCreateApplication();
|
||||
|
||||
ApplicationRef = new FoundationApplication();
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Main class for REX manager and interactions with system
|
||||
/// </summary>
|
||||
/// <remarks></remarks>
|
||||
public class FoundationApplication : REXApplication
|
||||
{
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="Application"/> class.
|
||||
/// Creates Extension class.
|
||||
/// </summary>
|
||||
public FoundationApplication()
|
||||
{
|
||||
AppExtension = new Extension(this);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Called when create. Set ExtensionContext structure and enable or disable some functionalities.
|
||||
/// </summary>
|
||||
/// <returns>Returns true if succeeded.</returns>
|
||||
/// <example>
|
||||
/// <code>
|
||||
///public override bool OnCreate()
|
||||
///{
|
||||
/// AppExtension.ExtensionContext.Control.LanguagesSupport = true; // switches off languages support.
|
||||
/// AppExtension.ExtensionContext.Control.UserInterface = false; // module will work similar to run in context mode.
|
||||
/// //...
|
||||
/// return true;
|
||||
///}
|
||||
/// </code>
|
||||
/// </example>
|
||||
public override bool OnCreate()
|
||||
{
|
||||
// insert code here
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Get the extension.
|
||||
/// </summary>
|
||||
/// <returns>Returns reference to Extension object.</returns>
|
||||
public override REXExtension GetExtension()
|
||||
{
|
||||
// insert code here
|
||||
|
||||
return AppExtension;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Get the minimum required version of specified engine's component.
|
||||
/// </summary>
|
||||
/// <param name="Version">The version.</param>
|
||||
/// <returns>Returns version string - "Major.Minor".</returns>
|
||||
public override string GetVersion(REXVersionType Version)
|
||||
{
|
||||
switch (Version)
|
||||
{
|
||||
case REXVersionType.Common:
|
||||
case REXVersionType.Controls:
|
||||
case REXVersionType.Math:
|
||||
return "1.0";
|
||||
case REXVersionType.Engine:
|
||||
return "2.3";
|
||||
case REXVersionType.CommercialEngine:
|
||||
return "2.3";
|
||||
}
|
||||
return "";
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Get the text. See <see cref="Extension.GetText()"/> method.
|
||||
/// </summary>
|
||||
/// <param name="Name">The name.</param>
|
||||
/// <returns>Returns specified text.</returns>
|
||||
public override string GetText(string Name)
|
||||
{
|
||||
return AppExtension.OnGetText(Name);
|
||||
}
|
||||
|
||||
#region Private members
|
||||
|
||||
private Extension AppExtension;
|
||||
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,191 @@
|
||||
//
|
||||
// (C) Copyright 2007-2016 by Autodesk, Inc. All rights reserved.
|
||||
//
|
||||
// Permission to use, copy, modify, and distribute this software in
|
||||
// object code form for any purpose and without fee is hereby granted
|
||||
// provided that the above copyright notice appears in all copies and
|
||||
// that both that copyright notice and the limited warranty and
|
||||
// restricted rights notice below appear in all supporting
|
||||
// documentation.
|
||||
//
|
||||
// AUTODESK PROVIDES THIS PROGRAM 'AS IS' AND WITH ALL ITS FAULTS.
|
||||
// AUTODESK SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTY OF
|
||||
// MERCHANTABILITY OR FITNESS FOR A PARTICULAR USE. AUTODESK, INC.
|
||||
// DOES NOT WARRANT THAT THE OPERATION OF THE PROGRAM WILL BE
|
||||
// UNINTERRUPTED OR ERROR FREE.
|
||||
//
|
||||
// Use, duplication, or disclosure by the U.S. Government is subject to
|
||||
// restrictions set forth in FAR 52.227-19 (Commercial Computer
|
||||
// Software - Restricted Rights) and DFAR 252.227-7013(c)(1)(ii)
|
||||
// (Rights in Technical Data and Computer Software), as applicable.
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// </summary>
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
using Autodesk.REX.Framework;
|
||||
|
||||
#if (REVIT)
|
||||
using Autodesk.Revit.DB;
|
||||
using Autodesk.Revit.UI;
|
||||
#endif
|
||||
|
||||
namespace REX.ElementReportHTML
|
||||
{
|
||||
#if (REVIT)
|
||||
/// <summary>
|
||||
/// The class enables direct connection between Revit and extension.
|
||||
/// </summary>
|
||||
[Autodesk.Revit.Attributes.Transaction(Autodesk.Revit.Attributes.TransactionMode.Manual)]
|
||||
[Autodesk.Revit.Attributes.Regeneration(Autodesk.Revit.Attributes.RegenerationOption.Manual)]
|
||||
public class DirectRevitAccess : IExternalCommand
|
||||
#else
|
||||
/// <summary>
|
||||
/// The class enables direct connection between application and extension.
|
||||
/// </summary>
|
||||
public class DirectAccess
|
||||
#endif
|
||||
{
|
||||
#if (REVIT)
|
||||
/// <summary>
|
||||
/// Executes the extension.
|
||||
/// </summary>
|
||||
/// <param name="commandData">The command data.</param>
|
||||
/// <param name="message">The message.</param>
|
||||
/// <param name="elements">The elements.</param>
|
||||
/// <returns>Returns execution result.</returns>
|
||||
public Result Execute(Autodesk.Revit.UI.ExternalCommandData commandData, ref string message, ElementSet elements)
|
||||
#else
|
||||
/// <summary>
|
||||
/// Executes the extension.
|
||||
/// </summary>
|
||||
public bool Run()
|
||||
#endif
|
||||
{
|
||||
AppDomain currentDomain = AppDomain.CurrentDomain;
|
||||
if (currentDomain != null)
|
||||
currentDomain.AssemblyResolve += new ResolveEventHandler(currentDomain_AssemblyResolve);
|
||||
|
||||
#if (REVIT)
|
||||
return Proxy.Execute(commandData, ref message, elements);
|
||||
#else
|
||||
return Proxy.Run();
|
||||
#endif
|
||||
}
|
||||
|
||||
System.Reflection.Assembly currentDomain_AssemblyResolve(object sender, ResolveEventArgs args)
|
||||
{
|
||||
Autodesk.REX.Framework.REXConfiguration.Initialize(System.Reflection.Assembly.GetExecutingAssembly());
|
||||
return Autodesk.REX.Framework.REXAssemblies.Resolve(sender, args, System.Reflection.Assembly.GetExecutingAssembly());
|
||||
}
|
||||
|
||||
private static class Proxy
|
||||
{
|
||||
#if (REVIT)
|
||||
public static Result Execute(Autodesk.Revit.UI.ExternalCommandData commandData, ref string message, ElementSet elements)
|
||||
{
|
||||
ExtensionDirectRevitAccess extensionDirectRevitAccess = new ExtensionDirectRevitAccess();
|
||||
return extensionDirectRevitAccess.Execute(commandData, ref message, elements);
|
||||
}
|
||||
#else
|
||||
public static bool Run()
|
||||
{
|
||||
ExtensionDirectAccess extensionDirectAccess = new ExtensionDirectAccess();
|
||||
return extensionDirectAccess.Run();
|
||||
}
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
#if (REVIT)
|
||||
/// <summary>
|
||||
/// The class enables direct connection between Revit and extension.
|
||||
/// </summary>
|
||||
[Autodesk.Revit.Attributes.Transaction(Autodesk.Revit.Attributes.TransactionMode.Manual)]
|
||||
[Autodesk.Revit.Attributes.Regeneration(Autodesk.Revit.Attributes.RegenerationOption.Manual)]
|
||||
public class ExtensionDirectRevitAccess : REX.Common.REXDirectRevitAccess, IExternalCommand
|
||||
#else
|
||||
/// <summary>
|
||||
/// The class enables direct connection between application and extension.
|
||||
/// </summary>
|
||||
public class ExtensionDirectAccess
|
||||
#endif
|
||||
{
|
||||
#if (REVIT)
|
||||
/// <summary>
|
||||
/// Executes the extension.
|
||||
/// </summary>
|
||||
/// <param name="commandData">The command data.</param>
|
||||
/// <param name="message">The message.</param>
|
||||
/// <param name="elements">The elements.</param>
|
||||
/// <returns>Returns execution result.</returns>
|
||||
public Result Execute(Autodesk.Revit.UI.ExternalCommandData commandData, ref string message, ElementSet elements)
|
||||
#else
|
||||
/// <summary>
|
||||
/// Executes the extension.
|
||||
/// </summary>
|
||||
public bool Run()
|
||||
#endif
|
||||
{
|
||||
try
|
||||
{
|
||||
AppRef = new Application();
|
||||
|
||||
REXContext context = new REXContext();
|
||||
context.Control.Mode = REXMode.Dialog;
|
||||
context.Control.ControlMode = REXControlMode.ModalDialog;
|
||||
#if (REVIT)
|
||||
PresetContext(ref commandData, ref message, ref elements, ref context);
|
||||
#else
|
||||
context.Product.Type = REXInterfaceType.None;
|
||||
#endif
|
||||
|
||||
Transaction tran = new Transaction(commandData.Application.ActiveUIDocument.Document, "REX.ElementReportHTML transaction");
|
||||
tran.Start();
|
||||
|
||||
REXEnvironment Env = new REXEnvironment(REX.Common.REXConst.ENG_DedicatedVersionName);
|
||||
if (Env.LoadEngine(ref context))
|
||||
{
|
||||
if (AppRef.Create(ref context))
|
||||
{
|
||||
AppRef.Show();
|
||||
#if (REVIT)
|
||||
}
|
||||
}
|
||||
|
||||
tran.Commit();
|
||||
|
||||
if (context.Extension.Result == REXResultType.None || context.Extension.Result == REXResultType.Succeeded)
|
||||
return Result.Succeeded;
|
||||
else if (context.Extension.Result == REXResultType.Cancelled)
|
||||
return Result.Cancelled;
|
||||
else
|
||||
return Result.Failed;
|
||||
#else
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
#endif
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
#if (REVIT)
|
||||
message = ex.Message;
|
||||
return Result.Failed;
|
||||
#else
|
||||
return false;
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
private Application AppRef;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,165 @@
|
||||
//
|
||||
// (C) Copyright 2007-2011 by Autodesk, Inc. All rights reserved.
|
||||
//
|
||||
// Permission to use, copy, modify, and distribute this software in
|
||||
// object code form for any purpose and without fee is hereby granted
|
||||
// provided that the above copyright notice appears in all copies and
|
||||
// that both that copyright notice and the limited warranty and
|
||||
// restricted rights notice below appear in all supporting
|
||||
// documentation.
|
||||
//
|
||||
// AUTODESK PROVIDES THIS PROGRAM 'AS IS' AND WITH ALL ITS FAULTS.
|
||||
// AUTODESK SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTY OF
|
||||
// MERCHANTABILITY OR FITNESS FOR A PARTICULAR USE. AUTODESK, INC.
|
||||
// DOES NOT WARRANT THAT THE OPERATION OF THE PROGRAM WILL BE
|
||||
// UNINTERRUPTED OR ERROR FREE.
|
||||
//
|
||||
// Use, duplication, or disclosure by the U.S. Government is subject to
|
||||
// restrictions set forth in FAR 52.227-19 (Commercial Computer
|
||||
// Software - Restricted Rights) and DFAR 252.227-7013(c)(1)(ii)
|
||||
// (Rights in Technical Data and Computer Software), as applicable.
|
||||
|
||||
/// <summary>
|
||||
/// </summary>
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace REX.Common
|
||||
{
|
||||
/// <summary>
|
||||
/// Foundation class for REX.Foundation usage.
|
||||
/// </summary>
|
||||
public class REXFoundationApplication : Autodesk.REX.Framework.IREXApplication2
|
||||
{
|
||||
protected Autodesk.REX.Framework.IREXApplication2 ApplicationRef;
|
||||
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="REXApplication"/> class.
|
||||
/// </summary>
|
||||
public REXFoundationApplication()
|
||||
{
|
||||
AppDomain currentDomain = AppDomain.CurrentDomain;
|
||||
currentDomain.AssemblyResolve += new ResolveEventHandler(currentDomain_AssemblyResolve);
|
||||
|
||||
OnCreateApplication();
|
||||
}
|
||||
|
||||
protected virtual void OnCreateApplication()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Handles the AssemblyResolve event of the currentDomain control.
|
||||
/// </summary>
|
||||
/// <param name="sender">The source of the event.</param>
|
||||
/// <param name="args">The <see cref="System.ResolveEventArgs"/> instance containing the event data.</param>
|
||||
/// <returns></returns>
|
||||
System.Reflection.Assembly currentDomain_AssemblyResolve(object sender, ResolveEventArgs args)
|
||||
{
|
||||
Autodesk.REX.Framework.REXConfiguration.Initialize(System.Reflection.Assembly.GetExecutingAssembly());
|
||||
return Autodesk.REX.Framework.REXAssemblies.Resolve(sender, args, Autodesk.REX.Framework.REXConfiguration.Control.VersionName, System.Reflection.Assembly.GetExecutingAssembly());
|
||||
}
|
||||
|
||||
#region IREXApplication2 Members
|
||||
|
||||
/// <summary>
|
||||
/// Create module.
|
||||
/// </summary>
|
||||
/// <param name="AppContext">The application context.</param>
|
||||
/// <returns>Returns true if succeeded.</returns>
|
||||
public bool Create(ref Autodesk.REX.Framework.REXContext AppContext)
|
||||
{
|
||||
if (AppContext.Extension.Name == null || AppContext.Extension.Name == "")
|
||||
AppContext.Extension.Name = System.Reflection.Assembly.GetExecutingAssembly().GetName().Name;
|
||||
|
||||
return ApplicationRef.Create(ref AppContext);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Creates and shows module as modal dialog.
|
||||
/// </summary>
|
||||
/// <param name="AppContext">The application context.</param>
|
||||
/// <returns>Returns true if suceeded.</returns>
|
||||
public bool Modal(ref Autodesk.REX.Framework.REXContext AppContext)
|
||||
{
|
||||
if (AppContext.Extension.Name == null || AppContext.Extension.Name == "")
|
||||
AppContext.Extension.Name = System.Reflection.Assembly.GetExecutingAssembly().GetName().Name;
|
||||
|
||||
return ApplicationRef.Modal(ref AppContext);
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region IREXApplication Members
|
||||
|
||||
/// <summary>
|
||||
/// Closes this instance.
|
||||
/// </summary>
|
||||
public void Close()
|
||||
{
|
||||
ApplicationRef.Close();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Commands the specified command struct.
|
||||
/// </summary>
|
||||
/// <param name="CommandStruct">The command struct.</param>
|
||||
/// <returns></returns>
|
||||
public object Command(ref Autodesk.REX.Framework.REXCommand CommandStruct)
|
||||
{
|
||||
return ApplicationRef.Command(ref CommandStruct);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Controls this instance.
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public object Control()
|
||||
{
|
||||
return ApplicationRef.Control();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Creates and shows module as modal dialog.
|
||||
/// </summary>
|
||||
/// <param name="AppContext">The application context.</param>
|
||||
/// <returns>Returns true if suceeded.</returns>
|
||||
public bool Create(ref Autodesk.REX.Framework.REXApplicationContext AppContext)
|
||||
{
|
||||
return ApplicationRef.Create(ref AppContext);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Called when event.
|
||||
/// </summary>
|
||||
/// <param name="EventStruct">The event structure.</param>
|
||||
/// <returns>Returns result of event operation.</returns>
|
||||
public object Event(ref Autodesk.REX.Framework.REXEvent EventStruct)
|
||||
{
|
||||
return ApplicationRef.Event(ref EventStruct);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Creates and shows module as modal dialog.
|
||||
/// </summary>
|
||||
/// <param name="AppContext">The application context.</param>
|
||||
/// <returns>Returns true if suceeded.</returns>
|
||||
public bool Modal(ref Autodesk.REX.Framework.REXApplicationContext AppContext)
|
||||
{
|
||||
return ApplicationRef.Modal(ref AppContext);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Shows this module.
|
||||
/// </summary>
|
||||
/// <returns>Returns true if succeeded.</returns>
|
||||
public bool Show()
|
||||
{
|
||||
return ApplicationRef.Show();
|
||||
}
|
||||
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,36 @@
|
||||
using System.Reflection;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Windows;
|
||||
|
||||
// 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("ElementReportHTML")]
|
||||
[assembly: AssemblyDescription("")]
|
||||
[assembly: AssemblyConfiguration("")]
|
||||
[assembly: AssemblyCompany("")]
|
||||
[assembly: AssemblyProduct("ElementReportHTML")]
|
||||
[assembly: AssemblyCopyright("")]
|
||||
[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("1ac8c585-bc98-4e45-9bb6-5ac81a98d286")]
|
||||
|
||||
// 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 Revision and Build Numbers
|
||||
// by using the '*' as shown below:
|
||||
[assembly: AssemblyVersion("1.0.0.0")]
|
||||
[assembly: AssemblyFileVersion("1.0.0.0")]
|
||||
@@ -0,0 +1,245 @@
|
||||
<rexf:REXExtensionMainControl x:Class="REX.ElementReportHTML.Resources.Dialogs.MainControl"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:rexf="clr-namespace:REX.Common;assembly=REX.Foundation.WPF"
|
||||
xmlns:rexc="clr-namespace:REX.Controls.WPF;assembly=REX.Controls.WPF"
|
||||
Height="512" Width="720" SnapsToDevicePixels="True">
|
||||
|
||||
<rexf:REXExtensionMainControl.Resources>
|
||||
<rexf:REXRoutedUICommand x:Key="CommandOpen" Name="Open"/>
|
||||
<rexf:REXRoutedUICommand x:Key="CommandSave" Name="Save"/>
|
||||
<rexf:REXRoutedUICommand x:Key="CommandSaveAs" Name="SaveAs"/>
|
||||
<rexf:REXRoutedUICommand x:Key="CommandPreferences" Name="Preferences"/>
|
||||
<rexf:REXRoutedUICommand x:Key="CommandPrint" Name="Print"/>
|
||||
<rexf:REXRoutedUICommand x:Key="CommandClose" Name="Close"/>
|
||||
<rexf:REXRoutedUICommand x:Key="CommandCalculate" Name="Calculate"/>
|
||||
<rexf:REXRoutedUICommand x:Key="CommandHelp" Name="Help"/>
|
||||
<rexf:REXRoutedUICommand x:Key="CommandAbout" Name="About"/>
|
||||
</rexf:REXExtensionMainControl.Resources>
|
||||
|
||||
<rexf:REXExtensionMainControl.CommandBindings>
|
||||
<CommandBinding Command="{StaticResource CommandOpen}" Executed="CommandBinding_Executed" CanExecute="CommandBinding_CanExecute"/>
|
||||
<CommandBinding Command="{StaticResource CommandSave}" Executed="CommandBinding_Executed" CanExecute="CommandBinding_CanExecute"/>
|
||||
<CommandBinding Command="{StaticResource CommandSaveAs}" Executed="CommandBinding_Executed" CanExecute="CommandBinding_CanExecute"/>
|
||||
<CommandBinding Command="{StaticResource CommandPreferences}" Executed="CommandBinding_Executed" CanExecute="CommandBinding_CanExecute"/>
|
||||
<CommandBinding Command="{StaticResource CommandPrint}" Executed="CommandBinding_Executed" CanExecute="CommandBinding_CanExecute"/>
|
||||
<CommandBinding Command="{StaticResource CommandClose}" Executed="CommandBinding_Executed" CanExecute="CommandBinding_CanExecute"/>
|
||||
<CommandBinding Command="{StaticResource CommandCalculate}" Executed="CommandBinding_Executed" CanExecute="CommandBinding_CanExecute"/>
|
||||
<CommandBinding Command="{StaticResource CommandHelp}" Executed="CommandBinding_Executed" CanExecute="CommandBinding_CanExecute"/>
|
||||
<CommandBinding Command="{StaticResource CommandAbout}" Executed="CommandBinding_Executed" CanExecute="CommandBinding_CanExecute"/>
|
||||
</rexf:REXExtensionMainControl.CommandBindings>
|
||||
|
||||
<rexf:REXExtensionMainControl.InputBindings>
|
||||
<KeyBinding Key="O" Modifiers="Control" Gesture="Ctrl+O" Command="{StaticResource CommandOpen}"/>
|
||||
<KeyBinding Key="S" Modifiers="Control" Gesture="Ctrl+S" Command="{StaticResource CommandSave}"/>
|
||||
<KeyBinding Key="P" Modifiers="Control" Gesture="Ctrl+P" Command="{StaticResource CommandPrint}"/>
|
||||
<KeyBinding Key="F9" Modifiers="" Gesture="F9" Command="{StaticResource CommandCalculate}"/>
|
||||
<KeyBinding Key="F1" Modifiers="" Gesture="F1" Command="{StaticResource CommandHelp}"/>
|
||||
</rexf:REXExtensionMainControl.InputBindings>
|
||||
|
||||
<DockPanel LastChildFill="True">
|
||||
<ToolBarPanel DockPanel.Dock="Top">
|
||||
<StackPanel Orientation="Vertical">
|
||||
<Menu Name="Menu" Style="{DynamicResource REXMenu}">
|
||||
<MenuItem Name="MenuItemFile" Header="_File" StaysOpenOnClick="True">
|
||||
<MenuItem Name="MenuItemOpen" Header="_Open ..." Command="{StaticResource CommandOpen}">
|
||||
<MenuItem.Icon>
|
||||
<Image Source="..\other\images\toolbar_open.png" Stretch="None"/>
|
||||
</MenuItem.Icon>
|
||||
</MenuItem>
|
||||
<MenuItem Name="MenuItemSave" Header="_Save" Command="{StaticResource CommandSave}">
|
||||
<MenuItem.Icon>
|
||||
<Image Source="..\other\images\toolbar_save.png" Stretch="None"/>
|
||||
</MenuItem.Icon>
|
||||
</MenuItem>
|
||||
<MenuItem Name="MenuItemSaveAs" Header="Save _As ..." Command="{StaticResource CommandSaveAs}">
|
||||
<MenuItem.Icon>
|
||||
<Image Source="..\other\images\toolbar_save_as.png" Stretch="None"/>
|
||||
</MenuItem.Icon>
|
||||
</MenuItem>
|
||||
<Separator Name="MenuSeparatorPreferencesTop"/>
|
||||
<MenuItem Name="MenuItemPreferences" Header="_Preferences ..." Command="{StaticResource CommandPreferences}">
|
||||
<MenuItem.Icon>
|
||||
<Image Source="..\other\images\toolbar_save_as.png" Stretch="None"/>
|
||||
</MenuItem.Icon>
|
||||
</MenuItem>
|
||||
<Separator Name="MenuSeparatorPreferencesBottom"/>
|
||||
<MenuItem Name="MenuItemPrint" Header="Print ..." Command="{StaticResource CommandPrint}">
|
||||
<MenuItem.Icon>
|
||||
<Image Source="..\other\images\toolbar_print.png" Stretch="None"/>
|
||||
</MenuItem.Icon>
|
||||
</MenuItem>
|
||||
<Separator Name="MenuSeparatorCloseTop"/>
|
||||
<MenuItem Name="MenuItemClose" Header="Close" Command="{StaticResource CommandClose}">
|
||||
<MenuItem.Icon>
|
||||
<Image Source="..\other\images\toolbar_close.png" Stretch="None"/>
|
||||
</MenuItem.Icon>
|
||||
</MenuItem>
|
||||
</MenuItem>
|
||||
<MenuItem Name="MenuItemCalculations" Header="_Calculations">
|
||||
<MenuItem Name="MenuItemCalc" Header="_Calculate" Command="{StaticResource CommandCalculate}">
|
||||
<MenuItem.Icon>
|
||||
<Image Source="..\other\images\toolbar_calculate.png" Stretch="None"/>
|
||||
</MenuItem.Icon>
|
||||
</MenuItem>
|
||||
</MenuItem>
|
||||
<MenuItem Name="MenuItemHelp" Header="_Help">
|
||||
<MenuItem Name="MenuItemHelpIndex" Header="_Help ..." Command="{StaticResource CommandHelp}">
|
||||
<MenuItem.Icon>
|
||||
<Image Source="..\other\images\toolbar_help.png" Stretch="None"/>
|
||||
</MenuItem.Icon>
|
||||
</MenuItem>
|
||||
<Separator Name="ToolStripSeparatorBeforeAbout"/>
|
||||
<MenuItem Name="MenuItemAbout" Header="_About ..." Command="{StaticResource CommandAbout}">
|
||||
<MenuItem.Icon>
|
||||
<Image Source="..\other\images\toolbar_info.png" Stretch="None"/>
|
||||
</MenuItem.Icon>
|
||||
</MenuItem>
|
||||
</MenuItem>
|
||||
</Menu>
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<ToolBar ToolBarTray.IsLocked="True" Name="ToolMenu">
|
||||
<Menu Style="{DynamicResource REXMenu}">
|
||||
<MenuItem Name="ToolStripMenuItemFile" Header="_File" StaysOpenOnClick="True">
|
||||
<MenuItem Name="ToolStripMenuItemOpen" Header="_Open ..." Command="{StaticResource CommandOpen}">
|
||||
<MenuItem.Icon>
|
||||
<Image Source="..\other\images\toolbar_open.png" Stretch="None" />
|
||||
</MenuItem.Icon>
|
||||
</MenuItem>
|
||||
<MenuItem Name="ToolStripMenuItemSave" Header="_Save" Command="{StaticResource CommandSave}">
|
||||
<MenuItem.Icon>
|
||||
<Image Source="..\other\images\toolbar_save.png" Stretch="None"/>
|
||||
</MenuItem.Icon>
|
||||
</MenuItem>
|
||||
<MenuItem Name="ToolStripMenuItemSaveAs" Header="Save _As ..." Command="{StaticResource CommandSaveAs}">
|
||||
<MenuItem.Icon>
|
||||
<Image Source="..\other\images\toolbar_save_as.png" Stretch="None"/>
|
||||
</MenuItem.Icon>
|
||||
</MenuItem>
|
||||
<Separator Name="ToolStripMenuSeparatorPreferencesTop"/>
|
||||
<MenuItem Name="ToolStripMenuItemPreferences" Header="_Preferences ..." Command="{StaticResource CommandPreferences}">
|
||||
<MenuItem.Icon>
|
||||
<Image Source="..\other\images\toolbar_save_as.png" Stretch="None" />
|
||||
</MenuItem.Icon>
|
||||
</MenuItem>
|
||||
<Separator Name="ToolStripMenuSeparatorPreferencesBottom"/>
|
||||
<MenuItem Name="ToolStripMenuItemPrint" Header="Print ..." Command="{StaticResource CommandPrint}">
|
||||
<MenuItem.Icon>
|
||||
<Image Source="..\other\images\toolbar_print.png" Stretch="None"/>
|
||||
</MenuItem.Icon>
|
||||
</MenuItem>
|
||||
<Separator Name="ToolStripMenuSeparatorCloseTop"/>
|
||||
<MenuItem Name="ToolStripMenuItemClose" Header="Close" Command="{StaticResource CommandClose}">
|
||||
<MenuItem.Icon>
|
||||
<Image Source="..\other\images\toolbar_close.png" Stretch="None"/>
|
||||
</MenuItem.Icon>
|
||||
</MenuItem>
|
||||
</MenuItem>
|
||||
<MenuItem Name="ToolStripMenuItemCalculations" Header="_Calculations">
|
||||
<MenuItem Name="ToolStripMenuItemCalc" Header="_Calculate" Command="{StaticResource CommandCalculate}">
|
||||
<MenuItem.Icon>
|
||||
<Image Source="..\other\images\toolbar_calculate.png" Stretch="None"/>
|
||||
</MenuItem.Icon>
|
||||
</MenuItem>
|
||||
</MenuItem>
|
||||
<MenuItem Name="ToolStripMenuItemHelp" Header="_Help">
|
||||
<MenuItem Name="ToolStripMenuItemHelpIndex" Header="_Help ..." Command="{StaticResource CommandHelp}">
|
||||
<MenuItem.Icon>
|
||||
<Image Source="..\other\images\toolbar_help.png" Stretch="None"/>
|
||||
</MenuItem.Icon>
|
||||
</MenuItem>
|
||||
<Separator Name="ToolStripMenuSeparatorBeforeAbout"/>
|
||||
<MenuItem Name="ToolStripMenuItemAbout" Header="_About ..." Command="{StaticResource CommandAbout}">
|
||||
<MenuItem.Icon>
|
||||
<Image Source="..\other\images\toolbar_info.png" Stretch="None"/>
|
||||
</MenuItem.Icon>
|
||||
</MenuItem>
|
||||
</MenuItem>
|
||||
</Menu>
|
||||
</ToolBar>
|
||||
|
||||
<ToolBar ToolBarTray.IsLocked="True" Name="ToolBar">
|
||||
<Button Name="ToolStripButtonOpen" Command="{StaticResource CommandOpen}">
|
||||
<Image Source="..\other\images\toolbar_open.png" Stretch="None"/>
|
||||
<Button.ToolTip>
|
||||
<Label>Open</Label>
|
||||
</Button.ToolTip>
|
||||
</Button>
|
||||
<Button Name="ToolStripButtonSave" Command="{StaticResource CommandSave}">
|
||||
<Image Source="..\other\images\toolbar_save.png" Stretch="None"/>
|
||||
<Button.ToolTip>
|
||||
<Label>Save</Label>
|
||||
</Button.ToolTip>
|
||||
</Button>
|
||||
<Separator Name="ToolStripSeparatorPreferencesLeft"/>
|
||||
<Button Name="ToolStripPreferences" Command="{StaticResource CommandCalculate}">
|
||||
<Image Source="..\other\images\toolbar_rs.png" Stretch="None"/>
|
||||
<Button.ToolTip>
|
||||
<Label>Save As</Label>
|
||||
</Button.ToolTip>
|
||||
</Button>
|
||||
<Separator Name="ToolStripSeparatorPreferencesRight"/>
|
||||
<Button Name="ToolStripCalculate" Command="{StaticResource CommandCalculate}">
|
||||
<Image Source="..\other\images\toolbar_calculate.png" Stretch="None"/>
|
||||
<Button.ToolTip>
|
||||
<Label>Calculate</Label>
|
||||
</Button.ToolTip>
|
||||
</Button>
|
||||
<Separator Name="ToolStripSeparatorAC"/>
|
||||
<Button Name="ToolStripButtonHelp" Command="{StaticResource CommandHelp}">
|
||||
<Image Source="..\other\images\toolbar_help.png" Stretch="None"/>
|
||||
<Button.ToolTip>
|
||||
<Label>Help</Label>
|
||||
</Button.ToolTip>
|
||||
</Button>
|
||||
</ToolBar>
|
||||
</StackPanel>
|
||||
</StackPanel>
|
||||
</ToolBarPanel>
|
||||
<Grid Name="HSplitGrid">
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="350*" />
|
||||
<RowDefinition Height="Auto" />
|
||||
<RowDefinition Height="Auto" />
|
||||
</Grid.RowDefinitions>
|
||||
<GridSplitter Name="HSplit" Grid.Row="0" Height="2" HorizontalAlignment="Stretch" VerticalAlignment="Bottom"/>
|
||||
<Grid Name="HSplitGridTop" Grid.Row="0">
|
||||
<DockPanel Name="VSplitGrid" LastChildFill="True" Grid.Row="0">
|
||||
<Grid Name="VSplitGridLeft">
|
||||
<rexc:REXToolbox Width="200" MinWidth="200" Name="Toolbox" BorderThickness="1" Background="{x:Static SystemColors.WindowBrush}" SelectedItemChanged="Toolbox_SelectedItemChanged" BorderBrush="{x:Static SystemColors.ControlDarkBrush}" ItemBorderThickness="1" IsItemsHost="False">
|
||||
|
||||
</rexc:REXToolbox>
|
||||
</Grid>
|
||||
<GridSplitter Name="VSplit" Width="2" HorizontalAlignment="Right" VerticalAlignment="Stretch"/>
|
||||
<Grid Name="VSplitGridRight">
|
||||
<Grid Name="DialogContainer" Visibility="Hidden">
|
||||
</Grid>
|
||||
<Grid Name="ViewContainer" Visibility="Hidden">
|
||||
</Grid>
|
||||
<Grid Name="NoteContainer" Visibility="Hidden">
|
||||
</Grid>
|
||||
<TabControl Name="TabControl" Visibility="Hidden" Background="Transparent">
|
||||
<TabItem Name="TabDialog" Header="Properties" Visibility="Hidden" ></TabItem>
|
||||
<TabItem Name="TabView" Header="View" Visibility="Hidden"></TabItem>
|
||||
<TabItem Name="TabNote" Header="Note" Visibility="Hidden"></TabItem>
|
||||
</TabControl>
|
||||
</Grid>
|
||||
</DockPanel>
|
||||
</Grid>
|
||||
<Grid Name="HSplitGridBottom" Grid.Row="1">
|
||||
|
||||
</Grid>
|
||||
<StatusBar Name="Status" Grid.Row="2" Height="30">
|
||||
<StatusBarItem HorizontalContentAlignment="Left">
|
||||
<Label Name="StatusHeaderLabel"></Label>
|
||||
</StatusBarItem>
|
||||
<StatusBarItem HorizontalContentAlignment="Left">
|
||||
<Label Name="StatusLabel"></Label>
|
||||
</StatusBarItem>
|
||||
<StatusBarItem HorizontalContentAlignment="Right">
|
||||
<ProgressBar Name="StatusProgress" Width="100" Height="16" Grid.Column="1"/>
|
||||
</StatusBarItem>
|
||||
</StatusBar>
|
||||
</Grid>
|
||||
</DockPanel>
|
||||
</rexf:REXExtensionMainControl>
|
||||
@@ -0,0 +1,96 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Windows;
|
||||
using System.Windows.Controls;
|
||||
using System.Windows.Data;
|
||||
using System.Windows.Documents;
|
||||
using System.Windows.Input;
|
||||
using System.Windows.Media;
|
||||
using System.Windows.Media.Imaging;
|
||||
using System.Windows.Navigation;
|
||||
using System.Windows.Shapes;
|
||||
using Autodesk.REX.Framework;
|
||||
|
||||
namespace REX.ElementReportHTML.Resources.Dialogs
|
||||
{
|
||||
/// <summary>
|
||||
/// Interaction logic for MainControl.xaml
|
||||
/// </summary>
|
||||
public partial class MainControl : REX.Common.REXExtensionMainControl
|
||||
{
|
||||
public MainControl()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
public MainControl(REX.Common.REXExtension extension)
|
||||
: base(extension)
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
protected override void OnRender(DrawingContext drawingContext)
|
||||
{
|
||||
base.OnRender(drawingContext);
|
||||
}
|
||||
|
||||
private void Toolbox_SelectedItemChanged(object sender, REX.Controls.WPF.REXToolboxItem item)
|
||||
{
|
||||
base.Toolbox_SelectItem(sender, item);
|
||||
}
|
||||
|
||||
private void CommandBinding_Executed(object sender, ExecutedRoutedEventArgs e)
|
||||
{
|
||||
if (e.Command is REX.Common.REXRoutedUICommand)
|
||||
RunCommand((e.Command as REX.Common.REXRoutedUICommand).Name);
|
||||
}
|
||||
|
||||
private void CommandBinding_CanExecute(object sender, CanExecuteRoutedEventArgs e)
|
||||
{
|
||||
if (e.Command is REX.Common.REXRoutedUICommand)
|
||||
e.CanExecute = CanRunCommand((e.Command as REX.Common.REXRoutedUICommand).Name);
|
||||
else
|
||||
e.CanExecute = true;
|
||||
}
|
||||
|
||||
private bool CanRunCommand(string Name)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
private void RunCommand(string Name)
|
||||
{
|
||||
REXCommand Cmd = null;
|
||||
switch (Name)
|
||||
{
|
||||
case "Open":
|
||||
ThisExtension.System.LoadFromFile(true);
|
||||
return;
|
||||
case "Save":
|
||||
ThisExtension.System.SaveToFile(false, true);
|
||||
return;
|
||||
case "SaveAs":
|
||||
ThisExtension.System.SaveToFile(true);
|
||||
return;
|
||||
case "Calculate":
|
||||
Cmd = new REXCommand(REXCommandType.Run);
|
||||
break;
|
||||
case "Help":
|
||||
Cmd = new REXCommand(REXCommandType.Help);
|
||||
break;
|
||||
case "Close":
|
||||
Cmd = new REXCommand(REXCommandType.Close);
|
||||
break;
|
||||
case "About":
|
||||
Cmd = new REXCommand(REXCommandType.About);
|
||||
break;
|
||||
case "Preferences":
|
||||
ThisExtension.ShowPreferencesDialog();
|
||||
break;
|
||||
}
|
||||
if (Cmd != null)
|
||||
ThisExtension.Command(ref Cmd);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,26 @@
|
||||
<rexf:REXExtensionWindow x:Class="REX.ElementReportHTML.Resources.Dialogs.MainWindow"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:rexf="clr-namespace:REX.Common;assembly=REX.Foundation.WPF"
|
||||
Title="ElementReportHTML" Height="527" Width="791" MinWidth="500" MinHeight="200" Background="{x:Static SystemColors.ControlBrush}" ShowInTaskbar="False" WindowStartupLocation="CenterOwner" SnapsToDevicePixels="True"
|
||||
Closing="REXExtensionWindow_Closing">
|
||||
<Grid>
|
||||
<Grid Height="45" Name="Buttons" VerticalAlignment="Bottom">
|
||||
<TextBlock Name="Help" Margin="6,13,0,9" HorizontalAlignment="Left" Width="111.5">
|
||||
<Hyperlink Click="HyperlinkHelp_Click">
|
||||
Help
|
||||
</Hyperlink>
|
||||
</TextBlock>
|
||||
<TextBlock Name="About" Margin="132,13,0,9" HorizontalAlignment="Left" Width="146">
|
||||
<Hyperlink Click="HyperlinkAbout_Click">
|
||||
About
|
||||
</Hyperlink>
|
||||
</TextBlock>
|
||||
|
||||
<Button Margin="0,13,87,9" Name="ButtonApply" HorizontalAlignment="Right" Width="75" Click="ButtonApply_Click">OK</Button>
|
||||
<Button Margin="0,13,6,9" Name="ButtonClose" HorizontalAlignment="Right" Width="75" Click="ButtonClose_Click">Cancel</Button>
|
||||
<Image Margin="310,2,258,2" Name="Logo" Stretch="None" MinWidth="50" />
|
||||
</Grid>
|
||||
<Grid Name="MainPanel" Margin="0,0,0,43" />
|
||||
</Grid>
|
||||
</rexf:REXExtensionWindow>
|
||||
@@ -0,0 +1,68 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Windows;
|
||||
using System.Windows.Controls;
|
||||
using System.Windows.Data;
|
||||
using System.Windows.Documents;
|
||||
using System.Windows.Input;
|
||||
using System.Windows.Media;
|
||||
using System.Windows.Media.Imaging;
|
||||
using System.Windows.Shapes;
|
||||
using Autodesk.REX.Framework;
|
||||
|
||||
namespace REX.ElementReportHTML.Resources.Dialogs
|
||||
{
|
||||
/// <summary>
|
||||
/// Interaction logic for MainWindow.xaml
|
||||
/// </summary>
|
||||
public partial class MainWindow : REX.Common.REXExtensionWindow
|
||||
{
|
||||
public MainWindow()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
public MainWindow(REX.Common.REXExtension extension)
|
||||
: base(extension)
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
private void ButtonApply_Click(object sender, RoutedEventArgs e)
|
||||
{
|
||||
REXCommand Cmd = new REXCommand(REXCommandType.OK);
|
||||
ThisExtension.Command(ref Cmd);
|
||||
}
|
||||
|
||||
private void ButtonClose_Click(object sender, RoutedEventArgs e)
|
||||
{
|
||||
REXCommand Cmd = new REXCommand(REXCommandType.Close);
|
||||
Cmd.CommandObject = false;
|
||||
ThisExtension.Command(ref Cmd);
|
||||
}
|
||||
|
||||
private void REXExtensionWindow_Closing(object sender, System.ComponentModel.CancelEventArgs e)
|
||||
{
|
||||
REXCommand Cmd = new REXCommand(REXCommandType.Close);
|
||||
Cmd.CommandObject = true;
|
||||
if (((bool)ThisExtension.Command(ref Cmd)) == true)
|
||||
e.Cancel = false;
|
||||
else
|
||||
e.Cancel = true;
|
||||
}
|
||||
|
||||
private void HyperlinkHelp_Click(object sender, RoutedEventArgs e)
|
||||
{
|
||||
REXCommand Cmd = new REXCommand(REXCommandType.Help);
|
||||
ThisExtension.Command(ref Cmd);
|
||||
}
|
||||
|
||||
private void HyperlinkAbout_Click(object sender, RoutedEventArgs e)
|
||||
{
|
||||
REXCommand Cmd = new REXCommand(REXCommandType.About);
|
||||
ThisExtension.Command(ref Cmd);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
<rexf:REXExtensionControl x:Class="REX.ElementReportHTML.Resources.Dialogs.ReportControl"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:rexf="clr-namespace:REX.Common;assembly=REX.Foundation.WPF"
|
||||
xmlns:rexc="clr-namespace:REX.Controls.WPF;assembly=REX.Controls.WPF" Width="500" Height="300">
|
||||
<Grid Background="White">
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="25"></RowDefinition>
|
||||
<RowDefinition></RowDefinition>
|
||||
</Grid.RowDefinitions>
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition></ColumnDefinition>
|
||||
</Grid.ColumnDefinitions>
|
||||
<ToolBar Grid.Row="0" Background="White">
|
||||
<Button Name="ToolStripButtonSave" Click="ToolStripButtonSave_Click">
|
||||
<Image Source="..\other\images\toolbar_save.png" Stretch="None"/>
|
||||
</Button>
|
||||
</ToolBar>
|
||||
<WebBrowser x:Name="webBrowser" Grid.Row="1">
|
||||
</WebBrowser>
|
||||
</Grid>
|
||||
</rexf:REXExtensionControl>
|
||||
@@ -0,0 +1,293 @@
|
||||
//
|
||||
// (C) Copyright 2007-2011 by Autodesk, Inc. All rights reserved.
|
||||
//
|
||||
// Permission to use, copy, modify, and distribute this software in
|
||||
// object code form for any purpose and without fee is hereby granted
|
||||
// provided that the above copyright notice appears in all copies and
|
||||
// that both that copyright notice and the limited warranty and
|
||||
// restricted rights notice below appear in all supporting
|
||||
// documentation.
|
||||
//
|
||||
// AUTODESK PROVIDES THIS PROGRAM 'AS IS' AND WITH ALL ITS FAULTS.
|
||||
// AUTODESK SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTY OF
|
||||
// MERCHANTABILITY OR FITNESS FOR A PARTICULAR USE. AUTODESK, INC.
|
||||
// DOES NOT WARRANT THAT THE OPERATION OF THE PROGRAM WILL BE
|
||||
// UNINTERRUPTED OR ERROR FREE.
|
||||
//
|
||||
// Use, duplication, or disclosure by the U.S. Government is subject to
|
||||
// restrictions set forth in FAR 52.227-19 (Commercial Computer
|
||||
// Software - Restricted Rights) and DFAR 252.227-7013(c)(1)(ii)
|
||||
// (Rights in Technical Data and Computer Software), as applicable.
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Windows;
|
||||
using System.Windows.Controls;
|
||||
using System.Windows.Data;
|
||||
using System.Windows.Documents;
|
||||
using System.Windows.Input;
|
||||
using System.Windows.Media;
|
||||
using System.Windows.Media.Imaging;
|
||||
using System.Windows.Navigation;
|
||||
using System.Windows.Shapes;
|
||||
using ROHTMLLib;
|
||||
using System.IO;
|
||||
using REX.ElementReportHTML.Main;
|
||||
using Autodesk.REX.Framework;
|
||||
|
||||
namespace REX.ElementReportHTML.Resources.Dialogs
|
||||
{
|
||||
/// <summary>
|
||||
/// Represents the control with a browser for a note.
|
||||
/// </summary>
|
||||
public partial class ReportControl : REX.Common.REXExtensionControl
|
||||
{
|
||||
IXHTMLDocument HtmlDocument;
|
||||
string DocumentPath;
|
||||
|
||||
/// <summary>
|
||||
/// Get the main extension.
|
||||
/// </summary>
|
||||
/// <value>The main extension.</value>
|
||||
internal Extension ThisMainExtension
|
||||
{
|
||||
get
|
||||
{
|
||||
return (Extension)ThisExtension;
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// Get the Data structure.
|
||||
/// </summary>
|
||||
/// <value>The main Data.</value>
|
||||
internal Data ThisMainData
|
||||
{
|
||||
get
|
||||
{
|
||||
return ThisMainExtension.Data;
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="ReportControl"/> class.
|
||||
/// </summary>
|
||||
public ReportControl()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="ReportControl"/> class.
|
||||
/// </summary>
|
||||
/// <param name="extension">The extension.</param>
|
||||
public ReportControl(REX.Common.REXExtension extension)
|
||||
: base(extension)
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
/// <summary>
|
||||
/// Initializes the dialog with current settings.
|
||||
/// </summary>
|
||||
public void SetDialog()
|
||||
{
|
||||
FillNote();
|
||||
}
|
||||
/// <summary>
|
||||
/// Fills the note.
|
||||
/// </summary>
|
||||
public void FillNote()
|
||||
{
|
||||
if (HtmlDocument != null)
|
||||
{
|
||||
HtmlDocument = null;
|
||||
ThisExtension.ROHTMLReleaseDocument();
|
||||
}
|
||||
|
||||
HtmlDocument = ThisExtension.ROHTMLDocument();
|
||||
|
||||
FillHeaderNote();
|
||||
|
||||
if (ThisMainExtension.Data.IdMode)
|
||||
{
|
||||
if (ThisMainExtension.Data.SelectedElement != null)
|
||||
AddElementToNote(ThisMainExtension.Data.SelectedElement);
|
||||
}
|
||||
else
|
||||
{
|
||||
FillGeneralInformation();
|
||||
|
||||
foreach (Node categoryNode in ThisMainExtension.Data.MainNode.Nodes.Values)
|
||||
{
|
||||
if (!ThisMainExtension.Data.SelectedCategories.Contains(categoryNode))
|
||||
continue;
|
||||
|
||||
AddCategoryToNote(categoryNode);
|
||||
|
||||
foreach (Node elementNode in categoryNode.Nodes.Values)
|
||||
{
|
||||
AddElementToNote(elementNode);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (File.Exists(DocumentPath))
|
||||
{
|
||||
try
|
||||
{
|
||||
File.Delete(DocumentPath);
|
||||
}
|
||||
catch
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
Guid g = System.Guid.NewGuid();
|
||||
DocumentPath = GetTempPath() + "\\" + g.ToString() + ".mht";
|
||||
|
||||
HtmlDocument.SaveAsSingleFile(DocumentPath);
|
||||
webBrowser.Navigate(new Uri(DocumentPath));
|
||||
}
|
||||
/// <summary>
|
||||
/// Adds the category to the note.
|
||||
/// </summary>
|
||||
/// <param name="categoryNode">The category node.</param>
|
||||
private void AddCategoryToNote(Node categoryNode)
|
||||
{
|
||||
HtmlDocument.Body.AddHeader(2, "Category: " + categoryNode.Name);
|
||||
HtmlDocument.Body.AddValue2("Number of elements", categoryNode.Nodes.Count.ToString());
|
||||
}
|
||||
/// <summary>
|
||||
/// Adds the element to the note.
|
||||
/// </summary>
|
||||
/// <param name="elementNode">The element node.</param>
|
||||
private void AddElementToNote(Node elementNode)
|
||||
{
|
||||
HtmlDocument.Body.AddHeader(3, "Element: " + elementNode.Name);
|
||||
HtmlDocument.Body.AddValue2("Id", elementNode.Id);
|
||||
|
||||
if (elementNode.Nodes.Count > 0)
|
||||
{
|
||||
HtmlDocument.Body.AddHeader(4, "Parameters");
|
||||
|
||||
XHTMLTable table = HtmlDocument.Body.AddTable();
|
||||
table.HeaderColumns = 0;
|
||||
table.HeaderRows = 1;
|
||||
table.AutoFormat(ROHTMLTableFormats.ROTF_REPORT_1);
|
||||
|
||||
//header
|
||||
table.AddRow();
|
||||
table.get_Cell(1, 1).AddText("Parameter");
|
||||
table.get_Cell(1, 2).AddText("Value");
|
||||
|
||||
int row = 1;
|
||||
foreach (Node parameterNode in elementNode.Nodes.Values)
|
||||
{
|
||||
table.AddRow();
|
||||
row++;
|
||||
|
||||
table.get_Cell(row, 1).AddText(parameterNode.Name);
|
||||
table.get_Cell(row, 2).AddText(parameterNode.Value);
|
||||
}
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// Fills the header note.
|
||||
/// </summary>
|
||||
private void FillHeaderNote()
|
||||
{
|
||||
Autodesk.REX.Framework.REXEnvironment Env = new Autodesk.REX.Framework.REXEnvironment(REX.Common.REXConst.ENG_DedicatedVersionName);
|
||||
string path = Env.GetModulePath(Autodesk.REX.Framework.REXEnvironment.PathType.Configuration, ThisExtension.ThisApplication.Context.Name);
|
||||
string imagePath = REX.Common.REXController.GetProductBitmapFullPath(ThisContext, ThisExtension.GetREXEnvironment(), (REXInterfaceType)ThisExtension.ExtensionContext.Control.StandardOwner, false);
|
||||
string ModVersion = ThisExtension.ThisApplication.GetType().Assembly.GetName().Version.Major.ToString() + "." + ThisExtension.ThisApplication.GetType().Assembly.GetName().Version.Minor.ToString();
|
||||
|
||||
string createHeader = "<table border = 1 style = \"border:#eeeeee\" width =\"100%\">" +
|
||||
"<tr height=\"40\">" +
|
||||
"<td rowspan = \"4\" align=\"center\" valign=\"center\" width = \"10%\" style = \"border: 1px solid #eeeeee\"><img src=\"" + imagePath + "\"" + "</td>" +
|
||||
"<td align=\"left\" valign=\"center\" width = \"90%\" bgcolor = \"#eeeeee\" style = \"border: 0px solid #eeeeee\" >" +
|
||||
"<font size = 4 face=\"Arial\">Element Report</font></br>" + "</td>" +
|
||||
"</tr>" +
|
||||
"<tr height=\"20\">" +
|
||||
"<td align=\"left\" valign=\"center\" width = \"90%\" bgcolor = \"#eeeeee\" style = \"border: 0px solid #eeeeee\" >" +
|
||||
"<font size = 1 color = \"gray\" >REXSDK 2012</font></br>" + "</td>" +
|
||||
"</tr>" +
|
||||
"</table>";
|
||||
HtmlDocument.Body.AddLine(createHeader);
|
||||
|
||||
HtmlDocument.Body.AddLineBreak();
|
||||
}
|
||||
/// <summary>
|
||||
/// Fills general information.
|
||||
/// </summary>
|
||||
private void FillGeneralInformation()
|
||||
{
|
||||
HtmlDocument.Body.AddHeader(2, "General information");
|
||||
|
||||
HtmlDocument.Body.AddText2("Number of categories", ThisMainExtension.Data.MainNode.Nodes.Count.ToString());
|
||||
|
||||
int countAllElems = 0;
|
||||
int countSelCats = 0;
|
||||
int countSelElems = 0;
|
||||
|
||||
foreach (Node cat in ThisMainExtension.Data.MainNode.Nodes.Values)
|
||||
{
|
||||
countAllElems += cat.Nodes.Count;
|
||||
|
||||
if (ThisMainExtension.Data.SelectedCategories.Contains(cat))
|
||||
{
|
||||
countSelCats++;
|
||||
countSelElems += cat.Nodes.Count;
|
||||
}
|
||||
}
|
||||
|
||||
HtmlDocument.Body.AddText2("Number of all elements", countAllElems.ToString());
|
||||
HtmlDocument.Body.AddText2("Number of selected categories", countSelCats.ToString());
|
||||
HtmlDocument.Body.AddText2("Number of selected elements", countSelElems.ToString());
|
||||
HtmlDocument.Body.AddLineBreak();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Returns the path to temporary Windows folder.
|
||||
/// </summary>
|
||||
/// <returns>The path.</returns>
|
||||
public string GetTempPath()
|
||||
{
|
||||
string path = Environment.GetEnvironmentVariable("temp");
|
||||
if (!Directory.Exists(path))
|
||||
{
|
||||
path = System.IO.Path.GetFullPath(System.IO.Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData), "..\\Temp"));
|
||||
if (!Directory.Exists(path))
|
||||
Directory.CreateDirectory(path);
|
||||
}
|
||||
|
||||
path = path + "\\ElementReportHTML";
|
||||
|
||||
if (!Directory.Exists(path))
|
||||
Directory.CreateDirectory(path);
|
||||
|
||||
return path;
|
||||
|
||||
}
|
||||
/// <summary>
|
||||
/// Handles the Click event of the ToolStripButtonSave control.
|
||||
/// </summary>
|
||||
/// <param name="sender">The source of the event.</param>
|
||||
/// <param name="e">The <see cref="System.Windows.RoutedEventArgs"/> instance containing the event data.</param>
|
||||
private void ToolStripButtonSave_Click(object sender, RoutedEventArgs e)
|
||||
{
|
||||
if(HtmlDocument == null)
|
||||
return;
|
||||
|
||||
Microsoft.Win32.SaveFileDialog SaveFileDialog = new Microsoft.Win32.SaveFileDialog();
|
||||
|
||||
SaveFileDialog.Filter = "MHT (*.mht) file|*.mht|HTML (*.html) file|*.html;";
|
||||
SaveFileDialog.OverwritePrompt = true;
|
||||
|
||||
if (SaveFileDialog.ShowDialog(ThisExtension.GetWindowForParent()) == true)
|
||||
{
|
||||
if (System.IO.Path.GetExtension(SaveFileDialog.FileName).ToLower() == ".mht")
|
||||
HtmlDocument.SaveAsSingleFile(SaveFileDialog.FileName);
|
||||
else
|
||||
HtmlDocument.Save(SaveFileDialog.FileName);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,26 @@
|
||||
<rexf:REXExtensionControl x:Class="REX.ElementReportHTML.Resources.Dialogs.ReportSettingsControl"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:rexf="clr-namespace:REX.Common;assembly=REX.Foundation.WPF"
|
||||
xmlns:rexc="clr-namespace:REX.Controls.WPF;assembly=REX.Controls.WPF"
|
||||
Height="200" Width="500">
|
||||
<Control.Resources>
|
||||
<DataTemplate x:Key="IdItemTemplate">
|
||||
<TextBlock Text="{Binding FullName}">
|
||||
</TextBlock>
|
||||
</DataTemplate>
|
||||
</Control.Resources>
|
||||
<Grid>
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition></RowDefinition>
|
||||
</Grid.RowDefinitions>
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition></ColumnDefinition>
|
||||
<ColumnDefinition></ColumnDefinition>
|
||||
</Grid.ColumnDefinitions>
|
||||
<ListBox Name="categoriesListBox" Grid.Column="0" Grid.Row="0">
|
||||
</ListBox>
|
||||
<CheckBox x:Name="idCheckBox" Grid.Column="1" HorizontalAlignment="Left" Width="107" Margin="6,12,0,0" Height="22" VerticalAlignment="Top" Checked="CheckBox_Checked_1" Unchecked="CheckBox_Checked_1">Select by id:</CheckBox>
|
||||
<ComboBox Name="idComboBox" Grid.Column="1" Margin="6,40,12,33" SelectionChanged="idComboBox_SelectionChanged" ItemTemplate="{StaticResource IdItemTemplate}"></ComboBox>
|
||||
</Grid>
|
||||
</rexf:REXExtensionControl>
|
||||
@@ -0,0 +1,158 @@
|
||||
//
|
||||
// (C) Copyright 2007-2011 by Autodesk, Inc. All rights reserved.
|
||||
//
|
||||
// Permission to use, copy, modify, and distribute this software in
|
||||
// object code form for any purpose and without fee is hereby granted
|
||||
// provided that the above copyright notice appears in all copies and
|
||||
// that both that copyright notice and the limited warranty and
|
||||
// restricted rights notice below appear in all supporting
|
||||
// documentation.
|
||||
//
|
||||
// AUTODESK PROVIDES THIS PROGRAM 'AS IS' AND WITH ALL ITS FAULTS.
|
||||
// AUTODESK SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTY OF
|
||||
// MERCHANTABILITY OR FITNESS FOR A PARTICULAR USE. AUTODESK, INC.
|
||||
// DOES NOT WARRANT THAT THE OPERATION OF THE PROGRAM WILL BE
|
||||
// UNINTERRUPTED OR ERROR FREE.
|
||||
//
|
||||
// Use, duplication, or disclosure by the U.S. Government is subject to
|
||||
// restrictions set forth in FAR 52.227-19 (Commercial Computer
|
||||
// Software - Restricted Rights) and DFAR 252.227-7013(c)(1)(ii)
|
||||
// (Rights in Technical Data and Computer Software), as applicable.
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Windows;
|
||||
using System.Windows.Controls;
|
||||
using System.Windows.Data;
|
||||
using System.Windows.Documents;
|
||||
using System.Windows.Input;
|
||||
using System.Windows.Media;
|
||||
using System.Windows.Media.Imaging;
|
||||
using System.Windows.Navigation;
|
||||
using System.Windows.Shapes;
|
||||
using REX.ElementReportHTML.Main;
|
||||
|
||||
namespace REX.ElementReportHTML.Resources.Dialogs
|
||||
{
|
||||
/// <summary>
|
||||
/// Represents the control which allows user to define settings for the note.
|
||||
/// </summary>
|
||||
public partial class ReportSettingsControl : REX.Common.REXExtensionControl
|
||||
{
|
||||
/// <summary>
|
||||
/// Get the main extension.
|
||||
/// </summary>
|
||||
/// <value>The main extension.</value>
|
||||
internal Extension ThisMainExtension
|
||||
{
|
||||
get
|
||||
{
|
||||
return (Extension)ThisExtension;
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="ReportSettingsControl"/> class.
|
||||
/// </summary>
|
||||
public ReportSettingsControl()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="ReportSettingsControl"/> class.
|
||||
/// </summary>
|
||||
/// <param name="extension">The extension.</param>
|
||||
public ReportSettingsControl(REX.Common.REXExtension extension)
|
||||
: base(extension)
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
/// <summary>
|
||||
/// Initializes the dialog with current settings.
|
||||
/// </summary>
|
||||
public void SetDialog()
|
||||
{
|
||||
FillCategoriesList();
|
||||
FillIdsCombo();
|
||||
idCheckBox.IsChecked = false;
|
||||
idComboBox.IsEnabled = false;
|
||||
}
|
||||
/// <summary>
|
||||
/// Fills the list of categories.
|
||||
/// </summary>
|
||||
private void FillCategoriesList()
|
||||
{
|
||||
categoriesListBox.Items.Clear();
|
||||
foreach (Node node in ThisMainExtension.Data.MainNode.Nodes.Values)
|
||||
{
|
||||
CheckBox checkBox = new CheckBox();
|
||||
checkBox.IsChecked = true;
|
||||
checkBox.Checked += new RoutedEventHandler(checkBox_Checked);
|
||||
checkBox.Unchecked += new RoutedEventHandler(checkBox_Unchecked);
|
||||
checkBox.Content = node.Name;
|
||||
checkBox.Tag = node;
|
||||
categoriesListBox.Items.Add(checkBox);
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// Fills the list of ids.
|
||||
/// </summary>
|
||||
private void FillIdsCombo()
|
||||
{
|
||||
idComboBox.Items.Clear();
|
||||
|
||||
foreach (Node catNode in ThisMainExtension.Data.MainNode.Nodes.Values)
|
||||
{
|
||||
foreach (Node elemNode in catNode.Nodes.Values)
|
||||
{
|
||||
idComboBox.Items.Add(elemNode);
|
||||
}
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// Handles the Unchecked event of the checkBox control.
|
||||
/// </summary>
|
||||
/// <param name="sender">The source of the event.</param>
|
||||
/// <param name="e">The <see cref="System.Windows.RoutedEventArgs"/> instance containing the event data.</param>
|
||||
void checkBox_Unchecked(object sender, RoutedEventArgs e)
|
||||
{
|
||||
CheckBox checkBox = sender as CheckBox;
|
||||
ThisMainExtension.Data.SelectedCategories.Remove(checkBox.Tag as Node);
|
||||
ThisMainExtension.RefreshNote();
|
||||
}
|
||||
/// <summary>
|
||||
/// Handles the Checked event of the checkBox control.
|
||||
/// </summary>
|
||||
/// <param name="sender">The source of the event.</param>
|
||||
/// <param name="e">The <see cref="System.Windows.RoutedEventArgs"/> instance containing the event data.</param>
|
||||
void checkBox_Checked(object sender, RoutedEventArgs e)
|
||||
{
|
||||
CheckBox checkBox = sender as CheckBox;
|
||||
ThisMainExtension.Data.SelectedCategories.Add(checkBox.Tag as Node);
|
||||
ThisMainExtension.RefreshNote();
|
||||
}
|
||||
/// <summary>
|
||||
/// Handles the SelectionChanged event of the idComboBox control.
|
||||
/// </summary>
|
||||
/// <param name="sender">The source of the event.</param>
|
||||
/// <param name="e">The <see cref="System.Windows.Controls.SelectionChangedEventArgs"/> instance containing the event data.</param>
|
||||
private void idComboBox_SelectionChanged(object sender, SelectionChangedEventArgs e)
|
||||
{
|
||||
ThisMainExtension.Data.SelectedElement = idComboBox.SelectedItem as Node;
|
||||
ThisMainExtension.RefreshNote();
|
||||
}
|
||||
/// <summary>
|
||||
/// Handles the 1 event of the CheckBox_Checked control.
|
||||
/// </summary>
|
||||
/// <param name="sender">The source of the event.</param>
|
||||
/// <param name="e">The <see cref="System.Windows.RoutedEventArgs"/> instance containing the event data.</param>
|
||||
private void CheckBox_Checked_1(object sender, RoutedEventArgs e)
|
||||
{
|
||||
CheckBox checkBox = sender as CheckBox;
|
||||
ThisMainExtension.Data.IdMode = checkBox.IsChecked.Value;
|
||||
idComboBox.IsEnabled = checkBox.IsChecked.Value;
|
||||
categoriesListBox.IsEnabled = !checkBox.IsChecked.Value;
|
||||
ThisMainExtension.RefreshNote();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
After Width: | Height: | Size: 421 KiB |
|
After Width: | Height: | Size: 2.0 KiB |
|
After Width: | Height: | Size: 611 B |
|
After Width: | Height: | Size: 740 B |
|
After Width: | Height: | Size: 757 B |
|
After Width: | Height: | Size: 679 B |
|
After Width: | Height: | Size: 444 B |
|
After Width: | Height: | Size: 474 B |
|
After Width: | Height: | Size: 3.3 KiB |
|
After Width: | Height: | Size: 340 B |
|
After Width: | Height: | Size: 714 B |
@@ -0,0 +1,117 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Runtime Version:4.0.30319.42000
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace REX.ElementReportHTML.Resources.Strings {
|
||||
using System;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// A strongly-typed resource class, for looking up localized strings, etc.
|
||||
/// </summary>
|
||||
// This class was auto-generated by the StronglyTypedResourceBuilder
|
||||
// class via a tool like ResGen or Visual Studio.
|
||||
// To add or remove a member, edit your .ResX file then rerun ResGen
|
||||
// with the /str option, or rebuild your VS project.
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
||||
internal class Texts {
|
||||
|
||||
private static global::System.Resources.ResourceManager resourceMan;
|
||||
|
||||
private static global::System.Globalization.CultureInfo resourceCulture;
|
||||
|
||||
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
|
||||
internal Texts() {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Returns the cached ResourceManager instance used by this class.
|
||||
/// </summary>
|
||||
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
internal static global::System.Resources.ResourceManager ResourceManager {
|
||||
get {
|
||||
if (object.ReferenceEquals(resourceMan, null)) {
|
||||
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("REX.ElementReportHTML.Resources.Strings.Texts", typeof(Texts).Assembly);
|
||||
resourceMan = temp;
|
||||
}
|
||||
return resourceMan;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Overrides the current thread's CurrentUICulture property for all
|
||||
/// resource lookups using this strongly typed resource class.
|
||||
/// </summary>
|
||||
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
internal static global::System.Globalization.CultureInfo Culture {
|
||||
get {
|
||||
return resourceCulture;
|
||||
}
|
||||
set {
|
||||
resourceCulture = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Data.
|
||||
/// </summary>
|
||||
internal static string LIST_Data {
|
||||
get {
|
||||
return ResourceManager.GetString("LIST_Data", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Results.
|
||||
/// </summary>
|
||||
internal static string LIST_Results {
|
||||
get {
|
||||
return ResourceManager.GetString("LIST_Results", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Question.
|
||||
/// </summary>
|
||||
internal static string MessageBox_CaptionQuestion {
|
||||
get {
|
||||
return ResourceManager.GetString("MessageBox_CaptionQuestion", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Errors occurred! Do you want to continue?.
|
||||
/// </summary>
|
||||
internal static string MessageBox_ErrorQuestion {
|
||||
get {
|
||||
return ResourceManager.GetString("MessageBox_ErrorQuestion", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to My extension (ElementReportHTML).
|
||||
/// </summary>
|
||||
internal static string REX_ModuleDescription {
|
||||
get {
|
||||
return ResourceManager.GetString("REX_ModuleDescription", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to To launch this extension, Extensions Engine at least version %vern should be installed.\nThe current version is: %verc.
|
||||
/// </summary>
|
||||
internal static string REX_VersionInfo {
|
||||
get {
|
||||
return ResourceManager.GetString("REX_VersionInfo", resourceCulture);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,138 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<data name="LIST_Data" xml:space="preserve">
|
||||
<value>Data</value>
|
||||
</data>
|
||||
<data name="LIST_Results" xml:space="preserve">
|
||||
<value>Results</value>
|
||||
</data>
|
||||
<data name="MessageBox_CaptionQuestion" xml:space="preserve">
|
||||
<value>Question</value>
|
||||
</data>
|
||||
<data name="MessageBox_ErrorQuestion" xml:space="preserve">
|
||||
<value>Errors occurred! Do you want to continue?</value>
|
||||
</data>
|
||||
<data name="REX_ModuleDescription" xml:space="preserve">
|
||||
<value>My extension (ElementReportHTML)</value>
|
||||
</data>
|
||||
<data name="REX_VersionInfo" xml:space="preserve">
|
||||
<value>To launch this extension, Extensions Engine at least version %vern should be installed.\nThe current version is: %verc</value>
|
||||
</data>
|
||||
</root>
|
||||
@@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<options product="REX" name="REX">
|
||||
<option name="SDK" description="SDK" description_full="SDK" version="" domain="" date="">
|
||||
<option name="ElementReportHTML" description="ElementReportHTML" description_full="ElementReportHTML" version="0.5" domain="" date="" type="">
|
||||
<data>
|
||||
<data.run type="ASSEMBLY" path="ElementReportHTML" file="ElementReportHTML.dll" class="REX.ElementReportHTML.Application" direct_revit_class="REX.ElementReportHTML.DirectRevitAccess"/>
|
||||
</data>
|
||||
</option>
|
||||
</option>
|
||||
</options>
|
||||
@@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<options product="REX" name="REX">
|
||||
<option name="SDK" description="SDK" description_full="SDK" version="" domain="" date="">
|
||||
<option name="ElementReportHTML" description="ElementReportHTML" description_full="ElementReportHTML" version="0.5" domain="" date="" type="">
|
||||
<data>
|
||||
<data.run type="ASSEMBLY" path="ElementReportHTML" file="ElementReportHTML.dll" class="REX.ElementReportHTML.Application" direct_revit_class="REX.ElementReportHTML.DirectRevitAccess"/>
|
||||
</data>
|
||||
</option>
|
||||
</option>
|
||||
</options>
|
||||
@@ -0,0 +1,324 @@
|
||||
{\rtf1\adeflang1025\ansi\ansicpg1252\uc1\adeff0\deff0\stshfdbch31505\stshfloch31506\stshfhich31506\stshfbi0\deflang1033\deflangfe1033\themelang1033\themelangfe0\themelangcs0{\fonttbl{\f0\fbidi \froman\fcharset0\fprq2{\*\panose 02020603050405020304}Times New Roman;}{\f1\fbidi \fswiss\fcharset0\fprq2{\*\panose 020b0604020202020204}Arial;}
|
||||
{\f2\fbidi \fmodern\fcharset0\fprq1{\*\panose 02070309020205020404}Courier New;}{\f3\fbidi \froman\fcharset2\fprq2{\*\panose 05050102010706020507}Symbol;}{\f10\fbidi \fnil\fcharset2\fprq2{\*\panose 05000000000000000000}Wingdings;}
|
||||
{\f34\fbidi \froman\fcharset0\fprq2{\*\panose 02040503050406030204}Cambria Math;}{\f39\fbidi \fnil\fcharset134\fprq1{\*\panose 00000000000000000000}Fixedsys{\*\falt Arial Unicode MS};}
|
||||
{\f40\fbidi \fnil\fcharset134\fprq1{\*\panose 00000000000000000000}@Fixedsys;}{\flomajor\f31500\fbidi \froman\fcharset0\fprq2{\*\panose 02020603050405020304}Times New Roman;}
|
||||
{\fdbmajor\f31501\fbidi \froman\fcharset0\fprq2{\*\panose 02020603050405020304}Times New Roman;}{\fhimajor\f31502\fbidi \froman\fcharset0\fprq2{\*\panose 02040503050406030204}Cambria;}
|
||||
{\fbimajor\f31503\fbidi \froman\fcharset0\fprq2{\*\panose 02020603050405020304}Times New Roman;}{\flominor\f31504\fbidi \froman\fcharset0\fprq2{\*\panose 02020603050405020304}Times New Roman;}
|
||||
{\fdbminor\f31505\fbidi \froman\fcharset0\fprq2{\*\panose 02020603050405020304}Times New Roman;}{\fhiminor\f31506\fbidi \fswiss\fcharset0\fprq2{\*\panose 020f0502020204030204}Calibri;}
|
||||
{\fbiminor\f31507\fbidi \froman\fcharset0\fprq2{\*\panose 02020603050405020304}Times New Roman;}{\f389\fbidi \froman\fcharset238\fprq2 Times New Roman CE;}{\f390\fbidi \froman\fcharset204\fprq2 Times New Roman Cyr;}
|
||||
{\f392\fbidi \froman\fcharset161\fprq2 Times New Roman Greek;}{\f393\fbidi \froman\fcharset162\fprq2 Times New Roman Tur;}{\f394\fbidi \froman\fcharset177\fprq2 Times New Roman (Hebrew);}{\f395\fbidi \froman\fcharset178\fprq2 Times New Roman (Arabic);}
|
||||
{\f396\fbidi \froman\fcharset186\fprq2 Times New Roman Baltic;}{\f397\fbidi \froman\fcharset163\fprq2 Times New Roman (Vietnamese);}{\f399\fbidi \fswiss\fcharset238\fprq2 Arial CE;}{\f400\fbidi \fswiss\fcharset204\fprq2 Arial Cyr;}
|
||||
{\f402\fbidi \fswiss\fcharset161\fprq2 Arial Greek;}{\f403\fbidi \fswiss\fcharset162\fprq2 Arial Tur;}{\f404\fbidi \fswiss\fcharset177\fprq2 Arial (Hebrew);}{\f405\fbidi \fswiss\fcharset178\fprq2 Arial (Arabic);}
|
||||
{\f406\fbidi \fswiss\fcharset186\fprq2 Arial Baltic;}{\f407\fbidi \fswiss\fcharset163\fprq2 Arial (Vietnamese);}{\f409\fbidi \fmodern\fcharset238\fprq1 Courier New CE;}{\f410\fbidi \fmodern\fcharset204\fprq1 Courier New Cyr;}
|
||||
{\f412\fbidi \fmodern\fcharset161\fprq1 Courier New Greek;}{\f413\fbidi \fmodern\fcharset162\fprq1 Courier New Tur;}{\f414\fbidi \fmodern\fcharset177\fprq1 Courier New (Hebrew);}{\f415\fbidi \fmodern\fcharset178\fprq1 Courier New (Arabic);}
|
||||
{\f416\fbidi \fmodern\fcharset186\fprq1 Courier New Baltic;}{\f417\fbidi \fmodern\fcharset163\fprq1 Courier New (Vietnamese);}{\f729\fbidi \froman\fcharset238\fprq2 Cambria Math CE;}{\f730\fbidi \froman\fcharset204\fprq2 Cambria Math Cyr;}
|
||||
{\f732\fbidi \froman\fcharset161\fprq2 Cambria Math Greek;}{\f733\fbidi \froman\fcharset162\fprq2 Cambria Math Tur;}{\f736\fbidi \froman\fcharset186\fprq2 Cambria Math Baltic;}{\f737\fbidi \froman\fcharset163\fprq2 Cambria Math (Vietnamese);}
|
||||
{\flomajor\f31508\fbidi \froman\fcharset238\fprq2 Times New Roman CE;}{\flomajor\f31509\fbidi \froman\fcharset204\fprq2 Times New Roman Cyr;}{\flomajor\f31511\fbidi \froman\fcharset161\fprq2 Times New Roman Greek;}
|
||||
{\flomajor\f31512\fbidi \froman\fcharset162\fprq2 Times New Roman Tur;}{\flomajor\f31513\fbidi \froman\fcharset177\fprq2 Times New Roman (Hebrew);}{\flomajor\f31514\fbidi \froman\fcharset178\fprq2 Times New Roman (Arabic);}
|
||||
{\flomajor\f31515\fbidi \froman\fcharset186\fprq2 Times New Roman Baltic;}{\flomajor\f31516\fbidi \froman\fcharset163\fprq2 Times New Roman (Vietnamese);}{\fdbmajor\f31518\fbidi \froman\fcharset238\fprq2 Times New Roman CE;}
|
||||
{\fdbmajor\f31519\fbidi \froman\fcharset204\fprq2 Times New Roman Cyr;}{\fdbmajor\f31521\fbidi \froman\fcharset161\fprq2 Times New Roman Greek;}{\fdbmajor\f31522\fbidi \froman\fcharset162\fprq2 Times New Roman Tur;}
|
||||
{\fdbmajor\f31523\fbidi \froman\fcharset177\fprq2 Times New Roman (Hebrew);}{\fdbmajor\f31524\fbidi \froman\fcharset178\fprq2 Times New Roman (Arabic);}{\fdbmajor\f31525\fbidi \froman\fcharset186\fprq2 Times New Roman Baltic;}
|
||||
{\fdbmajor\f31526\fbidi \froman\fcharset163\fprq2 Times New Roman (Vietnamese);}{\fhimajor\f31528\fbidi \froman\fcharset238\fprq2 Cambria CE;}{\fhimajor\f31529\fbidi \froman\fcharset204\fprq2 Cambria Cyr;}
|
||||
{\fhimajor\f31531\fbidi \froman\fcharset161\fprq2 Cambria Greek;}{\fhimajor\f31532\fbidi \froman\fcharset162\fprq2 Cambria Tur;}{\fhimajor\f31535\fbidi \froman\fcharset186\fprq2 Cambria Baltic;}
|
||||
{\fhimajor\f31536\fbidi \froman\fcharset163\fprq2 Cambria (Vietnamese);}{\fbimajor\f31538\fbidi \froman\fcharset238\fprq2 Times New Roman CE;}{\fbimajor\f31539\fbidi \froman\fcharset204\fprq2 Times New Roman Cyr;}
|
||||
{\fbimajor\f31541\fbidi \froman\fcharset161\fprq2 Times New Roman Greek;}{\fbimajor\f31542\fbidi \froman\fcharset162\fprq2 Times New Roman Tur;}{\fbimajor\f31543\fbidi \froman\fcharset177\fprq2 Times New Roman (Hebrew);}
|
||||
{\fbimajor\f31544\fbidi \froman\fcharset178\fprq2 Times New Roman (Arabic);}{\fbimajor\f31545\fbidi \froman\fcharset186\fprq2 Times New Roman Baltic;}{\fbimajor\f31546\fbidi \froman\fcharset163\fprq2 Times New Roman (Vietnamese);}
|
||||
{\flominor\f31548\fbidi \froman\fcharset238\fprq2 Times New Roman CE;}{\flominor\f31549\fbidi \froman\fcharset204\fprq2 Times New Roman Cyr;}{\flominor\f31551\fbidi \froman\fcharset161\fprq2 Times New Roman Greek;}
|
||||
{\flominor\f31552\fbidi \froman\fcharset162\fprq2 Times New Roman Tur;}{\flominor\f31553\fbidi \froman\fcharset177\fprq2 Times New Roman (Hebrew);}{\flominor\f31554\fbidi \froman\fcharset178\fprq2 Times New Roman (Arabic);}
|
||||
{\flominor\f31555\fbidi \froman\fcharset186\fprq2 Times New Roman Baltic;}{\flominor\f31556\fbidi \froman\fcharset163\fprq2 Times New Roman (Vietnamese);}{\fdbminor\f31558\fbidi \froman\fcharset238\fprq2 Times New Roman CE;}
|
||||
{\fdbminor\f31559\fbidi \froman\fcharset204\fprq2 Times New Roman Cyr;}{\fdbminor\f31561\fbidi \froman\fcharset161\fprq2 Times New Roman Greek;}{\fdbminor\f31562\fbidi \froman\fcharset162\fprq2 Times New Roman Tur;}
|
||||
{\fdbminor\f31563\fbidi \froman\fcharset177\fprq2 Times New Roman (Hebrew);}{\fdbminor\f31564\fbidi \froman\fcharset178\fprq2 Times New Roman (Arabic);}{\fdbminor\f31565\fbidi \froman\fcharset186\fprq2 Times New Roman Baltic;}
|
||||
{\fdbminor\f31566\fbidi \froman\fcharset163\fprq2 Times New Roman (Vietnamese);}{\fhiminor\f31568\fbidi \fswiss\fcharset238\fprq2 Calibri CE;}{\fhiminor\f31569\fbidi \fswiss\fcharset204\fprq2 Calibri Cyr;}
|
||||
{\fhiminor\f31571\fbidi \fswiss\fcharset161\fprq2 Calibri Greek;}{\fhiminor\f31572\fbidi \fswiss\fcharset162\fprq2 Calibri Tur;}{\fhiminor\f31575\fbidi \fswiss\fcharset186\fprq2 Calibri Baltic;}
|
||||
{\fhiminor\f31576\fbidi \fswiss\fcharset163\fprq2 Calibri (Vietnamese);}{\fbiminor\f31578\fbidi \froman\fcharset238\fprq2 Times New Roman CE;}{\fbiminor\f31579\fbidi \froman\fcharset204\fprq2 Times New Roman Cyr;}
|
||||
{\fbiminor\f31581\fbidi \froman\fcharset161\fprq2 Times New Roman Greek;}{\fbiminor\f31582\fbidi \froman\fcharset162\fprq2 Times New Roman Tur;}{\fbiminor\f31583\fbidi \froman\fcharset177\fprq2 Times New Roman (Hebrew);}
|
||||
{\fbiminor\f31584\fbidi \froman\fcharset178\fprq2 Times New Roman (Arabic);}{\fbiminor\f31585\fbidi \froman\fcharset186\fprq2 Times New Roman Baltic;}{\fbiminor\f31586\fbidi \froman\fcharset163\fprq2 Times New Roman (Vietnamese);}}
|
||||
{\colortbl;\red0\green0\blue0;\red0\green0\blue255;\red0\green255\blue255;\red0\green255\blue0;\red255\green0\blue255;\red255\green0\blue0;\red255\green255\blue0;\red255\green255\blue255;\red0\green0\blue128;\red0\green128\blue128;\red0\green128\blue0;
|
||||
\red128\green0\blue128;\red128\green0\blue0;\red128\green128\blue0;\red128\green128\blue128;\red192\green192\blue192;}{\*\defchp \fs22\loch\af31506\hich\af31506\dbch\af31505 }{\*\defpap \ql \li0\ri0\sa200\sl276\slmult1
|
||||
\widctlpar\wrapdefault\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap0 }\noqfpromote {\stylesheet{\ql \li0\ri0\sa200\sl276\slmult1\widctlpar\wrapdefault\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap0 \rtlch\fcs1 \af0\afs22\alang1025 \ltrch\fcs0
|
||||
\fs22\lang1033\langfe1033\loch\f31506\hich\af31506\dbch\af31505\cgrid\langnp1033\langfenp1033 \snext0 \sqformat \spriority0 Normal;}{\*\cs10 \additive \ssemihidden \sunhideused \spriority1 Default Paragraph Font;}{\*
|
||||
\ts11\tsrowd\trftsWidthB3\trpaddl108\trpaddr108\trpaddfl3\trpaddft3\trpaddfb3\trpaddfr3\trcbpat1\trcfpat1\tblind0\tblindtype3\tsvertalt\tsbrdrt\tsbrdrl\tsbrdrb\tsbrdrr\tsbrdrdgl\tsbrdrdgr\tsbrdrh\tsbrdrv \ql \li0\ri0\sa200\sl276\slmult1
|
||||
\widctlpar\wrapdefault\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap0 \rtlch\fcs1 \af0\afs22\alang1025 \ltrch\fcs0 \fs22\lang1033\langfe1033\loch\f31506\hich\af31506\dbch\af31505\cgrid\langnp1033\langfenp1033 \snext11 \ssemihidden \sunhideused
|
||||
Normal Table;}}{\*\listtable{\list\listtemplateid154578118\listhybrid{\listlevel\levelnfc23\levelnfcn23\leveljc0\leveljcn0\levelfollow0\levelstartat0\levelspace0\levelindent0{\leveltext\leveltemplateid-1311219408\'01-;}{\levelnumbers;}
|
||||
\loch\af1\hich\af1\dbch\af39\fbias0 \fi-360\li1080\lin1080 }{\listlevel\levelnfc23\levelnfcn23\leveljc0\leveljcn0\levelfollow0\levelstartat1\lvltentative\levelspace0\levelindent0{\leveltext\leveltemplateid67698691\'01o;}{\levelnumbers;}\f2\fbias0
|
||||
\fi-360\li1800\lin1800 }{\listlevel\levelnfc23\levelnfcn23\leveljc0\leveljcn0\levelfollow0\levelstartat1\lvltentative\levelspace0\levelindent0{\leveltext\leveltemplateid67698693\'01\u-3929 ?;}{\levelnumbers;}\f10\fbias0 \fi-360\li2520\lin2520 }{\listlevel
|
||||
\levelnfc23\levelnfcn23\leveljc0\leveljcn0\levelfollow0\levelstartat1\lvltentative\levelspace0\levelindent0{\leveltext\leveltemplateid67698689\'01\u-3913 ?;}{\levelnumbers;}\f3\fbias0 \fi-360\li3240\lin3240 }{\listlevel\levelnfc23\levelnfcn23\leveljc0
|
||||
\leveljcn0\levelfollow0\levelstartat1\lvltentative\levelspace0\levelindent0{\leveltext\leveltemplateid67698691\'01o;}{\levelnumbers;}\f2\fbias0 \fi-360\li3960\lin3960 }{\listlevel\levelnfc23\levelnfcn23\leveljc0\leveljcn0\levelfollow0\levelstartat1
|
||||
\lvltentative\levelspace0\levelindent0{\leveltext\leveltemplateid67698693\'01\u-3929 ?;}{\levelnumbers;}\f10\fbias0 \fi-360\li4680\lin4680 }{\listlevel\levelnfc23\levelnfcn23\leveljc0\leveljcn0\levelfollow0\levelstartat1\lvltentative\levelspace0
|
||||
\levelindent0{\leveltext\leveltemplateid67698689\'01\u-3913 ?;}{\levelnumbers;}\f3\fbias0 \fi-360\li5400\lin5400 }{\listlevel\levelnfc23\levelnfcn23\leveljc0\leveljcn0\levelfollow0\levelstartat1\lvltentative\levelspace0\levelindent0{\leveltext
|
||||
\leveltemplateid67698691\'01o;}{\levelnumbers;}\f2\fbias0 \fi-360\li6120\lin6120 }{\listlevel\levelnfc23\levelnfcn23\leveljc0\leveljcn0\levelfollow0\levelstartat1\lvltentative\levelspace0\levelindent0{\leveltext\leveltemplateid67698693
|
||||
\'01\u-3929 ?;}{\levelnumbers;}\f10\fbias0 \fi-360\li6840\lin6840 }{\listname ;}\listid670180154}{\list\listtemplateid-1687893750\listhybrid{\listlevel\levelnfc0\levelnfcn0\leveljc0\leveljcn0\levelfollow0\levelstartat1\levelspace360\levelindent0
|
||||
{\leveltext\leveltemplateid67698703\'02\'00.;}{\levelnumbers\'01;}\rtlch\fcs1 \af0 \ltrch\fcs0 \fbias0 \fi-360\li720\lin720 }{\listlevel\levelnfc4\levelnfcn4\leveljc0\leveljcn0\levelfollow0\levelstartat1\lvltentative\levelspace0\levelindent0{\leveltext
|
||||
\leveltemplateid67698713\'02\'01.;}{\levelnumbers\'01;}\rtlch\fcs1 \af0 \ltrch\fcs0 \fi-360\li1440\lin1440 }{\listlevel\levelnfc2\levelnfcn2\leveljc2\leveljcn2\levelfollow0\levelstartat1\lvltentative\levelspace0\levelindent0{\leveltext
|
||||
\leveltemplateid67698715\'02\'02.;}{\levelnumbers\'01;}\rtlch\fcs1 \af0 \ltrch\fcs0 \fi-180\li2160\lin2160 }{\listlevel\levelnfc0\levelnfcn0\leveljc0\leveljcn0\levelfollow0\levelstartat1\lvltentative\levelspace0\levelindent0{\leveltext
|
||||
\leveltemplateid67698703\'02\'03.;}{\levelnumbers\'01;}\rtlch\fcs1 \af0 \ltrch\fcs0 \fi-360\li2880\lin2880 }{\listlevel\levelnfc4\levelnfcn4\leveljc0\leveljcn0\levelfollow0\levelstartat1\lvltentative\levelspace0\levelindent0{\leveltext
|
||||
\leveltemplateid67698713\'02\'04.;}{\levelnumbers\'01;}\rtlch\fcs1 \af0 \ltrch\fcs0 \fi-360\li3600\lin3600 }{\listlevel\levelnfc2\levelnfcn2\leveljc2\leveljcn2\levelfollow0\levelstartat1\lvltentative\levelspace0\levelindent0{\leveltext
|
||||
\leveltemplateid67698715\'02\'05.;}{\levelnumbers\'01;}\rtlch\fcs1 \af0 \ltrch\fcs0 \fi-180\li4320\lin4320 }{\listlevel\levelnfc0\levelnfcn0\leveljc0\leveljcn0\levelfollow0\levelstartat1\lvltentative\levelspace0\levelindent0{\leveltext
|
||||
\leveltemplateid67698703\'02\'06.;}{\levelnumbers\'01;}\rtlch\fcs1 \af0 \ltrch\fcs0 \fi-360\li5040\lin5040 }{\listlevel\levelnfc4\levelnfcn4\leveljc0\leveljcn0\levelfollow0\levelstartat1\lvltentative\levelspace0\levelindent0{\leveltext
|
||||
\leveltemplateid67698713\'02\'07.;}{\levelnumbers\'01;}\rtlch\fcs1 \af0 \ltrch\fcs0 \fi-360\li5760\lin5760 }{\listlevel\levelnfc2\levelnfcn2\leveljc2\leveljcn2\levelfollow0\levelstartat1\lvltentative\levelspace0\levelindent0{\leveltext
|
||||
\leveltemplateid67698715\'02\'08.;}{\levelnumbers\'01;}\rtlch\fcs1 \af0 \ltrch\fcs0 \fi-180\li6480\lin6480 }{\listname ;}\listid982462950}{\list\listtemplateid1085811748\listhybrid{\listlevel\levelnfc23\levelnfcn23\leveljc0\leveljcn0\levelfollow0
|
||||
\levelstartat0\levelspace360\levelindent0{\leveltext\leveltemplateid664539694\'01-;}{\levelnumbers;}\loch\af1\hich\af1\dbch\af39\fbias0 \fi-360\li720\lin720 }{\listlevel\levelnfc23\levelnfcn23\leveljc0\leveljcn0\levelfollow0\levelstartat1\lvltentative
|
||||
\levelspace360\levelindent0{\leveltext\leveltemplateid67698691\'01o;}{\levelnumbers;}\f2\fbias0 \fi-360\li1440\lin1440 }{\listlevel\levelnfc23\levelnfcn23\leveljc0\leveljcn0\levelfollow0\levelstartat1\lvltentative\levelspace360\levelindent0{\leveltext
|
||||
\leveltemplateid67698693\'01\u-3929 ?;}{\levelnumbers;}\f10\fbias0 \fi-360\li2160\lin2160 }{\listlevel\levelnfc23\levelnfcn23\leveljc0\leveljcn0\levelfollow0\levelstartat1\lvltentative\levelspace360\levelindent0{\leveltext\leveltemplateid67698689
|
||||
\'01\u-3913 ?;}{\levelnumbers;}\f3\fbias0 \fi-360\li2880\lin2880 }{\listlevel\levelnfc23\levelnfcn23\leveljc0\leveljcn0\levelfollow0\levelstartat1\lvltentative\levelspace360\levelindent0{\leveltext\leveltemplateid67698691\'01o;}{\levelnumbers;}\f2\fbias0
|
||||
\fi-360\li3600\lin3600 }{\listlevel\levelnfc23\levelnfcn23\leveljc0\leveljcn0\levelfollow0\levelstartat1\lvltentative\levelspace360\levelindent0{\leveltext\leveltemplateid67698693\'01\u-3929 ?;}{\levelnumbers;}\f10\fbias0 \fi-360\li4320\lin4320 }
|
||||
{\listlevel\levelnfc23\levelnfcn23\leveljc0\leveljcn0\levelfollow0\levelstartat1\lvltentative\levelspace360\levelindent0{\leveltext\leveltemplateid67698689\'01\u-3913 ?;}{\levelnumbers;}\f3\fbias0 \fi-360\li5040\lin5040 }{\listlevel\levelnfc23\levelnfcn23
|
||||
\leveljc0\leveljcn0\levelfollow0\levelstartat1\lvltentative\levelspace360\levelindent0{\leveltext\leveltemplateid67698691\'01o;}{\levelnumbers;}\f2\fbias0 \fi-360\li5760\lin5760 }{\listlevel\levelnfc23\levelnfcn23\leveljc0\leveljcn0\levelfollow0
|
||||
\levelstartat1\lvltentative\levelspace360\levelindent0{\leveltext\leveltemplateid67698693\'01\u-3929 ?;}{\levelnumbers;}\f10\fbias0 \fi-360\li6480\lin6480 }{\listname ;}\listid1677884127}{\list\listtemplateid-597548598\listhybrid{\listlevel\levelnfc23
|
||||
\levelnfcn23\leveljc0\leveljcn0\levelfollow0\levelstartat0\levelspace0\levelindent0{\leveltext\leveltemplateid664539694\'01-;}{\levelnumbers;}\loch\af1\hich\af1\dbch\af39\fbias0 \fi-360\li720\lin720 }{\listlevel\levelnfc23\levelnfcn23\leveljc0\leveljcn0
|
||||
\levelfollow0\levelstartat1\lvltentative\levelspace0\levelindent0{\leveltext\leveltemplateid67698691\'01o;}{\levelnumbers;}\f2\fbias0 \fi-360\li1440\lin1440 }{\listlevel\levelnfc23\levelnfcn23\leveljc0\leveljcn0\levelfollow0\levelstartat1\lvltentative
|
||||
\levelspace0\levelindent0{\leveltext\leveltemplateid67698693\'01\u-3929 ?;}{\levelnumbers;}\f10\fbias0 \fi-360\li2160\lin2160 }{\listlevel\levelnfc23\levelnfcn23\leveljc0\leveljcn0\levelfollow0\levelstartat1\lvltentative\levelspace0\levelindent0
|
||||
{\leveltext\leveltemplateid67698689\'01\u-3913 ?;}{\levelnumbers;}\f3\fbias0 \fi-360\li2880\lin2880 }{\listlevel\levelnfc23\levelnfcn23\leveljc0\leveljcn0\levelfollow0\levelstartat1\lvltentative\levelspace0\levelindent0{\leveltext\leveltemplateid67698691
|
||||
\'01o;}{\levelnumbers;}\f2\fbias0 \fi-360\li3600\lin3600 }{\listlevel\levelnfc23\levelnfcn23\leveljc0\leveljcn0\levelfollow0\levelstartat1\lvltentative\levelspace0\levelindent0{\leveltext\leveltemplateid67698693\'01\u-3929 ?;}{\levelnumbers;}\f10\fbias0
|
||||
\fi-360\li4320\lin4320 }{\listlevel\levelnfc23\levelnfcn23\leveljc0\leveljcn0\levelfollow0\levelstartat1\lvltentative\levelspace0\levelindent0{\leveltext\leveltemplateid67698689\'01\u-3913 ?;}{\levelnumbers;}\f3\fbias0 \fi-360\li5040\lin5040 }{\listlevel
|
||||
\levelnfc23\levelnfcn23\leveljc0\leveljcn0\levelfollow0\levelstartat1\lvltentative\levelspace0\levelindent0{\leveltext\leveltemplateid67698691\'01o;}{\levelnumbers;}\f2\fbias0 \fi-360\li5760\lin5760 }{\listlevel\levelnfc23\levelnfcn23\leveljc0\leveljcn0
|
||||
\levelfollow0\levelstartat1\lvltentative\levelspace0\levelindent0{\leveltext\leveltemplateid67698693\'01\u-3929 ?;}{\levelnumbers;}\f10\fbias0 \fi-360\li6480\lin6480 }{\listname ;}\listid1811971856}}{\*\listoverridetable{\listoverride\listid670180154
|
||||
\listoverridecount0\ls1}{\listoverride\listid1811971856\listoverridecount0\ls2}{\listoverride\listid982462950\listoverridecount0\ls3}{\listoverride\listid1677884127\listoverridecount0\ls4}}{\*\rsidtbl \rsid85718\rsid144132\rsid466955\rsid538525
|
||||
\rsid1403698\rsid2307087\rsid2313257\rsid2495712\rsid3216288\rsid3892547\rsid5986209\rsid6180407\rsid6187565\rsid6453515\rsid6769169\rsid7355889\rsid7436494\rsid7875650\rsid8611418\rsid9600544\rsid10180232\rsid10189020\rsid10497927\rsid10511401
|
||||
\rsid11347200\rsid11747079\rsid12269866\rsid12855747\rsid12985103\rsid13046620\rsid13257754\rsid13644089\rsid14251038\rsid14379834\rsid14645320\rsid14701341\rsid14760119\rsid15413184\rsid15734330\rsid15753286\rsid15813555\rsid15992273\rsid16201153
|
||||
\rsid16269875}{\mmathPr\mmathFont34\mbrkBin0\mbrkBinSub0\msmallFrac0\mdispDef1\mlMargin0\mrMargin0\mdefJc1\mwrapIndent1440\mintLim0\mnaryLim1}{\info{\author wolskip}{\operator Pawel Madej}{\creatim\yr2010\mo12\dy14\hr8\min22}
|
||||
{\revtim\yr2017\mo1\dy12\hr17\min25}{\version49}{\edmins376}{\nofpages2}{\nofwords456}{\nofchars2603}{\nofcharsws3053}{\vern57441}}{\*\xmlnstbl {\xmlns1 http://schemas.microsoft.com/office/word/2003/wordml}}
|
||||
\paperw12240\paperh15840\margl1440\margr1440\margt1440\margb1440\gutter0\ltrsect
|
||||
\widowctrl\ftnbj\aenddoc\hyphhotz425\trackmoves0\trackformatting1\donotembedsysfont0\relyonvml0\donotembedlingdata1\grfdocevents0\validatexml0\showplaceholdtext0\ignoremixedcontent0\saveinvalidxml0\showxmlerrors0\horzdoc\dghspace120\dgvspace120
|
||||
\dghorigin1701\dgvorigin1984\dghshow0\dgvshow3\jcompress\viewkind1\viewscale130\rsidroot15753286 \fet0{\*\wgrffmtfilter 2450}\ilfomacatclnup0\ltrpar \sectd \ltrsect\linex0\headery708\footery708\colsx708\sectdefaultcl\sftnbj {\*\pnseclvl1
|
||||
\pnucrm\pnstart1\pnindent720\pnhang {\pntxta .}}{\*\pnseclvl2\pnucltr\pnstart1\pnindent720\pnhang {\pntxta .}}{\*\pnseclvl3\pndec\pnstart1\pnindent720\pnhang {\pntxta .}}{\*\pnseclvl4\pnlcltr\pnstart1\pnindent720\pnhang {\pntxta )}}{\*\pnseclvl5
|
||||
\pndec\pnstart1\pnindent720\pnhang {\pntxtb (}{\pntxta )}}{\*\pnseclvl6\pnlcltr\pnstart1\pnindent720\pnhang {\pntxtb (}{\pntxta )}}{\*\pnseclvl7\pnlcrm\pnstart1\pnindent720\pnhang {\pntxtb (}{\pntxta )}}{\*\pnseclvl8\pnlcltr\pnstart1\pnindent720\pnhang
|
||||
{\pntxtb (}{\pntxta )}}{\*\pnseclvl9\pnlcrm\pnstart1\pnindent720\pnhang {\pntxtb (}{\pntxta )}}\pard\plain \ltrpar\ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0 \rtlch\fcs1 \af0\afs22\alang1025 \ltrch\fcs0
|
||||
\fs22\lang1033\langfe1033\loch\af31506\hich\af31506\dbch\af31505\cgrid\langnp1033\langfenp1033 {\rtlch\fcs1 \ab\af1\afs20 \ltrch\fcs0 \b\f1\fs20\insrsid8611418 \hich\af1\dbch\af31505\loch\f1 Application:}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0
|
||||
\f1\fs20\insrsid6453515 \hich\af1\dbch\af31505\loch\f1 }{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid12269866 \hich\af1\dbch\af31505\loch\f1 ElementReportHTML}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid8611418 \line }{\rtlch\fcs1
|
||||
\ab\af1\afs20 \ltrch\fcs0 \b\f1\fs20\insrsid8611418 \hich\af1\dbch\af31505\loch\f1 R}{\rtlch\fcs1 \ab\af1\afs20 \ltrch\fcs0 \b\f1\fs20\insrsid6453515 \hich\af1\dbch\af31505\loch\f1 EXSDK}{\rtlch\fcs1 \ab\af1\afs20 \ltrch\fcs0 \b\f1\fs20\insrsid8611418
|
||||
\hich\af1\dbch\af31505\loch\f1 Version:}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid6769169 \hich\af1\dbch\af31505\loch\f1 201}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid13257754 \hich\af1\dbch\af31505\loch\f1 8}{\rtlch\fcs1 \af1\afs20
|
||||
\ltrch\fcs0 \f1\fs20\insrsid8611418 .0\line }{\rtlch\fcs1 \ab\af1\afs20 \ltrch\fcs0 \b\f1\fs20\insrsid8611418 \hich\af1\dbch\af31505\loch\f1 First Released For:}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid6453515 \hich\af1\dbch\af31505\loch\f1
|
||||
REXSDK 2012}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid8611418 \line }{\rtlch\fcs1 \ab\af1\afs20 \ltrch\fcs0 \b\f1\fs20\insrsid8611418 \hich\af1\dbch\af31505\loch\f1 Last Modified:}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid6453515
|
||||
\hich\af1\dbch\af31505\loch\f1 }{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid11747079 \hich\af1\dbch\af31505\loch\f1 01}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid3216288 \hich\af1\dbch\af31505\loch\f1 /}{\rtlch\fcs1 \af1\afs20
|
||||
\ltrch\fcs0 \f1\fs20\insrsid11747079 \hich\af1\dbch\af31505\loch\f1 07}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid3216288 \hich\af1\dbch\af31505\loch\f1 /201}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid11747079
|
||||
\hich\af1\dbch\af31505\loch\f1 6}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid8611418 \line }{\rtlch\fcs1 \ab\af1\afs20 \ltrch\fcs0 \b\f1\fs20\insrsid8611418 \hich\af1\dbch\af31505\loch\f1 Modified By:}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0
|
||||
\f1\fs20\insrsid8611418 \hich\af1\dbch\af31505\loch\f1 Autodesk\line }{\rtlch\fcs1 \ab\af1\afs20 \ltrch\fcs0 \b\f1\fs20\insrsid8611418 \hich\af1\dbch\af31505\loch\f1 Programming Language:}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid8611418
|
||||
\hich\af1\dbch\af31505\loch\f1 C#\line }{\rtlch\fcs1 \ab\af1\afs20 \ltrch\fcs0 \b\f1\fs20\insrsid8611418 \hich\af1\dbch\af31505\loch\f1 Skill Level:}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid8611418 \hich\af1\dbch\af31505\loch\f1 }{
|
||||
\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid12269866 \hich\af1\dbch\af31505\loch\f1 Easy}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid10497927 \hich\af1\dbch\af31505\loch\f1 }{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid8611418
|
||||
\line \line }{\rtlch\fcs1 \ab\af1\afs20 \ltrch\fcs0 \b\f1\fs20\insrsid8611418 \hich\af1\dbch\af31505\loch\f1 Subject:}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid8611418 \hich\af1\dbch\af31505\loch\f1 }{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0
|
||||
\f1\fs20\insrsid2495712 \hich\af1\dbch\af31505\loch\f1 Read properties }{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid15413184 \hich\af1\dbch\af31505\loch\f1 of elements in the project and prepare the html note which is presented on module\hich\f1
|
||||
\rquote \loch\f1 s window.}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid2495712
|
||||
\par }\pard \ltrpar\ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0\pararsid14701341 {\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid8611418 \line }{\rtlch\fcs1 \ab\af1\afs20 \ltrch\fcs0 \b\f1\fs20\insrsid8611418 \hich\af1\dbch\af31505\loch\f1
|
||||
Summary:}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid8611418 \hich\af1\dbch\af31505\loch\f1 \line This sample demonstrates how to create}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid85718 \hich\af1\dbch\af31505\loch\f1
|
||||
an Extension module based on WPF technology.}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid8611418 \hich\af1\dbch\af31505\loch\f1 }{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid85718 \hich\af1\dbch\af31505\loch\f1 The module reads}{
|
||||
\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid15413184 \hich\af1\dbch\af31505\loch\f1 elements which exist in the }{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid14701341 \hich\af1\dbch\af31505\loch\f1 Revit }{\rtlch\fcs1 \af1\afs20
|
||||
\ltrch\fcs0 \f1\fs20\insrsid15413184 \hich\af1\dbch\af31505\loch\f1 project. Elements are organized}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid14701341 \hich\af1\dbch\af31505\loch\f1
|
||||
according to their categories and presented in the HTML note. There is possibility to limit the content of the note by choosing appropriate categories or specify the single element. The not\hich\af1\dbch\af31505\loch\f1 e can be saved in }{\rtlch\fcs1
|
||||
\af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid13644089 \hich\af1\dbch\af31505\loch\f1 an }{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid14701341 \hich\af1\dbch\af31505\loch\f1 html or}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid13644089
|
||||
\hich\af1\dbch\af31505\loch\f1 a}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid14701341 \hich\af1\dbch\af31505\loch\f1 mht format.}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid8611418
|
||||
\par }\pard \ltrpar\ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0\pararsid15813555 {\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid3892547
|
||||
\par }\pard \ltrpar\ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0\pararsid3892547 {\rtlch\fcs1 \ab\af1\afs20 \ltrch\fcs0 \b\fs20\loch\af1\hich\af1\dbch\af39\insrsid3892547 \hich\af1\dbch\af39\loch\f1 REXSDK values:}{\rtlch\fcs1 \af1\afs20
|
||||
\ltrch\fcs0 \fs20\loch\af1\hich\af1\dbch\af39\insrsid3892547 \hich\af1\dbch\af39\loch\f1 }{\rtlch\fcs1 \af0\afs20 \ltrch\fcs0 \fs20\loch\af0\hich\af0\dbch\af39\insrsid3892547
|
||||
\par {\listtext\pard\plain\ltrpar \rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \fs20\loch\af1\hich\af1\dbch\af39\insrsid3892547 \hich\af1\dbch\af39\loch\f1 -\tab}}\pard \ltrpar\ql \fi-360\li720\ri0\nowidctlpar\wrapdefault\faauto\ls4\rin0\lin720\itap0\pararsid8611418 {
|
||||
\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \fs20\loch\af1\hich\af1\dbch\af39\insrsid3892547 \hich\af1\dbch\af39\loch\f1 Create the REX extension module in WPF technology}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \fs20\loch\af1\hich\af1\dbch\af39\insrsid14701341 .}{
|
||||
\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \fs20\loch\af1\hich\af1\dbch\af39\insrsid7355889
|
||||
\par {\listtext\pard\plain\ltrpar \rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \fs20\loch\af1\hich\af1\dbch\af39\insrsid14701341 \hich\af1\dbch\af39\loch\f1 -\tab}}\pard \ltrpar\ql \fi-360\li720\ri0\nowidctlpar\wrapdefault\faauto\ls4\rin0\lin720\itap0\pararsid14701341 {
|
||||
\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \fs20\loch\af1\hich\af1\dbch\af39\insrsid14701341 \hich\af1\dbch\af39\loch\f1 Usage of ROHTML component.}{\rtlch\fcs1 \af0\afs20 \ltrch\fcs0 \f0\fs20\insrsid8611418\charrsid14701341
|
||||
\par }\pard \ltrpar\ql \li720\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin720\itap0\pararsid14701341 {\rtlch\fcs1 \af0\afs20 \ltrch\fcs0 \f0\fs20\insrsid14701341
|
||||
\par }\pard \ltrpar\ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0 {\rtlch\fcs1 \ab\af1\afs20 \ltrch\fcs0 \b\f1\fs20\insrsid8611418 \hich\af1\dbch\af31505\loch\f1 Project Files:}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid8611418
|
||||
\hich\af1\dbch\af31505\loch\f1 }{\rtlch\fcs1 \af0\afs20 \ltrch\fcs0 \f0\fs20\insrsid8611418
|
||||
\par }{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid15734330
|
||||
\par \hich\af1\dbch\af31505\loch\f1 Generated by the wizard:
|
||||
\par
|
||||
\par }{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid15992273 \hich\af1\dbch\af31505\loch\f1 Extension.cs:
|
||||
\par }\pard \ltrpar\ql \li720\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin720\itap0\pararsid15992273 {\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid15992273 \hich\af1\dbch\af31505\loch\f1
|
||||
The main class generated by the wizard. It contains definition of the Extension class which is the main class in the REXExtension module. This class is a central point which al}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid6187565
|
||||
\hich\af1\dbch\af31505\loch\f1 lows user to manage and customize the module.}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid15992273
|
||||
\par }\pard \ltrpar\ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0\pararsid6187565 {\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid6187565
|
||||
\par \hich\af1\dbch\af31505\loch\f1 ExtensionRevit.cs:
|
||||
\par }\pard \ltrpar\ql \li720\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin720\itap0\pararsid6187565 {\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid6187565 \hich\af1\dbch\af31505\loch\f1
|
||||
This file contains an ExtensionRevit class. This class allows to separate general functionality (provided by the Extension class) from functionality characteristic for the Revit context e.g. setting layouts may be done in the Extension class but reading R
|
||||
\hich\af1\dbch\af31505\loch\f1 e\hich\af1\dbch\af31505\loch\f1 vit elements should be carried }{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid14701341 \hich\af1\dbch\af31505\loch\f1 out in the ExtensionRevit class.}{\rtlch\fcs1 \af1\afs20
|
||||
\ltrch\fcs0 \f1\fs20\insrsid6187565
|
||||
\par }\pard \ltrpar\ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0\pararsid6187565 {\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid6187565
|
||||
\par \hich\af1\dbch\af31505\loch\f1 Data.cs
|
||||
\par }\pard \ltrpar\ql \li720\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin720\itap0\pararsid15734330 {\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid15734330 \hich\af1\dbch\af31505\loch\f1
|
||||
This file contains a Data class which is a data container accessible from different places in the module. All common objects should be placed in this class.}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid6187565
|
||||
\par }\pard \ltrpar\ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0\pararsid15734330 {\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid15734330
|
||||
\par \hich\af1\dbch\af31505\loch\f1 Application.cs, DirectAcc\hich\af1\dbch\af31505\loch\f1 ess.cs, Results.cs
|
||||
\par }\pard \ltrpar\ql \li720\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin720\itap0\pararsid10189020 {\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid15734330 \hich\af1\dbch\af31505\loch\f1 These files were generated by the wizard but there is no need to }{
|
||||
\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid10189020 \hich\af1\dbch\af31505\loch\f1 make any changes in }{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid6180407 \hich\af1\dbch\af31505\loch\f1 their}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0
|
||||
\f1\fs20\insrsid10189020 \hich\af1\dbch\af31505\loch\f1 content.}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid15734330
|
||||
\par }\pard \ltrpar\ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0 {\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid15992273
|
||||
\par }{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid15734330 \hich\af1\dbch\af31505\loch\f1 Added manually:}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid6180407
|
||||
\par }{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid15734330
|
||||
\par }{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid14701341 \hich\af1\dbch\af31505\loch\f1 Report}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid6180407 \hich\af1\dbch\af31505\loch\f1 Control.xaml,}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0
|
||||
\f1\fs20\insrsid14701341\charrsid14701341 \hich\af1\dbch\af31505\loch\f1 }{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid14701341 \hich\af1\dbch\af31505\loch\f1 Report}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid6180407
|
||||
\hich\af1\dbch\af31505\loch\f1 Control.xaml.cs
|
||||
\par }\pard \ltrpar\ql \li720\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin720\itap0\pararsid7436494 {\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid6180407 \hich\af1\dbch\af31505\loch\f1 These file}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0
|
||||
\f1\fs20\insrsid7436494 \hich\af1\dbch\af31505\loch\f1 s}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid6180407 \hich\af1\dbch\af31505\loch\f1 contain }{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid8611418 \hich\af1\dbch\af31505\loch\f1 a }{
|
||||
\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid6180407 \hich\af1\dbch\af31505\loch\f1 definition of the }{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid14701341 \hich\af1\dbch\af31505\loch\f1 control which creates the note and pr
|
||||
\hich\af1\dbch\af31505\loch\f1 esents it as its content}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid7436494 .
|
||||
\par }\pard \ltrpar\ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0\pararsid7436494 {\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid7436494
|
||||
\par }{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid14701341 \hich\af1\dbch\af31505\loch\f1 ReportSettingsControl}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid7436494 \hich\af1\dbch\af31505\loch\f1 .xaml,}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0
|
||||
\f1\fs20\insrsid7436494\charrsid7436494 \hich\af1\dbch\af31505\loch\f1 }{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid14701341 \hich\af1\dbch\af31505\loch\f1 ReportSettingsControl}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid7436494
|
||||
\hich\af1\dbch\af31505\loch\f1 .xaml.cs
|
||||
\par }\pard \ltrpar\ql \li720\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin720\itap0\pararsid7436494 {\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid7436494 \hich\af1\dbch\af31505\loch\f1 These files contain }{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0
|
||||
\f1\fs20\insrsid8611418 \hich\af1\dbch\af31505\loch\f1 a }{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid7436494 \hich\af1\dbch\af31505\loch\f1 definition of the }{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid14701341
|
||||
\hich\af1\dbch\af31505\loch\f1 control which allows }{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid13644089 \hich\af1\dbch\af31505\loch\f1 managing}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid14701341 \hich\af1\dbch\af31505\loch\f1 note
|
||||
\hich\f1 \rquote \loch\f1 s content.}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid7436494 \hich\af1\dbch\af31505\loch\f1 }{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid6180407 \tab
|
||||
\par }\pard \ltrpar\ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0\pararsid2307087 {\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid2307087
|
||||
\par }{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid14379834 \hich\af1\dbch\af31505\loch\f1 Node}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid2307087 \hich\af1\dbch\af31505\loch\f1 .cs
|
||||
\par }\pard \ltrpar\ql \li720\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin720\itap0\pararsid2307087 {\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid2307087 \hich\af1\dbch\af31505\loch\f1 This file contains a }{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0
|
||||
\f1\fs20\insrsid14379834 \hich\af1\dbch\af31505\loch\f1 Node}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid2307087 \hich\af1\dbch\af31505\loch\f1 class which represents the}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid14379834
|
||||
\hich\af1\dbch\af31505\loch\f1 single item of the t\hich\af1\dbch\af31505\loch\f1 ree structure}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid2307087 .}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid14379834 \hich\af1\dbch\af31505\loch\f1
|
||||
There are 4 levels in the tree structure: root, category, element and property.}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid2307087 \hich\af1\dbch\af31505\loch\f1
|
||||
\par }\pard \ltrpar\ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0\pararsid2307087 {\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid3892547
|
||||
\par }\pard \ltrpar\ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0 {\rtlch\fcs1 \af0\afs20 \ltrch\fcs0 \fs20\loch\af0\hich\af0\dbch\af39\insrsid8611418
|
||||
\par }{\rtlch\fcs1 \ab\af1\afs20 \ltrch\fcs0 \b\fs20\loch\af1\hich\af1\dbch\af39\insrsid8611418 \hich\af1\dbch\af39\loch\f1 Description:}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \fs20\loch\af1\hich\af1\dbch\af39\insrsid8611418 \hich\af1\dbch\af39\loch\f1 }{
|
||||
\rtlch\fcs1 \af0\afs20 \ltrch\fcs0 \fs20\loch\af0\hich\af0\dbch\af39\insrsid8611418
|
||||
\par }\pard \ltrpar\ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0\pararsid16201153 {\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \fs20\loch\af1\hich\af1\dbch\af39\insrsid8611418 \hich\af1\dbch\af39\loch\f1 This sample }{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0
|
||||
\fs20\loch\af1\hich\af1\dbch\af39\insrsid10180232 \hich\af1\dbch\af39\loch\f1 examines the }{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \fs20\loch\af1\hich\af1\dbch\af39\insrsid16201153 \hich\af1\dbch\af39\loch\f1 current }{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0
|
||||
\fs20\loch\af1\hich\af1\dbch\af39\insrsid13046620 \hich\af1\dbch\af39\loch\f1 project and gathers information about elements which are neither type nor detail components, and which contain \hich\af1\dbch\af39\loch\f1
|
||||
the geometry definition). Filtered elements are organized according to their categories. Except}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \fs20\loch\af1\hich\af1\dbch\af39\insrsid11347200 \hich\af1\dbch\af39\loch\f1 the}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0
|
||||
\fs20\loch\af1\hich\af1\dbch\af39\insrsid13046620 \hich\af1\dbch\af39\loch\f1 name and the id all parameters of an element are stored and presented in the note.
|
||||
\par }{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \fs20\loch\af1\hich\af1\dbch\af39\insrsid11347200 \hich\af1\dbch\af39\loch\f1 The dialog is split into two parts:
|
||||
\par }\pard \ltrpar\ql \fi720\li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0\pararsid13644089 {\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \fs20\loch\af1\hich\af1\dbch\af39\insrsid13644089 \hich\af1\dbch\af39\loch\f1 - }{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0
|
||||
\fs20\loch\af1\hich\af1\dbch\af39\insrsid11347200 \hich\af1\dbch\af39\loch\f1 The html note \hich\f1 \endash \loch\f1 presents the genera\hich\af1\dbch\af39\loch\f1 ted note
|
||||
\par }\pard \ltrpar\ql \li720\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin720\itap0\pararsid13644089 {\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \fs20\loch\af1\hich\af1\dbch\af39\insrsid13644089 \hich\af1\dbch\af39\loch\f1 - }{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0
|
||||
\fs20\loch\af1\hich\af1\dbch\af39\insrsid11347200 \hich\af1\dbch\af39\loch\f1 The settings of the note \hich\f1 \endash \loch\f1 allows customizing the note by choosing appropriate categories or specifying the element by ID.
|
||||
\par }\pard \ltrpar\ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0\pararsid16201153 {\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \fs20\loch\af1\hich\af1\dbch\af39\insrsid13644089 \hich\af1\dbch\af39\loch\f1
|
||||
There is also possibility to save the note as a mht or an html document.}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \fs20\loch\af1\hich\af1\dbch\af39\insrsid13046620
|
||||
\par }\pard \ltrpar\ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0 {\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \fs20\loch\af1\hich\af1\dbch\af39\insrsid8611418
|
||||
\par }{\rtlch\fcs1 \ab\af1\afs20 \ltrch\fcs0 \b\fs20\loch\af1\hich\af1\dbch\af39\insrsid8611418 \hich\af1\dbch\af39\loch\f1 Instructions:}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \fs20\cf2\loch\af1\hich\af1\dbch\af39\insrsid8611418 \hich\af1\dbch\af39\loch\f1 }{
|
||||
\rtlch\fcs1 \af0\afs20 \ltrch\fcs0 \fs20\cf2\loch\af0\hich\af0\dbch\af39\insrsid8611418
|
||||
\par {\listtext\pard\plain\ltrpar \rtlch\fcs1 \af0\afs20 \ltrch\fcs0 \fs20\loch\af1\hich\af1\dbch\af39\insrsid14760119 \hich\af1\dbch\af39\loch\f1 1.\tab}}\pard \ltrpar\ql \fi-360\li720\ri0\nowidctlpar
|
||||
\tx360\wrapdefault\faauto\ls3\rin0\lin720\itap0\pararsid8611418 {\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \fs20\loch\af1\hich\af1\dbch\af39\insrsid14760119 \hich\af1\dbch\af39\loch\f1 \hich\f1 Copy the module to the \'85\hich\af1\dbch\af39\loch\f1
|
||||
Modules/Category directory
|
||||
\par {\listtext\pard\plain\ltrpar \rtlch\fcs1 \af0\afs20 \ltrch\fcs0 \fs20\loch\af1\hich\af1\dbch\af39\insrsid8611418 \hich\af1\dbch\af39\loch\f1 2.\tab}}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \fs20\loch\af1\hich\af1\dbch\af39\insrsid8611418
|
||||
\hich\af1\dbch\af39\loch\f1 Open Revit Structure.
|
||||
\par {\listtext\pard\plain\ltrpar \rtlch\fcs1 \af0\afs20 \ltrch\fcs0 \fs20\loch\af1\hich\af1\dbch\af39\insrsid13644089 \hich\af1\dbch\af39\loch\f1 3.\tab}}\pard \ltrpar\ql \fi-360\li720\ri0\nowidctlpar
|
||||
\tx360\wrapdefault\faauto\ls3\rin0\lin720\itap0\pararsid13644089 {\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \fs20\loch\af1\hich\af1\dbch\af39\insrsid13644089 \hich\af1\dbch\af39\loch\f1 Open the project with a structure defined (or create it by yourself)}{
|
||||
\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \fs20\loch\af1\hich\af1\dbch\af39\insrsid8611418
|
||||
\par {\listtext\pard\plain\ltrpar \rtlch\fcs1 \af0\afs20 \ltrch\fcs0 \fs20\loch\af1\hich\af1\dbch\af39\insrsid8611418 \hich\af1\dbch\af39\loch\f1 4.\tab}}\pard \ltrpar\ql \fi-360\li720\ri0\nowidctlpar
|
||||
\tx360\wrapdefault\faauto\ls3\rin0\lin720\itap0\pararsid8611418 {\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \fs20\loch\af1\hich\af1\dbch\af39\insrsid8611418 \hich\af1\dbch\af39\loch\f1 Run the }{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0
|
||||
\fs20\loch\af1\hich\af1\dbch\af39\insrsid14645320 \hich\af1\dbch\af39\loch\f1 Extension.}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \fs20\loch\af1\hich\af1\dbch\af39\insrsid8611418
|
||||
\par {\listtext\pard\plain\ltrpar \rtlch\fcs1 \af0\afs20 \ltrch\fcs0 \fs20\loch\af1\hich\af1\dbch\af39\insrsid13644089 \hich\af1\dbch\af39\loch\f1 5.\tab}}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \fs20\loch\af1\hich\af1\dbch\af39\insrsid13644089
|
||||
\hich\af1\dbch\af39\loch\f1 Define note\hich\f1 \rquote \loch\f1 s settings.}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \fs20\loch\af1\hich\af1\dbch\af39\insrsid8611418
|
||||
\par {\listtext\pard\plain\ltrpar \rtlch\fcs1 \af0\afs20 \ltrch\fcs0 \fs20\loch\af1\hich\af1\dbch\af39\insrsid13644089 \hich\af1\dbch\af39\loch\f1 6.\tab}}\pard \ltrpar\ql \fi-360\li720\ri0\nowidctlpar
|
||||
\tx360\wrapdefault\faauto\ls3\rin0\lin720\itap0\pararsid13644089 {\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \fs20\loch\af1\hich\af1\dbch\af39\insrsid13644089 \hich\af1\dbch\af39\loch\f1 Save the note.}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0
|
||||
\fs20\loch\af1\hich\af1\dbch\af39\insrsid8611418
|
||||
\par }{\*\themedata 504b030414000600080000002100e9de0fbfff0000001c020000130000005b436f6e74656e745f54797065735d2e786d6cac91cb4ec3301045f748fc83e52d4a
|
||||
9cb2400825e982c78ec7a27cc0c8992416c9d8b2a755fbf74cd25442a820166c2cd933f79e3be372bd1f07b5c3989ca74aaff2422b24eb1b475da5df374fd9ad
|
||||
5689811a183c61a50f98f4babebc2837878049899a52a57be670674cb23d8e90721f90a4d2fa3802cb35762680fd800ecd7551dc18eb899138e3c943d7e503b6
|
||||
b01d583deee5f99824e290b4ba3f364eac4a430883b3c092d4eca8f946c916422ecab927f52ea42b89a1cd59c254f919b0e85e6535d135a8de20f20b8c12c3b0
|
||||
0c895fcf6720192de6bf3b9e89ecdbd6596cbcdd8eb28e7c365ecc4ec1ff1460f53fe813d3cc7f5b7f020000ffff0300504b030414000600080000002100a5d6
|
||||
a7e7c0000000360100000b0000005f72656c732f2e72656c73848fcf6ac3300c87ef85bd83d17d51d2c31825762fa590432fa37d00e1287f68221bdb1bebdb4f
|
||||
c7060abb0884a4eff7a93dfeae8bf9e194e720169aaa06c3e2433fcb68e1763dbf7f82c985a4a725085b787086a37bdbb55fbc50d1a33ccd311ba548b6309512
|
||||
0f88d94fbc52ae4264d1c910d24a45db3462247fa791715fd71f989e19e0364cd3f51652d73760ae8fa8c9ffb3c330cc9e4fc17faf2ce545046e37944c69e462
|
||||
a1a82fe353bd90a865aad41ed0b5b8f9d6fd010000ffff0300504b0304140006000800000021006b799616830000008a0000001c0000007468656d652f746865
|
||||
6d652f7468656d654d616e616765722e786d6c0ccc4d0ac3201040e17da17790d93763bb284562b2cbaebbf600439c1a41c7a0d29fdbd7e5e38337cedf14d59b
|
||||
4b0d592c9c070d8a65cd2e88b7f07c2ca71ba8da481cc52c6ce1c715e6e97818c9b48d13df49c873517d23d59085adb5dd20d6b52bd521ef2cdd5eb9246a3d8b
|
||||
4757e8d3f729e245eb2b260a0238fd010000ffff0300504b03041400060008000000210096b5ade296060000501b0000160000007468656d652f7468656d652f
|
||||
7468656d65312e786d6cec594f6fdb3614bf0fd87720746f6327761a07758ad8b19b2d4d1bc46e871e698996d850a240d2497d1bdae38001c3ba618715d86d87
|
||||
615b8116d8a5fb34d93a6c1dd0afb0475292c5585e9236d88aad3e2412f9e3fbff1e1fa9abd7eec70c1d1221294fda5efd72cd4324f1794093b0eddd1ef62fad
|
||||
79482a9c0498f184b4bd2991deb58df7dfbb8ad755446282607d22d771db8b944ad79796a40fc3585ee62949606ecc458c15bc8a702910f808e8c66c69b9565b
|
||||
5d8a314d3c94e018c8de1a8fa94fd05093f43672e23d06af89927ac06762a049136785c10607758d9053d965021d62d6f6804fc08f86e4bef210c352c144dbab
|
||||
999fb7b4717509af678b985ab0b6b4ae6f7ed9ba6c4170b06c788a705430adf71bad2b5b057d03606a1ed7ebf5babd7a41cf00b0ef83a6569632cd467faddec9
|
||||
699640f6719e76b7d6ac355c7c89feca9cccad4ea7d36c65b258a206641f1b73f8b5da6a6373d9c11b90c537e7f08dce66b7bbeae00dc8e257e7f0fd2badd586
|
||||
8b37a088d1e4600ead1ddaef67d40bc898b3ed4af81ac0d76a197c86826828a24bb318f3442d8ab518dfe3a20f000d6458d104a9694ac6d88728eee2782428d6
|
||||
0cf03ac1a5193be4cbb921cd0b495fd054b5bd0f530c1931a3f7eaf9f7af9e3f45c70f9e1d3ff8e9f8e1c3e3073f5a42ceaa6d9c84e5552fbffdeccfc71fa33f
|
||||
9e7ef3f2d117d57859c6fffac327bffcfc793510d26726ce8b2f9ffcf6ecc98baf3efdfdbb4715f04d814765f890c644a29be408edf3181433567125272371be
|
||||
15c308d3f28acd249438c19a4b05fd9e8a1cf4cd296699771c393ac4b5e01d01e5a30a787d72cf1178108989a2159c77a2d801ee72ce3a5c545a6147f32a9979
|
||||
3849c26ae66252c6ed637c58c5bb8b13c7bfbd490a75330f4b47f16e441c31f7184e140e494214d273fc80900aedee52ead87597fa824b3e56e82e451d4c2b4d
|
||||
32a423279a668bb6690c7e9956e90cfe766cb37b077538abd27a8b1cba48c80acc2a841f12e698f13a9e281c57911ce298950d7e03aba84ac8c154f8655c4f2a
|
||||
f074481847bd804859b5e696007d4b4edfc150b12addbecba6b18b148a1e54d1bc81392f23b7f84137c2715a851dd0242a633f900710a218ed715505dfe56e86
|
||||
e877f0034e16bafb0e258ebb4faf06b769e888340b103d3311da9750aa9d0a1cd3e4efca31a3508f6d0c5c5c398602f8e2ebc71591f5b616e24dd893aa3261fb
|
||||
44f95d843b5974bb5c04f4edafb95b7892ec1108f3f98de75dc97d5772bdff7cc95d94cf672db4b3da0a6557f70db629362d72bcb0431e53c6066acac80d699a
|
||||
6409fb44d08741bdce9c0e4971624a2378cceaba830b05366b90e0ea23aaa241845368b0eb9e2612ca8c742851ca251ceccc70256d8d87265dd96361531f186c
|
||||
3d9058edf2c00eafe8e1fc5c509031bb4d680e9f39a3154de0accc56ae644441edd76156d7429d995bdd88664a9dc3ad50197c38af1a0c16d684060441db0256
|
||||
5e85f3b9660d0713cc48a0ed6ef7dedc2dc60b17e92219e180643ed27acffba86e9c94c78ab90980d8a9f0913ee49d62b512b79626fb06dccee2a432bbc60276
|
||||
b9f7dec44b7904cfbca4f3f6443ab2a49c9c2c41476dafd55c6e7ac8c769db1bc399161ee314bc2e75cf8759081743be1236ec4f4d6693e5336fb672c5dc24a8
|
||||
c33585b5fb9cc24e1d4885545b58463634cc5416022cd19cacfccb4d30eb45296023fd35a458598360f8d7a4003bbaae25e331f155d9d9a5116d3bfb9a95523e
|
||||
51440ca2e0088dd844ec6370bf0e55d027a012ae264c45d02f708fa6ad6da6dce29c255df9f6cae0ec38666984b372ab5334cf640b37795cc860de4ae2816e95
|
||||
b21be5ceaf8a49f90b52a51cc6ff3355f47e0237052b81f6800fd7b802239daf6d8f0b1571a8426944fdbe80c6c1d40e8816b88b8569082ab84c36ff0539d4ff
|
||||
6dce591a26ade1c0a7f669880485fd484582903d284b26fa4e2156cff62e4b9265844c4495c495a9157b440e091bea1ab8aaf7760f4510eaa69a6465c0e04ec6
|
||||
9ffb9e65d028d44d4e39df9c1a52ecbd3607fee9cec7263328e5d661d3d0e4f62f44acd855ed7ab33cdf7bcb8ae889599bd5c8b3029895b6825696f6af29c239
|
||||
b75a5bb1e6345e6ee6c28117e73586c1a2214ae1be07e93fb0ff51e133fb65426fa843be0fb515c187064d0cc206a2fa926d3c902e907670048d931db4c1a449
|
||||
59d366ad93b65abe595f70a75bf03d616c2dd959fc7d4e6317cd99cbcec9c58b34766661c7d6766ca1a9c1b327531486c6f941c638c67cd22a7f75e2a37be0e8
|
||||
2db8df9f30254d30c1372581a1f51c983c80e4b71ccdd28dbf000000ffff0300504b0304140006000800000021000dd1909fb60000001b010000270000007468
|
||||
656d652f7468656d652f5f72656c732f7468656d654d616e616765722e786d6c2e72656c73848f4d0ac2301484f78277086f6fd3ba109126dd88d0add40384e4
|
||||
350d363f2451eced0dae2c082e8761be9969bb979dc9136332de3168aa1a083ae995719ac16db8ec8e4052164e89d93b64b060828e6f37ed1567914b284d2624
|
||||
52282e3198720e274a939cd08a54f980ae38a38f56e422a3a641c8bbd048f7757da0f19b017cc524bd62107bd5001996509affb3fd381a89672f1f165dfe5141
|
||||
73d9850528a2c6cce0239baa4c04ca5bbabac4df000000ffff0300504b01022d0014000600080000002100e9de0fbfff0000001c020000130000000000000000
|
||||
0000000000000000005b436f6e74656e745f54797065735d2e786d6c504b01022d0014000600080000002100a5d6a7e7c0000000360100000b00000000000000
|
||||
000000000000300100005f72656c732f2e72656c73504b01022d00140006000800000021006b799616830000008a0000001c0000000000000000000000000019
|
||||
0200007468656d652f7468656d652f7468656d654d616e616765722e786d6c504b01022d001400060008000000210096b5ade296060000501b00001600000000
|
||||
000000000000000000d60200007468656d652f7468656d652f7468656d65312e786d6c504b01022d00140006000800000021000dd1909fb60000001b01000027
|
||||
00000000000000000000000000a00900007468656d652f7468656d652f5f72656c732f7468656d654d616e616765722e786d6c2e72656c73504b050600000000050005005d0100009b0a00000000}
|
||||
{\*\colorschememapping 3c3f786d6c2076657273696f6e3d22312e302220656e636f64696e673d225554462d3822207374616e64616c6f6e653d22796573223f3e0d0a3c613a636c724d
|
||||
617020786d6c6e733a613d22687474703a2f2f736368656d61732e6f70656e786d6c666f726d6174732e6f72672f64726177696e676d6c2f323030362f6d6169
|
||||
6e22206267313d226c743122207478313d22646b3122206267323d226c743222207478323d22646b322220616363656e74313d22616363656e74312220616363
|
||||
656e74323d22616363656e74322220616363656e74333d22616363656e74332220616363656e74343d22616363656e74342220616363656e74353d22616363656e74352220616363656e74363d22616363656e74362220686c696e6b3d22686c696e6b2220666f6c486c696e6b3d22666f6c486c696e6b222f3e}
|
||||
{\*\latentstyles\lsdstimax371\lsdlockeddef0\lsdsemihiddendef0\lsdunhideuseddef0\lsdqformatdef0\lsdprioritydef99{\lsdlockedexcept \lsdqformat1 \lsdpriority0 \lsdlocked0 Normal;\lsdqformat1 \lsdpriority9 \lsdlocked0 heading 1;
|
||||
\lsdsemihidden1 \lsdunhideused1 \lsdqformat1 \lsdpriority9 \lsdlocked0 heading 2;\lsdsemihidden1 \lsdunhideused1 \lsdqformat1 \lsdpriority9 \lsdlocked0 heading 3;\lsdsemihidden1 \lsdunhideused1 \lsdqformat1 \lsdpriority9 \lsdlocked0 heading 4;
|
||||
\lsdsemihidden1 \lsdunhideused1 \lsdqformat1 \lsdpriority9 \lsdlocked0 heading 5;\lsdsemihidden1 \lsdunhideused1 \lsdqformat1 \lsdpriority9 \lsdlocked0 heading 6;\lsdsemihidden1 \lsdunhideused1 \lsdqformat1 \lsdpriority9 \lsdlocked0 heading 7;
|
||||
\lsdsemihidden1 \lsdunhideused1 \lsdqformat1 \lsdpriority9 \lsdlocked0 heading 8;\lsdsemihidden1 \lsdunhideused1 \lsdqformat1 \lsdpriority9 \lsdlocked0 heading 9;\lsdsemihidden1 \lsdunhideused1 \lsdpriority39 \lsdlocked0 toc 1;
|
||||
\lsdsemihidden1 \lsdunhideused1 \lsdpriority39 \lsdlocked0 toc 2;\lsdsemihidden1 \lsdunhideused1 \lsdpriority39 \lsdlocked0 toc 3;\lsdsemihidden1 \lsdunhideused1 \lsdpriority39 \lsdlocked0 toc 4;
|
||||
\lsdsemihidden1 \lsdunhideused1 \lsdpriority39 \lsdlocked0 toc 5;\lsdsemihidden1 \lsdunhideused1 \lsdpriority39 \lsdlocked0 toc 6;\lsdsemihidden1 \lsdunhideused1 \lsdpriority39 \lsdlocked0 toc 7;
|
||||
\lsdsemihidden1 \lsdunhideused1 \lsdpriority39 \lsdlocked0 toc 8;\lsdsemihidden1 \lsdunhideused1 \lsdpriority39 \lsdlocked0 toc 9;\lsdsemihidden1 \lsdunhideused1 \lsdqformat1 \lsdpriority35 \lsdlocked0 caption;
|
||||
\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 List Number;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 List 4;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 List 5;\lsdqformat1 \lsdpriority10 \lsdlocked0 Title;
|
||||
\lsdsemihidden1 \lsdunhideused1 \lsdpriority1 \lsdlocked0 Default Paragraph Font;\lsdqformat1 \lsdpriority11 \lsdlocked0 Subtitle;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Salutation;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Date;
|
||||
\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Body Text First Indent;\lsdqformat1 \lsdpriority22 \lsdlocked0 Strong;\lsdqformat1 \lsdpriority20 \lsdlocked0 Emphasis;\lsdpriority59 \lsdlocked0 Table Grid;\lsdsemihidden1 \lsdlocked0 Placeholder Text;
|
||||
\lsdqformat1 \lsdpriority1 \lsdlocked0 No Spacing;\lsdpriority60 \lsdlocked0 Light Shading;\lsdpriority61 \lsdlocked0 Light List;\lsdpriority62 \lsdlocked0 Light Grid;\lsdpriority63 \lsdlocked0 Medium Shading 1;\lsdpriority64 \lsdlocked0 Medium Shading 2;
|
||||
\lsdpriority65 \lsdlocked0 Medium List 1;\lsdpriority66 \lsdlocked0 Medium List 2;\lsdpriority67 \lsdlocked0 Medium Grid 1;\lsdpriority68 \lsdlocked0 Medium Grid 2;\lsdpriority69 \lsdlocked0 Medium Grid 3;\lsdpriority70 \lsdlocked0 Dark List;
|
||||
\lsdpriority71 \lsdlocked0 Colorful Shading;\lsdpriority72 \lsdlocked0 Colorful List;\lsdpriority73 \lsdlocked0 Colorful Grid;\lsdpriority60 \lsdlocked0 Light Shading Accent 1;\lsdpriority61 \lsdlocked0 Light List Accent 1;
|
||||
\lsdpriority62 \lsdlocked0 Light Grid Accent 1;\lsdpriority63 \lsdlocked0 Medium Shading 1 Accent 1;\lsdpriority64 \lsdlocked0 Medium Shading 2 Accent 1;\lsdpriority65 \lsdlocked0 Medium List 1 Accent 1;\lsdsemihidden1 \lsdlocked0 Revision;
|
||||
\lsdqformat1 \lsdpriority34 \lsdlocked0 List Paragraph;\lsdqformat1 \lsdpriority29 \lsdlocked0 Quote;\lsdqformat1 \lsdpriority30 \lsdlocked0 Intense Quote;\lsdpriority66 \lsdlocked0 Medium List 2 Accent 1;\lsdpriority67 \lsdlocked0 Medium Grid 1 Accent 1;
|
||||
\lsdpriority68 \lsdlocked0 Medium Grid 2 Accent 1;\lsdpriority69 \lsdlocked0 Medium Grid 3 Accent 1;\lsdpriority70 \lsdlocked0 Dark List Accent 1;\lsdpriority71 \lsdlocked0 Colorful Shading Accent 1;\lsdpriority72 \lsdlocked0 Colorful List Accent 1;
|
||||
\lsdpriority73 \lsdlocked0 Colorful Grid Accent 1;\lsdpriority60 \lsdlocked0 Light Shading Accent 2;\lsdpriority61 \lsdlocked0 Light List Accent 2;\lsdpriority62 \lsdlocked0 Light Grid Accent 2;\lsdpriority63 \lsdlocked0 Medium Shading 1 Accent 2;
|
||||
\lsdpriority64 \lsdlocked0 Medium Shading 2 Accent 2;\lsdpriority65 \lsdlocked0 Medium List 1 Accent 2;\lsdpriority66 \lsdlocked0 Medium List 2 Accent 2;\lsdpriority67 \lsdlocked0 Medium Grid 1 Accent 2;\lsdpriority68 \lsdlocked0 Medium Grid 2 Accent 2;
|
||||
\lsdpriority69 \lsdlocked0 Medium Grid 3 Accent 2;\lsdpriority70 \lsdlocked0 Dark List Accent 2;\lsdpriority71 \lsdlocked0 Colorful Shading Accent 2;\lsdpriority72 \lsdlocked0 Colorful List Accent 2;\lsdpriority73 \lsdlocked0 Colorful Grid Accent 2;
|
||||
\lsdpriority60 \lsdlocked0 Light Shading Accent 3;\lsdpriority61 \lsdlocked0 Light List Accent 3;\lsdpriority62 \lsdlocked0 Light Grid Accent 3;\lsdpriority63 \lsdlocked0 Medium Shading 1 Accent 3;\lsdpriority64 \lsdlocked0 Medium Shading 2 Accent 3;
|
||||
\lsdpriority65 \lsdlocked0 Medium List 1 Accent 3;\lsdpriority66 \lsdlocked0 Medium List 2 Accent 3;\lsdpriority67 \lsdlocked0 Medium Grid 1 Accent 3;\lsdpriority68 \lsdlocked0 Medium Grid 2 Accent 3;\lsdpriority69 \lsdlocked0 Medium Grid 3 Accent 3;
|
||||
\lsdpriority70 \lsdlocked0 Dark List Accent 3;\lsdpriority71 \lsdlocked0 Colorful Shading Accent 3;\lsdpriority72 \lsdlocked0 Colorful List Accent 3;\lsdpriority73 \lsdlocked0 Colorful Grid Accent 3;\lsdpriority60 \lsdlocked0 Light Shading Accent 4;
|
||||
\lsdpriority61 \lsdlocked0 Light List Accent 4;\lsdpriority62 \lsdlocked0 Light Grid Accent 4;\lsdpriority63 \lsdlocked0 Medium Shading 1 Accent 4;\lsdpriority64 \lsdlocked0 Medium Shading 2 Accent 4;\lsdpriority65 \lsdlocked0 Medium List 1 Accent 4;
|
||||
\lsdpriority66 \lsdlocked0 Medium List 2 Accent 4;\lsdpriority67 \lsdlocked0 Medium Grid 1 Accent 4;\lsdpriority68 \lsdlocked0 Medium Grid 2 Accent 4;\lsdpriority69 \lsdlocked0 Medium Grid 3 Accent 4;\lsdpriority70 \lsdlocked0 Dark List Accent 4;
|
||||
\lsdpriority71 \lsdlocked0 Colorful Shading Accent 4;\lsdpriority72 \lsdlocked0 Colorful List Accent 4;\lsdpriority73 \lsdlocked0 Colorful Grid Accent 4;\lsdpriority60 \lsdlocked0 Light Shading Accent 5;\lsdpriority61 \lsdlocked0 Light List Accent 5;
|
||||
\lsdpriority62 \lsdlocked0 Light Grid Accent 5;\lsdpriority63 \lsdlocked0 Medium Shading 1 Accent 5;\lsdpriority64 \lsdlocked0 Medium Shading 2 Accent 5;\lsdpriority65 \lsdlocked0 Medium List 1 Accent 5;\lsdpriority66 \lsdlocked0 Medium List 2 Accent 5;
|
||||
\lsdpriority67 \lsdlocked0 Medium Grid 1 Accent 5;\lsdpriority68 \lsdlocked0 Medium Grid 2 Accent 5;\lsdpriority69 \lsdlocked0 Medium Grid 3 Accent 5;\lsdpriority70 \lsdlocked0 Dark List Accent 5;\lsdpriority71 \lsdlocked0 Colorful Shading Accent 5;
|
||||
\lsdpriority72 \lsdlocked0 Colorful List Accent 5;\lsdpriority73 \lsdlocked0 Colorful Grid Accent 5;\lsdpriority60 \lsdlocked0 Light Shading Accent 6;\lsdpriority61 \lsdlocked0 Light List Accent 6;\lsdpriority62 \lsdlocked0 Light Grid Accent 6;
|
||||
\lsdpriority63 \lsdlocked0 Medium Shading 1 Accent 6;\lsdpriority64 \lsdlocked0 Medium Shading 2 Accent 6;\lsdpriority65 \lsdlocked0 Medium List 1 Accent 6;\lsdpriority66 \lsdlocked0 Medium List 2 Accent 6;
|
||||
\lsdpriority67 \lsdlocked0 Medium Grid 1 Accent 6;\lsdpriority68 \lsdlocked0 Medium Grid 2 Accent 6;\lsdpriority69 \lsdlocked0 Medium Grid 3 Accent 6;\lsdpriority70 \lsdlocked0 Dark List Accent 6;\lsdpriority71 \lsdlocked0 Colorful Shading Accent 6;
|
||||
\lsdpriority72 \lsdlocked0 Colorful List Accent 6;\lsdpriority73 \lsdlocked0 Colorful Grid Accent 6;\lsdqformat1 \lsdpriority19 \lsdlocked0 Subtle Emphasis;\lsdqformat1 \lsdpriority21 \lsdlocked0 Intense Emphasis;
|
||||
\lsdqformat1 \lsdpriority31 \lsdlocked0 Subtle Reference;\lsdqformat1 \lsdpriority32 \lsdlocked0 Intense Reference;\lsdqformat1 \lsdpriority33 \lsdlocked0 Book Title;\lsdsemihidden1 \lsdunhideused1 \lsdpriority37 \lsdlocked0 Bibliography;
|
||||
\lsdsemihidden1 \lsdunhideused1 \lsdqformat1 \lsdpriority39 \lsdlocked0 TOC Heading;\lsdpriority41 \lsdlocked0 Plain Table 1;\lsdpriority42 \lsdlocked0 Plain Table 2;\lsdpriority43 \lsdlocked0 Plain Table 3;\lsdpriority44 \lsdlocked0 Plain Table 4;
|
||||
\lsdpriority45 \lsdlocked0 Plain Table 5;\lsdpriority40 \lsdlocked0 Grid Table Light;\lsdpriority46 \lsdlocked0 Grid Table 1 Light;\lsdpriority47 \lsdlocked0 Grid Table 2;\lsdpriority48 \lsdlocked0 Grid Table 3;\lsdpriority49 \lsdlocked0 Grid Table 4;
|
||||
\lsdpriority50 \lsdlocked0 Grid Table 5 Dark;\lsdpriority51 \lsdlocked0 Grid Table 6 Colorful;\lsdpriority52 \lsdlocked0 Grid Table 7 Colorful;\lsdpriority46 \lsdlocked0 Grid Table 1 Light Accent 1;\lsdpriority47 \lsdlocked0 Grid Table 2 Accent 1;
|
||||
\lsdpriority48 \lsdlocked0 Grid Table 3 Accent 1;\lsdpriority49 \lsdlocked0 Grid Table 4 Accent 1;\lsdpriority50 \lsdlocked0 Grid Table 5 Dark Accent 1;\lsdpriority51 \lsdlocked0 Grid Table 6 Colorful Accent 1;
|
||||
\lsdpriority52 \lsdlocked0 Grid Table 7 Colorful Accent 1;\lsdpriority46 \lsdlocked0 Grid Table 1 Light Accent 2;\lsdpriority47 \lsdlocked0 Grid Table 2 Accent 2;\lsdpriority48 \lsdlocked0 Grid Table 3 Accent 2;
|
||||
\lsdpriority49 \lsdlocked0 Grid Table 4 Accent 2;\lsdpriority50 \lsdlocked0 Grid Table 5 Dark Accent 2;\lsdpriority51 \lsdlocked0 Grid Table 6 Colorful Accent 2;\lsdpriority52 \lsdlocked0 Grid Table 7 Colorful Accent 2;
|
||||
\lsdpriority46 \lsdlocked0 Grid Table 1 Light Accent 3;\lsdpriority47 \lsdlocked0 Grid Table 2 Accent 3;\lsdpriority48 \lsdlocked0 Grid Table 3 Accent 3;\lsdpriority49 \lsdlocked0 Grid Table 4 Accent 3;
|
||||
\lsdpriority50 \lsdlocked0 Grid Table 5 Dark Accent 3;\lsdpriority51 \lsdlocked0 Grid Table 6 Colorful Accent 3;\lsdpriority52 \lsdlocked0 Grid Table 7 Colorful Accent 3;\lsdpriority46 \lsdlocked0 Grid Table 1 Light Accent 4;
|
||||
\lsdpriority47 \lsdlocked0 Grid Table 2 Accent 4;\lsdpriority48 \lsdlocked0 Grid Table 3 Accent 4;\lsdpriority49 \lsdlocked0 Grid Table 4 Accent 4;\lsdpriority50 \lsdlocked0 Grid Table 5 Dark Accent 4;
|
||||
\lsdpriority51 \lsdlocked0 Grid Table 6 Colorful Accent 4;\lsdpriority52 \lsdlocked0 Grid Table 7 Colorful Accent 4;\lsdpriority46 \lsdlocked0 Grid Table 1 Light Accent 5;\lsdpriority47 \lsdlocked0 Grid Table 2 Accent 5;
|
||||
\lsdpriority48 \lsdlocked0 Grid Table 3 Accent 5;\lsdpriority49 \lsdlocked0 Grid Table 4 Accent 5;\lsdpriority50 \lsdlocked0 Grid Table 5 Dark Accent 5;\lsdpriority51 \lsdlocked0 Grid Table 6 Colorful Accent 5;
|
||||
\lsdpriority52 \lsdlocked0 Grid Table 7 Colorful Accent 5;\lsdpriority46 \lsdlocked0 Grid Table 1 Light Accent 6;\lsdpriority47 \lsdlocked0 Grid Table 2 Accent 6;\lsdpriority48 \lsdlocked0 Grid Table 3 Accent 6;
|
||||
\lsdpriority49 \lsdlocked0 Grid Table 4 Accent 6;\lsdpriority50 \lsdlocked0 Grid Table 5 Dark Accent 6;\lsdpriority51 \lsdlocked0 Grid Table 6 Colorful Accent 6;\lsdpriority52 \lsdlocked0 Grid Table 7 Colorful Accent 6;
|
||||
\lsdpriority46 \lsdlocked0 List Table 1 Light;\lsdpriority47 \lsdlocked0 List Table 2;\lsdpriority48 \lsdlocked0 List Table 3;\lsdpriority49 \lsdlocked0 List Table 4;\lsdpriority50 \lsdlocked0 List Table 5 Dark;
|
||||
\lsdpriority51 \lsdlocked0 List Table 6 Colorful;\lsdpriority52 \lsdlocked0 List Table 7 Colorful;\lsdpriority46 \lsdlocked0 List Table 1 Light Accent 1;\lsdpriority47 \lsdlocked0 List Table 2 Accent 1;\lsdpriority48 \lsdlocked0 List Table 3 Accent 1;
|
||||
\lsdpriority49 \lsdlocked0 List Table 4 Accent 1;\lsdpriority50 \lsdlocked0 List Table 5 Dark Accent 1;\lsdpriority51 \lsdlocked0 List Table 6 Colorful Accent 1;\lsdpriority52 \lsdlocked0 List Table 7 Colorful Accent 1;
|
||||
\lsdpriority46 \lsdlocked0 List Table 1 Light Accent 2;\lsdpriority47 \lsdlocked0 List Table 2 Accent 2;\lsdpriority48 \lsdlocked0 List Table 3 Accent 2;\lsdpriority49 \lsdlocked0 List Table 4 Accent 2;
|
||||
\lsdpriority50 \lsdlocked0 List Table 5 Dark Accent 2;\lsdpriority51 \lsdlocked0 List Table 6 Colorful Accent 2;\lsdpriority52 \lsdlocked0 List Table 7 Colorful Accent 2;\lsdpriority46 \lsdlocked0 List Table 1 Light Accent 3;
|
||||
\lsdpriority47 \lsdlocked0 List Table 2 Accent 3;\lsdpriority48 \lsdlocked0 List Table 3 Accent 3;\lsdpriority49 \lsdlocked0 List Table 4 Accent 3;\lsdpriority50 \lsdlocked0 List Table 5 Dark Accent 3;
|
||||
\lsdpriority51 \lsdlocked0 List Table 6 Colorful Accent 3;\lsdpriority52 \lsdlocked0 List Table 7 Colorful Accent 3;\lsdpriority46 \lsdlocked0 List Table 1 Light Accent 4;\lsdpriority47 \lsdlocked0 List Table 2 Accent 4;
|
||||
\lsdpriority48 \lsdlocked0 List Table 3 Accent 4;\lsdpriority49 \lsdlocked0 List Table 4 Accent 4;\lsdpriority50 \lsdlocked0 List Table 5 Dark Accent 4;\lsdpriority51 \lsdlocked0 List Table 6 Colorful Accent 4;
|
||||
\lsdpriority52 \lsdlocked0 List Table 7 Colorful Accent 4;\lsdpriority46 \lsdlocked0 List Table 1 Light Accent 5;\lsdpriority47 \lsdlocked0 List Table 2 Accent 5;\lsdpriority48 \lsdlocked0 List Table 3 Accent 5;
|
||||
\lsdpriority49 \lsdlocked0 List Table 4 Accent 5;\lsdpriority50 \lsdlocked0 List Table 5 Dark Accent 5;\lsdpriority51 \lsdlocked0 List Table 6 Colorful Accent 5;\lsdpriority52 \lsdlocked0 List Table 7 Colorful Accent 5;
|
||||
\lsdpriority46 \lsdlocked0 List Table 1 Light Accent 6;\lsdpriority47 \lsdlocked0 List Table 2 Accent 6;\lsdpriority48 \lsdlocked0 List Table 3 Accent 6;\lsdpriority49 \lsdlocked0 List Table 4 Accent 6;
|
||||
\lsdpriority50 \lsdlocked0 List Table 5 Dark Accent 6;\lsdpriority51 \lsdlocked0 List Table 6 Colorful Accent 6;\lsdpriority52 \lsdlocked0 List Table 7 Colorful Accent 6;}}{\*\datastore 010500000200000018000000
|
||||
4d73786d6c322e534158584d4c5265616465722e362e3000000000000000000000060000
|
||||
d0cf11e0a1b11ae1000000000000000000000000000000003e000300feff090006000000000000000000000001000000010000000000000000100000feffffff00000000feffffff0000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
|
||||
ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
|
||||
ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
|
||||
ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
|
||||
fffffffffffffffffdfffffffeffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
|
||||
ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
|
||||
ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
|
||||
ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
|
||||
ffffffffffffffffffffffffffffffff52006f006f007400200045006e00740072007900000000000000000000000000000000000000000000000000000000000000000000000000000000000000000016000500ffffffffffffffffffffffff0c6ad98892f1d411a65f0040963251e50000000000000000000000009031
|
||||
b07ff06cd201feffffff00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffff00000000000000000000000000000000000000000000000000000000
|
||||
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffff0000000000000000000000000000000000000000000000000000
|
||||
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffff000000000000000000000000000000000000000000000000
|
||||
0000000000000000000000000000000000000000000000000105000000000000}}
|
||||