- Remove "duck tales" and dynamics implementations #283
Affected types:- removed all types from namespace
NetOffice.DuckTales
- classes
COMDynamicObject
,DuckException
,COMDynamicObjectExpandableObjectConverter
,COMObjectExpandableObjectConverter
,ExpandableSettingsConverter
- event
OnCreateCOMDynamicEvent
- removed all types from namespace
- Added
PpPlaceholderType.ppPlaceholderCameo
enum value in PowerPoint library #428
- Added
Presentation.ReadOnlyRecommended
property in PowerPoint library #411
- Fix bug in
PresentationBeforeClose
code by verifying the correct event name #153
- Add Excel Queries and WorkbookQuery #400
- Configure EmbedInteropTypes value in classic nuget references #371
- Fixed bug in
ProxyService.GetActiveInstance()
methods #372 - Documented few data types
- Assemblies in nuget packages are signed by Authenticode certificate #369
- Make
NameSpace.RemoveStore()
method in OutlookApi visible to IntelliSense #333 - Implement
Workbook.AutoSaveOn
property in ExcelApi #349 - Implement
Shape.IsNarration
property in PowerPointApi #355
- Moved utility and diagnostic dialogs to new NetOfficeFw.Office.Extensions library #360
- Removed Visio, Publisher, Project and Forms libraries #342
- Parser for the resiliency binary data stored by Microsoft Office when add-ins crash.
Settings.EnableOperatorOverlads
was renamed toSettings.EnableOperatorOverloads
#306
If you listened to changes usingSettings.PropertyChanged
event, ensure you fix your code with the new property name.- Fixed typo in word Availability used in namespace and class names #307
Affected types:- namespace
NetOffice.Availity
🡒NetOffice.Availability
- class
AvailityException
🡒AvailabilityException
- interface
ICOMObjectAvaility
🡒ICOMObjectAvailability
- namespace
- Links now point to Microsoft Docs website
- Documented PowerPoint types related to animations and effects
- Documented
LoadBehavior
values
Settings.IsEqualTo()
method will compare objects correctly #291Settings
implementsIEquatable<Settings>
in favor of oldIsEqualTo()
methodResourceUtils.ReadImage()
will correctly read the image from resources #292ResourceUtils.ReadString()
will correctly read string resources #292
- Fix #291
Settings.IsEqualTo
comparesEnableSafeMode
incorrectly - Fix #292
ResourceUtils.ReadImage()
calls itself recursively
- Make the
CustomTaskPaneCollection.Remove()
method public to allow custom implementations of Task Panes to remove old objects manually
- Improved documentation for many members in the NetOffice project
- Refactored small portion of the
CurrentAppDomain.CurrentDomain_AssemblyResolve()
method - Deprecated code related to dynamic types and "duck tales" implementation (will be removed in v2.0) #283
- Some exceptions have better error messages and use correct parameters
(if you rely on exact exception messages, this is a breaking change)
- You can use the
nameof()
operator with event name in theCoClassEventReflector
methods
CoClassEventReflector
class will throwArgumentOutOfRangeException
when event does not exist in the class
- Fix #277 CoClassEventReflector.HasEventRecipients always return false
- Change
TaskPaneInfo.TagHwnd
toIntPtr
type
- Use portable symbol files in Release builds
- Allow
TaskPaneInfo
objects to be tagged from user code
- Fix #262 ActivePowerPointApp.SlideShowBeginEvent doesn't work in versions 1.7.4.x
- Fix #231 - Access library ProjectInfo returns incorrect AssemblyName value
- Fix #264 NetOfficeException "Keytoken missmatch" when running NetOffice in debug mode
- Fix #223 - OlRibbonType.cs wrong enum for Microsoft.Outlook.Mail.Compose
- MS Publisher package contains correct assemblies #216 (Publisher NuGet Package has WordApi.dll/xml and not PublisherApi.dll/xml)
- Fix #216 Publisher NuGet Package has WordApi.dll/xml and not PublisherApi.dll/xml
- Changed method in
COMAddin
class:virtual bool OnCreateTaskPaneInfo(TaskPaneInfo paneInfo)
The meaning of the
bool
result has been changed and it istrue
by default now.true
means the Pane should have been created, otherwisefalse
.
- Fix #193 Can not get Addin from customArguments in OnConnection of ITaskpane
COMAddin
supports custom addin object - see Word addin example 06 Custom Addin Object
- Fix OSDN-37880 Underlying ribbon does not calling
- Fix OSDN-37747 DAO Fields
- Tutorials demonstrate most of the new core features (dynamics, cloning, etc)
- Skip support for old .NET Runtime versions - minimum is .NET 4.0 (Client Profile)
We want to support .NET 4 (and any higher of course) as long as possible because it is the last Windows XP compatible runtime. (NetOffice 1.7.3 with .NET 2.0/3.x support is still available in the download section)
- Microsoft Publisher is now into play.
- Add MSFormsApi.dll to support VBE UI controls
- Total size of the assemblies is 25% smaller
- Extended support for MS-Excel RTD Server (see COMAddin examples)
- Extended support for Document Inspector in MS-Word (see COMAddin examples)
- Extended support for custom MS Outlook property pages and Form Regions (see COMAddin examples)
[CustomUI]
attribute can handle Ribbon IDs now- Suppress MS Outlook Security dialog is now available in
NetOffice.OutlookApi.Tools.Contribution.Security
- Spend Contribution utils as optional service for common tasks
- Developer Toolbox source is available on https://osdn.net/projects/netoffice or SVN: https://svn.osdn.net/svnroot/netoffice
- Official mirror on GitHub is "netofficefw" - NOT "netoffice"
COMObject
has been replaced byICOMObject
interface. You may have to change some event trigger code fromCOMObject
toICOMObject
.- Some native interop interfaces has been moved to
*.Native
namespace