Text-Related Objects Compatibility with Version 10
This section describes all changes to text-related objects which may require changes in the source code of your applications.
Object/Enumeration | Property/Method/Constant | What has happened? | Comment |
---|---|---|---|
Paragraph |
HasOverflowedHead HasOverflowedTail |
Removed | These properties are no longer supported: detecting the paragraph split over two pages is not possible anymore. |
InlinePictureID | Removed | This property returned the ID of PageElement corresponding to the picture, and is no longer useful because PageElement object has been removed with the rest of document structure API. | |
Paragraphs | GetIndex | Renamed | The new name of the method is IndexOf. Methods of all collections have been renamed to be uniform. |
List | AddLevel | Removed | Use the AddNew method instead. Methods of all collections have been renamed to be uniform. |
RemoveAll | Renamed | The new name of the method is DeleteAll. Methods of all collections have been renamed to be uniform. | |
TabPositions |
Add CreateTabPosition |
Removed | Use the AddNew method instead. It allows you to set all the properties of the tab leader at creation. |
CopyFrom | Removed | This method is no longer supported. | |
BarcodeSymbol |
Character Bottom Left Right Top CharConfidence IsBinaryData IsBinaryZero IsStartStopSymbol |
Attributes changed |
These properties are now read-only. In the previous version, if you edited the barcode characters via this object, the changes were not exported into the result. If you wish to edit the barcode text for export, use the EditableText property of the BarcodeBlock object. |
CopyFrom | Removed | This object is now read-only, as well as the BarcodeText collection. It is no longer used for editing the barcode text which you wish to be exported to the result file. For this purpose the BarcodeBlock object provides a new EditableText property. | |
BarcodeText |
Add CreateBarcodeSymbol RemoveAll |
Removed | These methods were not supported in the previous version. The collection is read-only. |
ListLevel | RestartNumberingOnUpperListLevelOccurance | Renamed | The name of this property has been corrected and now is RestartNumberingOnUpperListLevelOccurrence. |
ParagraphStyle | ParagraphParams | Removed | The paragraph properties can now be accessed only via the Paragraph object. |
Behavior changed | These properties are now read-only. No properties of paragraph style may be edited. | ||
CopyFrom | Removed | No properties of paragraph style may be edited or copied from another object. | |
FontStyle | ParagraphStyle | Removed | The paragraph style may be accessed via the Paragraph object. |
TabPosition | CopyFrom | Removed | All the properties of a tab stop should be specified on the object's creation with the help of the AddNew method of the TabPositions object. They may not be changed or copied from another object. |
Alignment Position TabLeaderType |
Behavior changed | The properties are now read-only. They should be specified on the object's creation with the help of the AddNew method of the TabPositions object and may not be changed or copied from another object. | |
TextOrientation | IsVerticallyMirrored | Removed | This property is no longer supported. |
Text | TextRole | Removed | This property has been removed due to the removal of document logical structure API, as it is no longer possible to access the parts of document by their role in the logical structure. |
TextRoleEnum | Removed | The property that used this enumeration has been removed. | |
CharParams | IsWordStart | Removed | This property was replaced by two properties: IsWordLeftmost, which specifies the first character in the word if read from left to right, and IsWordFirst, which specifies the logically first character for whichever reading direction is used in the language. |
CharacterFlags | CFL_Picture | Removed | The property which used this constant has been removed. |
7/3/2024 8:50:25 AM