Message-ID: <1593649245.8935.1711668660848.JavaMail.web05$@web05> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_8934_1146859010.1711668660848" ------=_Part_8934_1146859010.1711668660848 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html Upgrading from WordWriter V3 to V4

Upgrading from WordWriter V3 to V4

The page DEL:Quickstart could not be found.=20

Though WordWriter Version 4 is for the most part backwards compatible w= ith applications written for WordWriter Version 3, there are a number of ch= anges which must be considered when upgrading from Version 3 to Version 4: =

=20 =20

=20

Ins= talling OfficeWriter Version 4

=20

To upgrade WordWriter Version 3 to WordWriter Version 4, you should firs= t uninstall OfficeWriter Version 3.

=20

Unlike OfficeWriter v3, there are no .NET 1.0 DLLs available for OfficeW= riter v4. Before running the OfficeWriter Version 4 installer, you must mak= e sure that you have the .NET runtime 2.0 or higher installed on your serve= r. However, OfficeWriter v4 no longer requires the J# redistributable, so y= ou will not need to install or upgrade J# to install OfficeWriter v4.

= =20

To install OfficeWriter v4, follow the installation instructions found i= n the Installing WordWriter document= ation. Remember to use an OfficeWriter v4 or WordWriter v4 license key, as = OfficeWriter license keys are version-specific, and an OfficeWriter v3/Word= Writer v3 license key will not register correctly with OfficeWriter v4/Word= Writer v4.

=20

=20

Changes in WordWriter Properties, Methods, and Enumerat= ions

=20

A number of minor changes were made to WordWriter properties and methods= in the shift from J# source code to pure C#.

=20

The following is a list of properties that have been changed to methods = in SoftArtisans WordWriter v4. If you use any of these properties in your a= pplication, you will need to replace them with the appropriate method calls= .

=20
=20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20

WordWriter v3 Property

WordWriter v4 Method(s)

Document.Bookmark

Document.GetBookmark(String)

DocumentProperties.Property

DocumentProperties.GetProperty(String)
DocumentProper= ties.GetProperty(DocumentProperties.BuiltInProperty)
Documen= tProperties.SetProperty(String, Object)
DocumentProperties.S= etProperty(DocumentProperties.BuiltInProperty, Object)

Element.Elements

Element.GetElements(Element.Type)

ParagraphFormatting.Border

ParagraphFormatting.GetBorder(Border.Location)

ParagraphFormatting.Indent

ParagraphFormatting.GetIndent(ParagraphFormatting.IndentLocation)
ParagraphFormatting.SetIndent(Int32, ParagraphFormatting.Inden= tLocation)

Section.Border

Section.GetBorder(Border.Location)

Section.Footer

Section.GetFooter(Section.HeaderFooterType)

Section.Header

Section.GetHeader(Section.HeaderFooterType)

Table.PreferredColumnWidth

Table.GetPreferredColumnWidth(Int32)
Table.SetPreferr= edColumnWidth(Int32, Int32)

Table.PreferredColumnWidthUnits

Table.GetPreferredColumnWidthUnits(Int32)
Table.SetPr= eferredColumnWidthUnits(Int32, TableCell.WidthUnits)

Table.RowHeight

Table.GetRowHeight(Int32)
Table.SetRowHeight(Int32, I= nt32)

Table.RowHeightExact

Table.GetRowHeightExact(Int32)
Table.SetRowHeightExac= t(Int32, Boolean)

TableCell.Border

TableCell.GetBorder(Border.Location)

TableCell.Padding

TableCell.GetPadding(TableCell.Location)
TableCell.Se= tPadding(TableCell.Location, Int32)

TableFormatting.DefaultBorder

TableFormatting.GetDefaultBorder(Border.Location)

TableFormatting.DefaultPadding

TableFormatting.GetDefaultPadding(TableCell.Location)
TableFormatting.SetDefaultPadding(TableCell.Location, Int32)

=20
=20

The following is a property that has been changed in SoftArtisans WordWr= iter v4. If you use this property in your application, you will need to rep= lace it with the new property.

=20
=20 =20 =20 =20 =20 =20 =20 =20 =20

WordWriter v3 Property

WordWriter v4 Property

Position.Position

Position.PositionValue

------=_Part_8934_1146859010.1711668660848--