4D v16.3Converting 4D Write documents to 4D Write Pro |
||
|
4D v16.3
Converting 4D Write documents to 4D Write Pro
Converting 4D Write documents to 4D Write Pro
4D Write Pro can open and convert legacy 4D Write documents while supporting most of their specific properties:
In the picture above, we have a 4D Write area on the left and a 4D Write Pro area on the right (created using the new library object - see below). The contents of the 4D Write area were recovered simply using the WP New command: // we retrieve the contents of the 4D Write area in the 4D Write Pro area But since 4D Write can only be used with 32-bit versions of 4D v16, you must convert your 4D Write documents before changing to the 64-bit version. Unlike 4D Write, 4D Write Pro is not a plug-in but is fully integrated into 4D itself. Note that 4D Write Pro uses the same license as 4D Write. You need to have this license installed in your application in order to enable the feature. 4D Write Pro objects permit 4D Write documents to be retrieved in two ways:
Compatibility notes:
In 4D v16, the library of preconfigured objects in the Form editor includes the new 4D Write Pro form object. Dragging and dropping this object onto a form automatically inserts a preconfigured 4D Write Pro area with an associated 4D Write Pro Widget subform containing control panels to manage the area's contents:
For more information, see 4D Write Pro area. In your database structure, any 4D Object field can be used to store 4D Write Pro documents. Once the Object field intended to store your 4D Write Pro documents is defined, you can just reference it from the form containing the area. In the Form editor, enter the field name using the standard "[Table]Field" notation in the Variable Name area of the Property List for the 4D Write Pro area:
Your 4D Write Pro area is then associated with the Object type field. Filtering was not enabled for 4D Write Pro documents in previous versions. If your 4D Write Pro documents reference 4D methods, they will no longer be evaluated correctly once they are converted into 4D v16 or higher. "## Error # 48" messages will be displayed instead. New commands have been added and existing ones have evolved to work with 4D Write Pro:
Starting with 4D v16, you can can save and reopen 4D Write Pro documents to and from disk without any loss using the native .4wp format. The .4wp format consists of a zip folder whose name is the document title and whose contents are HTML text and images:
Since .4wp documents are based on HTML, they can be imported or opened in any external application supporting HTML. Note: The 4D Write Pro internal document format is a proprietary HTML extension, compatible with HTML5/XHTML5, but which supports its own subset of HTML/CSS attributes and tags. As a result, only HTML documents exported by 4D Write Pro can be opened by 4D Write Pro without any risk of data loss.
See also
|
PROPERTIES
Product: 4D ODBC Pro
HISTORY
ARTICLE USAGE
Conversion to 4D v16 ( 4D v16) |