Skip to content

NetOfficeFw/Data

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 

Repository files navigation

NetOffice Type Libraries

Data source for LateBindingApi.CodeGenerator with NetOffice library data.

Information

Source file: NetOffice 1.7.4.3.xml
NetOffice version: 1.7.4.3

Usage

To use the NetOffice project data from the src directory, use the LateBinding code generator from LateBindingApi.CodeGenerator repository.

var analyzer = new Analyzer();
analyzer.LoadProjectFolder(@"C:\dev\NetOffice-Data\src");

Data Structure

The src directory contains several XML files with data used to generate the NetOffice source code.

The root file is src\Libraries.xml with all data about type libraries. Definitions of data types of individual libraries are stored in respective subfolders. Each library has a Project.xml file which references all other data type definition files.

Changes

List of fixes done to the NetOffice type library XML files to convert them from release v1.7.4.1 to v1.7.4.3.

Fix 01 - Company Name

Changed company name to https://osdn.net/projects/netoffice

-  Company="netoffice.codeplex.com"
+  Company="https://osdn.net/projects/netoffice"

Fix 02 - Version and FileVersion

Changed Version and FileVersion attributes to value 1.7.4.3

-  Version="1.7.3.0" FileVersion="1.7.3.0"
+  Version="1.7.4.3" FileVersion="1.7.4.3"

Fix 03 - Reference _IMsoDispObj class from Publisher data types

Several data types in Publisher project were referencing unknown type with GUID 47ba1a51-3158-48b1-a19d-a7e782faa707.

These types should inherit from the _IMsoDispObj interface which has GUID 194401bb-e393-488a-8bb6-d3e46cd91189.

<Inherited>
-  <Ref Key="_x0034_7ba1a51-3158-48b1-a19d-a7e782faa707">
+  <Ref Key="_x0031_94401bb-e393-488a-8bb6-d3e46cd91189">
...

Fix 04 - Publisher project references

The Publisher project references two unknown projects:

<RefProjects>
  <RefProject Key="_x0035_7c50640-df45-46ae-a8ca-e6d859bff906" />
  <RefProject Key="_x0039_376fe6c-77be-407d-8fb3-6b102ae6a131" />
</RefProjects>

The project with key _x0039_376fe6c-77be-407d-8fb3-6b102ae6a131 (GUID 9376fe6c-77be-407d-8fb3-6b102ae6a131) is used in the PublisherApi.csproj (release v1.7.4.3):

<ProjectReference Include="..\Office\OfficeApi.csproj">
  <Project>{9376FE6C-77BE-407D-8FB3-6B102AE6A131}</Project>
  <Name>OfficeApi</Name>
</ProjectReference>

The correct project GUID for OfficeApi is 79B19A83-A79F-446C-9B7E-9B595E918E40.

Fix 05 - MSForms project GUID

The MSForms project uses different GUID in released source code than what is stored in the type library document.

-<Project Name="MSForms" Key="_x0036_ad5fb72-db04-4862-8acf-e1192ca1eba4"
+<Project Name="MSForms" Key="f1a3eba7-5c09-4986-9821-244e8468fbae"

The project key _x0036_ad5fb72-db04-4862-8acf-e1192ca1eba4 (GUID 6AD5FB72-DB04-4862-8ACF-E1192CA1EBA4) was changed to f1a3eba7-5c09-4986-9821-244e8468fbae to match the official project GUID.

The correct project GUID for MSForms is F1A3EBA7-5C09-4986-9821-244E8468FBAE.

Fix 06 - Publisher project references

Add the stdole project reference to Publisher project.

 <RefProjects>
   <RefProject Key="_x0037_9b19a83-a79f-446c-9b7e-9b595e918e40" />
+  <RefProject Key="b95c0882-b85f-4f38-82c6-35472afe0170" />
 </RefProjects>

About

🧾 NetOffice library data source.

Resources

Code of conduct

Stars

Watchers

Forks

Packages

No packages published