Capesoft Office Inside Version History | ||
|
||
General
General
General
General
General
General
Excel
General
Word
General
Excel
Outlook
General
General
Excel
General
Outlook
General
Word
Excel
Excel
General
Word
General
Word
General
Word
General
Excel
Word
General
Outlook
Excel
General
Outlook
General
General
- Fixed the editable reports example and removed an unnecessary Message() statement, also added both Word and Excel functionality to both examples. This should have been fixed in the previous release but the incorrect example was fixed.
- Closed (cannot reproduce): Case 1582: Office Inside not working with Office 2003 SBE. OfficeInside has been tested using Office 2003 SBE under both Windows XP and Vista without any problems.
- Added: More documentation updates, fixed missing links in the new method listing, updated documentation for method, converted documentation to all CSS for styling to improve consistency and speed (reduced the page size).
- Added a GetOfficeVersion() method that returns the version of Office installed. This is particularly useful for determining whether Office 2007 (12) is installed and hence the default document format being used (.xlsx, .docx etc.)
Word
- Confirmed Behaviour: Case 1486: ReplaceText() has a 256 character limit in Word. This is an intrinsic limitation of MS Word, not of OfficeInside. The workaround is to use the Find method to find and select the text to replace, and then use the InsertText to insert text if more than 256 characters are needed. This has been documented for the ReplaceText method, along with the workarounds (such as putting your large string on the clipboard and calling MyWord.ReplaceText('LookFor', '^c', true). The 2-character string '^c' will be interpreted by Word as the Paste command.
- Fixed: Case 1367: GotoEndOfDoc doesn’t go to last character. The new GotoItem method that this calls fixes the various bugs and problems that existed with this method. The GotoItem can be use to go to the last line in the document, which will actually also go to the end of the document (selection moves to after the last line). Similarly going to the first line goes to the start of the first line (the beginning of the document).
- Fixed: Case 1366: GetFontSize returning invalid result - the GetFontSize method was returning a large integer rather than the correct font size.
Excel
- Added: Support for saving to the new XLSX format for the editable report templates. If now uses the default format specified by Excel, which ensures that the Compatibility dialog box is not displayed. It is recommended that you do not specify the file extension when specifying the file name, which allows Excel to pick the correct file extension based on the format used.
General
- Fixed the Editable Report templates for Word and Excel, they were not sharing the same TargetSelector object unless it was specified manually and with some configurations it was possible to have two independent TargetSelectors declared in a single procedure.
- More documentation updates for Word and Excel.
- Note: For the Word and Excel editable reports in Legacy you must have at least one of the SV report output templates added. For ABC this limitation does not apply. Full Legacy support will be added in a future release to remove this limitation.
Word
- Added: Two new methods for AutoFormat support for tables. This allows one of the built-in tables styles in Word to be applied to any table automatically. This also solves the problem under Word 2002 where an auto style is selected as default and that style is applied to any tables inserted. See the oiWord.TableAutoFormat() and oiWord.TableUpdateAutoFormat() method for more information.
- Added Auto Formatting support to the example application for tables, support all of the around 30 different styles.
- Closed: Case 1583: Cannot reproduce in the current build. oiWord.TableSetCellBold setting the style for the whole column. This is not reproducible, using either the oiWord.TableSetCellBold() method or the normal methods for setting the current selection to Bold, Italic etc. Also tested to ensure that the Toggle commands work as well as On/Off for styles. Test with bold, italic, underlined and combinations.
- Added: New FindText() method search for a string and selects the next instance found, allowing each instance of a string to be found and modified (the style changed, or the actual string changed etc.).
- Fixed: Case 1368: GotoItem method not working. This method has been completely replaced and now works for all of the options available. Also note that this method now works as expected, so a number of workarounds are no longer needed. See the new oiWord.GotoItem() documentation for more information.
- Confirmed Behaviour: Case 1486: ReplaceText() has a 256 character limit in Word. This is an intrinsic limitation of MS Word, not of OfficeInside. The workaround is to use the Find method to find and select the text to replace, and then use the InsertText to insert text if more than 256 characters are needed. This will be documented for the ReplaceText method.
Excel
- Closed: Case 1478: Cannot reproduce in the current build: SetCellFormat does not appear to be working fully. Test all possible cell formatting options, along with a large number of combinations. All are working correctly.
General
- Added a Clarion 7 build.
- New documentation and changes to the existing documentation. All method, properties and data types for Word and Excel are being documented and the documentation completely overhauled, in line with the new Outlook documentation.
- Fixed invalid tags and attributes in documentation, added accessibility, fixed non html encoded characters etc.
- Changed and Fixed the RecentFiles classes. They are now initialised only for Word and Excel (PowerPoint can also be made available) and they correctly list everything the the Recent Files list for both applications. The list and objects are initialised when the object is, and the list is available as soon as the application has started (directly after the call to the Init() method returns).
- Added a RecentFiles tab to both the Excel and Word examples that displays the Recent File list for each application.
- Major cleanup of the documentation, all documentation will be moved to XHTML 1.0 Strict, and use CSS for formatting. This will improve load performance, accessibility and consistency. A large number of errors, formatting problems and code issues have been fixed.
- Added a new section to the documentation indicating how to dynamically create OfficeInside objects using the New command. Important: If you New an OfficeInside object you must set the .disabled property to 1 before the call to the Init method or the call to Init() will not work, and subsequent calls to the methods of the object will not work.
Word
- Fixed the RecentFiles list, it was not returning the list of recent files due to an initialisation error.
- Note: Event handling is currently being worked on, it has not been enabled since OfficeInside moved to late bound in 1.40 Beta. Currently event handling is only working for Outlook.
- Added new event handling functions.
- oiWord.EventStartup( )
- oiWord.EventQuit( )
- oiWord.EventDocumentChange( )
- oiWord.EventDocumentOpen( )
- oiWord.EventDocumentBeforeClose( )
- oiWord.EventDocumentBeforePrint( )
- oiWord.EventDocumentBeforeSave( )
- oiWord.EventNewDocument( )
- oiWord.EventWindowActivate( )
- oiWord.EventWindowDeactivate( )
- oiWord.EventWindowSelectionChange ( )
- oiWord.EventWindowBeforeRightClick( )
- oiWord.EventWindowBeforeDoubleClick( )
- oiWord.EventEPostagePropertyDialog( )
- oiWord.EventEPostageInsert( )
- oiWord.EventMailMergeAfterMerge( )
- oiWord.EventMailMergeAfterRecordMerge( )
- oiWord.EventMailMergeBeforeMerge( )
- oiWord.EventMailMergeBeforeRecordMerge( )
- oiWord.EventMailMergeDataSourceLoad( )
- oiWord.EventMailMergeDataSourceValidate( )
- oiWord.EventMailMergeWizardSendToCustom( )
- oiWord.EventMailMergeWizardStateChange( )
- oiWord.EventWindowSize( )
- oiWord. EventXMLSelectionChange( )
- oiWord.EventXMLValidation( )
- oiWord.ErrorEventDocumentSync( )
- oiWord. EventEPostageInsertEx( )
- oiWord.EventMailMergeDataSourceValidate2( )
- oiWord.EventUnknown( )
- Changed: The oiWord.Update() method. The Option parameter was optional, but required in order for any code to execute. It is not an optional parameter and is no longer passed as such.
- Fixed: Case 1561: Opening and closing two instance of Word on two threads produces a normal.dot error. Can no longer reproduce this in the current release of OfficeInside.
- Fixed: Case 1470: TableSetInsideBordersLineStyle equates were incorrect and setting the style resulted in the style being set to the next one in the style list.
- Fixed: Case 1560: TableSetOutsideBordersLineStyle was not working at all, it is now correctly setting the table borders.
- Added: Case 1404: Add support for Document Protection. You can now Protect and Unprotect any document, including choosing the type of protect (read only, edit comments only, edit form fields only, make revisions only, or no protection). See the oiWord.Protect() and oiWord.Unprotect() method. A password is used if specified.
Excel
- New methods to for importing Excel files. Replaces the old ImportXLSFile() method. The new method is ExcelImport() and calls the new TakeImportRecord() callback method. No longer has any limitation on the number of columns imported, any number of columns can be imported.
- New ColumnName() method replaces the old GetColumnAddressFromColumnNumber() method removes the 26 column limit - column numbers up to 450,000 are now supported making this method quite future proof (Excel 2007 supports 16K columns and earlier versions supported 255 columns). The old method is deprecated, but will still be supported and simply calls the new ColumnName() method.
- Important: If you are using the 'Import XLS To TPS' control template (now called 'Import and Excel File') then you must move your code for processing each record from the old ImportXLSFile_TakeRecord() method to the new TakeImportRecord() method. Also note that instead of each column being passed as a parameter the columns are now passed using a queue.
- Fixed the RecentFiles list, it was not returning the list of recent files due to an initialisation error.
- New alignment options for oiExcel.SetCellAlignment:
- oix:WrapText
- oix:HorizontalAlignment
- oix:VerticalAlignmentszMemberof
- oix:Indent
- oix:ShrinkToFit
- oix:TextDirection
- oix:Orientation
- In addition alignment equates for each of the options was added (see the SetCellAlignment() documentation)
- New documentation for SetPaletteColor() and GetPaletteColor(), including three examples, and an example of two complete procedures for implementing local color palette management. Fully documented how Excel uses colors and the difference between passing clarion color equates and actual color values using the oiExcel.InterpretClarionColorEquates property.
- SetCellNumberFormat() now supports any format and picture that Excel supports, also fully documented how to create custom pictures and formatting, and to use Excel to generate a picture for any possible format needed.
Outlook
- Added: New properties to the oioFolderItemsQType. This queue is used to store the contents of the folder in Outlook. The following properties are now available when using the oiOutlook.GetMailItemsQ() method. Note that the oioFolderItemsQType has changed to reflect the new properties. If you are using your own manually declared queues rather than the types provided by OfficeInside you will need to update your queue declaration. Please note that this is strongly not recommended.
- Categories
- Companies
- FlagRequest
- Importance
- IsMarkedAsTask
- LastModificationTime
- LastModificationDate
- ReceivedByName
- ReceivedTime
- ReceivedDate
- ReplyRecipientNames
- SentOnBehalfOfName
- UnRead
- Fixed: Case 823: Address Book reading GPFs with more than 350 contacts. This error cannot be reproduced in the current release, even with far more than 350 contacts
- Fixed: Case 824: Start Date and Start Time not read from Outlook when reading Tasks
- Added: New properties when reading Tasks to the oioTasksQType1 and oioTaskProperties structures (Writing to these properties will be supported in the next release.):
- Categories
- Companies
- Complete
- IsConflict
- DateCompleted
- TimeCompleted
- IsRecurring
- NoAging
- Owner
- PercentComplete
- Size
- Status
- StatusOnCompletionRecipients
- StatusUpdateRecipientsTeamTask
- TotalWork
- UnRead
General
- Fixed: Compile error (unresolved external) in C55. The DLL for C55 was not correctly compiled, and an old DLL was included in the install.
General
- Documented a number of DLL functions that can be called from anywhere within an application using OfficeInside (no object needs to be instantiated to call these functions). See the DLL Functions section.
- Exposed the oiBaseToDec() and oiDecToBase() DLL functions.
General
- When using the Excel.dontCloseOnKill or the Word.dontCloseOnKill option the instance of Word or Excel is now automatically made visible and the display refreshed (and automatic display refreshing enabled if it was disabled).
- Corrected the dates in the History for all releases in 2007 (they were listed as 2006).
- Updated the Editable Reports example. Clarified the options, redid window layout, provided new instructions etc. The example now demonstrates the different options setting the report target. The hand code required will be moved to template options.
- Added support for Multi-Proj
Word
- Updated documentation for the ScreenRefresh() method.
- New editable report template, generates all code needed, supports other report generators (such as those provided by SoftVelocity), allows the user target selection dialog box to be controlled etc.
Excel
- New editable report template, generates all code needed, supports other report generators (such as those provided by SoftVelocity), allows the user target selection dialog box to be controlled etc.
- New SaveAs method and documentation, now support specifying a file format to save the file as, which is useful for ensuring that a standard XLS file is saved with Office 2007, and ensuring that the Compatibility dialog is not displayed.
General
- The template now generates return values for method declarations that return values and correctly returns the parent's return value by default. Solves the "Function did not return a result" compiler warnings.
- Installer is now cryptographically signed by Capesoft Software (Pty) Ltd. Ensures the validity of the installer and avoids the "unsigned file" security warning. Also allows the installer to run correctly under Windows Vista.
General
- Fixed the dontCloseOnKill option for use with Word and Excel, it was allowing Word and Excel to close when Kill() was called and it had been set to a non zero value.
General
- Updated documentation to reflect newly added methods for spell checking etc. SpellCheckString, SpellCheckHtml, SpellWord. These method will be used to clean up the template generated spell checking. In addition they provide improved support and functionality.
- Added example code using SpellCheckString and SpellCheckHtml, which show how the methods work, as well as providing an example of spell checking a FileExplorer control.
- General documentation update (ongoing) to document every method and property, add examples for every method, document all parameters, return values and add cross referencing!
- New Properties sections added to Word and Excel docs, and new Methods tables added.
General
- New Office01.tpw for handling classes and objects, maintains backward compatability while supporting all possible parameters etc.
- Fixed template bug that was not generating parent called with pointer to typed queues corrected.
- Template: Added support for additional data types in the method declarations.
- Update the template that generates object and method declarations, and fixed a number of small issues.
Excel
- Documented the two templates to import from Excel. See the Import From Excel templates section.
- Udpated document, new example code for WriteToCell (shows how to export a table to an Excel file), clean up documentation example code, added syntax highlighting etc. Documentation will be overhauled as the Outlook docs have already been.
- New section in the documentation on class properties.
- New dontCloseOnKill property allows the OfficeInside object to be killed while leaving Excel open.
Word
- New SpellChecking methods.
- New method to check the spelling of all words in a string and to encapsulate spelling (CheckSpelling).
- Add a CheckSpellingHtml method to allow HTML to be spell checked.
- Added support for punctuation to the spell checker so that additional punctuation is not incorrectly determined as part of the word.
- Optimised spell checked and improve process speed of splitting the string into words, removing punctuation etc.
- Added support for ignoring URL Encoded characters in HTML.
- Added support for ignoring HTML Escape code such as
- Additional documentation on Spell Checking and RTF controls, new FAQs, links in the docs and cross referencing etc.
- New dontCloseOnKill property allows the OfficeInside object to be killed while leaving Word open.
Excel
- Fixed the PrintMe() method wich stopped working the the previous release.
Word
- Fixed the MailMerge example in the Clarion 6 Demo, now uses a CSV file, fixed issues with dialog boxes displaying and problems reading the data from the file etc
- Case 1126: oiWord.InsertTable() fails when too many rows are specified (stops editable reports working):
Fixed this using the Table.Rows.Add() method. Now the Tables.Add() call always adds a single row table, and Table.Rows.Add() is called in a loop to add the rest of the rows. No real speed difference and there is now no limitation on the number of rows being added. Although the MS Documentation for the Add() method of the Tables Collection seems to indicate that there is no limit to the number of added rows (other than the 32 bit signed integer being passed), all the examples provided seem to use the Table.Rows.Add() method in a loop, indicating that this appears to be a known (and ignored) behavior.- Updated spell checking templates, fixed a potential problem with C55 and spell checking with RTF controls, where they were spell checked before any other controls.
- Created new C55 and C6 specific examples for spell checking, show the two different approach needed for RTF controls in the two different version.
- Added SetScreenUpdating() and ScreenRefresh() methods to allow screen updating to be turned off when writing data to Word (provides a small performance improvement) and ScreenRefresh() allows the screen to be refreshed manually.
- Updated documentation and began documentation rewrite.
Outlook
- Modified the Address Book example to use a queue declared in the data section. Although it is recommended that you use the data types provided for Contacts, Tasks, Appointments, Folders and Messages, the Clarion listbox editor does not allow you to populate the fields easily, and so to make the example easily modifiable we have opted to declare the queue as local data.
Excel
- Began rewrite of docs. This will be a full rewrite as has been done with the Outlook docs
- New Methods:
- SetCalculations: Allows automatic calculation of each inserted or edited cell in Excel to be turned off. This can dramatically increase the speed of writing large numbers of cells to Excel, and once complete automatic calculation can be turned back on using the same method.
- Calculate: Forces the values of all formulas in all open workbooks to be calculated. Useful if SetCalculations has turned off automatic cell value calculation and the values need to be calculated at some point.
- SetScreenUpdating:Allows screen updating to be turned off and on in Excel. This can also dramatically improve performance when inserting large numbers of cells.
- The new methods for optimisation have been implemented in the editable report templates etc. to improve performance. This has provided a small improvement in output speed to Word, and a very large performance improvement in outputting to Excel (in some cases as much as a hundred times faster).
Other
- Added support for the Recent Files classes to the demo application
- Global and Local templates: cleaned up tabs, moved overlapping text, added descriptions to tabs, made RTF info version specific for C55/C6 etc.
- New utility functions:
- oiDecToBase: Converts from a decimal (base 10) to any other base, for example Hexidecimal (base 16), binary (base 2) etc.
- oiBaseToDec: Converts from any base to a decimal number. For example convert Hexidecimal or binary to decimal.
- New Classes for all the applications representing the Recently Used Files objects:
- oiRecentFiles: Stores a list of recent files for all of the Office applications (Word, Excel, Powerpoint and Outlook). This class is automatically initialised when the main object is, and filled with a list of recent files, which can then be accessed by looping through the queue. The class also contains methods to refresh the queue, delete files, open files etc.
- oiRecentFile: Class used by the RecentFiles class, and represents an individual file in the list. This class will typically not be accessed directly.
- New oiBase class that the original Office Inside classes inherit from, as well as the new child classes (such as RecentFiles). The oiBase class provides NewObject, CallMethod, GetProperty and SetProperty methods, and neatly encapsulates access to the properties and methods of the COM objects encapsulated by Office Inside. It is intended to also provide an interface for exposing COM objects that have not otherwise been exposed by Office Inside.
- Moved all functionality into the C55 compatible demo application. Functionality will no longer be split between C55 and C6 in the main Demo. For features that differ in C55 and C6 (or like editable report are only available in C6) separate examples will be include.
- Moved editable reports to a separate example.
- Editable reports no longer require either C6 EE or the SV Advanced Report Output Templates, they now only require Clarion 6. See the new Editable Report Example for the optional code to allow the use of editable reports without the SV templates.
- Editable reports now start hidden and only display when complete (if the template setting to display the document is turned on).
- Note: The RecentFiles class and other new base class method have very rudimentary document and will be fully documented in the next release. The RecentFiles class usage is demonstrated in the main OffDemo.app example application on the Word_Main window (procedure)
For versions prior to 2.00 please see the Old Version History document.