Corel Products. Performance. Value. Compatibility.


| CSD Website |




CSD Newsletters

CSD S/W Orderform
   *Revised*

Feature Web Site
   of the Month

CSD Program
   *Changes*

WP2002 SDK
   *Now Available*

Trade Shows
   for July 2001

Corel Introduces:
    Bryce® 5

Corel Introduces:
   CorelDRAW®
   ESSENTIALS

Paradox® 10
    *Runtime Available*



DEVELOPER TIPS

   * Macros & Merges *

June 2001 Corel® Solution Developers
Newsletter


"Boundless power to create. Anytime. Anywhere.
Share Corel's vision."


COREL® Solution Developers Web site
http://www.corel.com/partners_developers/csp/

The CSD Members Web site contains private sections for Platinum and Standard CSD Members only.

* * * * * * * * * * * * *

Software Developer Kits (SDK)
http://www.corel.com/partners_developers/csp/soft_kits.htm

CSD members can tap into the leading-edge developer tools and technology provided in the Corel® Software Developer Kits (SDKs). The SDKs also include documentation and sample code to help reduce development time and to create a similar look and feel to other Corel products.

* * * * * * * * * * * * *

COREL® Solution Developers Software Order Form
ftp://cspusr:MSERFL@sftp3.corel.com/csp_orderform.pdf

Now available for purchase from the CSD Program:
CorelDRAW® 10 for Windows, Corel WordPerfect® Office 2002, Bryce® , Corel® KnockOut, KPT® & Corel® Painter™






FEATURE WEB SITE OF THE MONTH
http://wpuniverse.com/

"WordPerfect Universe" is an all-volunteer, non-profit effort, not affiliated with Corel Corp., which develops and markets WordPerfect Office. WordPerfect Universe exists to provide useful information to users of WordPerfect Office, and to provide a method for WordPerfect users to interact. You'll find experts at WP Universe to help you use WordPerfect Office more effectively. This Website is a hang-out for Professional Developers and Consultants, as well as Expert Program Operators, all interested in helping others. You're welcome too! Best of all, the information found on WordPerfect Universe is distributed free of charge.


Corel® Solution Developers - Program Changes

The Corel® Solution Developers Program (formerly the Corel® Solution Partners Program) is currently undergoing changes in order to better support the needs of our Consultants and Developers worldwide. Please take note of the changes listed below.

Membership Level Change
The current Paradox Partner Membership is being merged with the Platinum Developer Membership. The Paradox Partner level will no longer exist for new members, as of today. Current Paradox Members will now be "Platinum". The program will now consist of only Standard and Platinum Developer Memberships.

Fee Structure Change
The newly merged Platinum Developer Membership will cost $1,099 US annually. Note: Current Platinum Partners will not see this increase until their Membership renewal date. New Platinum Developers will see this increase immediately. The Standard Developer Membership will continue to be offered at 'no cost'.

Qualification Change
All New Standard level Members will be subject to a formal Qualification Process which will be implemented immediately, as of June 15, 2001.

Program Name & Website Change
In keeping with the purpose and objective of this program, the name will be changing to the "Corel® Solution Developers" Program, or CSD for short. The current Corel® Solution Partners website will reflect these logos once they have been verified and approved by our legal department. At that time, we will then distribute the new logos to the Membership, asking them to discard the old logos immediately. The new website, which is in the final stages of completion, will prove to be extremely informative and valuable to our Membership.




Corel WordPerfect® Office 2002 - SDK Now Available

The following information was taken from the readme file from the
Corel WordPerfect® Office 2002 SDK.

1. Software Requirements:

WordPerfect(R) Office 2002
Internet Explorer or Netscape 4.0 or higher

2. System Requirements:

To use the WordPerfect(R) Office SDK with WordPerfect(R) Office 2002 installed:
Personal computer with Pentium 166 Mhz processor or equivalent
Windows 95b (OSR2), Windows 98, Windows 2000, Windows NT 4.0 with SP6 or later, or Windows ME
16 MB RAM (32 MB recommended)
150 MB hard disk space (250 MB typical install)
CD-ROM drive
VGA Monitor
Mouse or Tablet

3. Installation:

The WordPerfect Office SDK shares common code with WordPerfect Office 2002. As such, WordPerfect(R) 10 and Quattro(R) Pro 10 must be installed on your system prior to installing the WordPerfect Office SDK.

When developing customized code for Corel(R) Presentations(tm) 10, the WordPerfect Office SDK references PerfectScript commands from the Corel Presentations application. If Corel Presentations is not installed on the development system, you will not be able to access or insert PerfectScript Commands for Corel Presentations.

4. Development Languages Supported by Project Type:

Third Party Handlers:
  • MS Visual C++ 4.0 or higher
  • Delphi 3 or higher
Quattro Pro Add-ins:
  • MS Visual C++ 4.0 or higher
OLE Automation:
  • MS Visual C++ 4.0 or higher
  • Delphi 3 or higher
  • MS Visual Basic 5.0 or higher
  • Visual Basic for Applications
  • Quattro Pro 10
  • Paradox 10
5. What's included with the WordPerfect Office 2002 SDK:

  • New Project Expert
  • Command Inserter
  • External Command Inserter
  • PerfectScript Library
  • PerfectScript Library Editor
  • WP File Look Utility
  • Application Documentation in WinHelp format
  • File Format Documentation in HTML format
  • Third Party Handler Registry Editor
  • Command Recorder
  • Command Viewer
6. What's New:

The SDK architecture has been rewritten to provide a more robust development environment. As such, most tools, wizards, documentation and samples have been compiled into one executable SDKTools.exe

Further to the changes in architecture, the SDK help files have been revised and reformatted using WinHelp. The help files can be accessed from the Help menu of the WordPerfect Office SDK application window, or from the Windows Start Menu by choosing: Programs, WordPerfect Office 2002, Help Files, SDK Help

The File Format documentation is still available in HTML format and can be accessed from the SDK Help files.

A number of tools have been re-purposed and renamed to accommodate the design changes. Following is summary of changes made to various SDK tools:

Tool and Utility Name Changes: NEW to this version of the SDK are two variants of the OLE Command Inserter:
  1. External Command Inserter
    The External Command Inserter is based on previous versions of the OLE Command Inserter in that it requires an external developer application to be running in the background. All programming commands are inserted directly into the selected "external" application. Developer applications supported include:

    - Borland Delphi
    - Paradox
    - Quattro Pro
    - Microsoft Excel
    - Microsoft Visual Basic

  2. Command Inserter
    The Command Inserter is new to this version of the SDK. It does not require an external developer application to be running in the background. It allows users to insert programming commands directly into the SDK editor window; as part of a file or project. In general, the Command Inserter and External Command Inserter is similar to the WordPerfect Macro Command Inserter. It allows you to 'record' a series of tasks within WordPerfect, Corel Presentations, and Quattro Pro, but instead of outputting macro source code, it generates code specific to the programming language you are using.

    NEW to this version of the SDK are two variants of the PerfectScript CodeWizard

    1. PerfectScript Library Editor

    The PerfectScript Library Editor is based on previous versions of the PerfectScript CodeWizard. This utility is a customizable repository for pre-written PerfectScript functions, allowing users to add and remove commands and code for future use.

    2. PerfectScript Library

    The PerfectScript Libary serves as a repository for pre-written PerfectScript functions, allowing users to insert PerfectScript commands directly in SDK editor window. The PerfectScript Library can be customized using the PerfectScript Library Editor.


    New to this version of the SDK is the introduction of the New Project Expert.

    The New Project Expert is a utility that simplifies the development efforts for customizing or automating WordPerfect, Quattro Pro and Corel Presentations, by generating source code for different project types. This utility includes the following wizards (renamed) from pervious versions of the SDK:

    PerfectScript Callback Wizard - new name = PerfectScript Macro Project
    Quattro Pro Add-in Wizard - new name = Quattro Pro Add-In DLL
    TPH Wizard is now referred - new name = Third Party Handler DLL

    NEW Project Type:
    OLE Automation Project

    REMOVED:
    The Resource Reader is not shipped with this version of the SDK.

    NAME CHANGE:
    The Token Watcher has been renamed to Command Viewer. The Command Viewer is accessible from the Dev Utilities menu which gets added to the WordPerfect and Corel Presentations Menus during installation of the WordPerfect Office SDK. For additional information on the Command Viewer, please refer to the SDK Help files.

    NEW:
    The Command Recorder is new to this version of the SDK. The Command Recorder is accessible from the Dev Utilities menu which gets added to the WordPerfect and Corel Presentations Menus during installation of the WordPerfect Office SDK. For additional information on the Command Recorder, please refer to the SDK Help files

7. Known Issues:

-Corel Presentations does not create toolbar buttons for Third Party Handler dlls developed using the WordPerfect Office SDK.
-Some screen shots in the Help files are based on beta versions of the WordPerfect Office SDK and are not consistent with UI name changes.

8. Contact Info:

Please direct any questions, comments or suggestions you have concerning the SDK or SDK Documentation to: sdkprodman@corel.com

Note: A limited quantity of Corel® WordPerfect Office 2002 SDK CD's are now available to all Platinum Developers. If you are interested in obtaining this SDK CD, please sent your request by e-mail to partners@corel.com.



Trade Shows - July 2001

Total Publishing 2001
Date: July 11-12, 2001
Location: Earls Court 2, Warwick Road, London, UK SW5 9TA
Focus: Advertising and Publishing - Catered towards the graphics community

Total Publishing is the internationally acclaimed exhibition dedicated to the UK publishing industry. With something for everyone in magazine, newspaper, book, directory, catalogue, mail order, online and brochure publishing, it's a can't-miss event dedicated to inspiring and educating anyone involved in this dynamic industry.

Over 200 exhibitors will be there to meet you, showing everything from computer software, picture libraries and typography to printers, pre-press and database management. In addition, the renowned Total Publishing feature programme will return in 2001 with its training workshops and free seminars providing up-to-the-minute information on hot topics affecting your industry.

Corel Product specialists will be on-hand demonstrating Corel's Graphics & Publishing Software. We look forward to seeing all our CASB Members at the show. For more information and to register online for this show, please visit Total Publishing's Website at: http://www.totalpublishing.co.uk/


Macworld Conference & Expo
Date: July 18-20, 2001
Location: Jacob K. Javits Center, New York City, NY USA
Focus: Macintosh applications and techologies

Macworld Conference & Expo is the ONLY arena where tens-of-thousands of Mac users, professionals and enthusiasts continually gather to learn from the extensive conference programs, network with their peers, hear about the leading solutions, test-drive the newest products and services, demo the latest applications, and purchase the technologies designed for the Mac community.

Always full of excitement and the hottest topics, Macworld Conference & Expo/New York 2001 will be no exception. Steve Jobs, CEO of Apple, will deliver the opening keynote address in the heart of the Big Apple. This is sure to be a must-see event!

Corel Product specialists will be on-hand demonstrating Corel's Graphics Software. We look forward to seeing all our CASB Members at the show. For more information and to register online for this show, please visit Macworld Expo's website at: http://www.macworldexpo.com


Corel Introduces Bryce® 5
Powerful 3D Landscaping and Animation™ Tool Soon to be Available for Macintosh® and Windows®
Ottawa, Canada – Jun 25, 2001

Bryce® 5 is Corel's first application for Apple's new Mac® OS X platform. It is the first of many creative products Corel will deliver for this advanced operating system over the coming months.

"With Bryce® 5, we are delivering on our promise to release exceptional applications for Mac OS X," said Ian LeGrow, executive vice-president of creative products at Corel. "Based on customer feedback, we've tailored Bryce® 5 to meet the needs of serious Bryce users and 3D graphic artists. This includes the addition of time-saving Network Rendering and the ability to create premium photo-realistic images."

Bryce 5 makes its mark in the 3D graphics environment by striking an optimum balance between power and ease of use. The dynamic tools in Bryce® 5 enable users to unleash and explore the full potential of their creativity. Bryce® 5 powers the creation of truly photorealistic landscapes, models and other images without the expensive and time-consuming training required by many other 3D applications.

New Features in Bryce® 5 Include:
Network Rendering dramatically increases rendering speed by using the power and speed of multiple computers for a single image or animation. There is no limit to the number of systems used, and it is platform independent, enabling Mac and Windows users to render their images on either or both platforms simultaneously.

Premium Rendering Options take Bryce to a new level of quality – facilitating the creation of naturally photorealistic images with depth of field, blurred reflections, and soft shadows.

The Tree Lab powers the creation of organic 3D trees. Users specify the exact look and feel of trees in a scene – from the number of needles on a branch to selecting one of over 60 different tree types.

Metaballs are a primitive object type that enable users to quickly create and experiment with organic shapes – opening up a new world of creative possibility.

The Light Lab gives more robust control over lighting direction, intensity and tinting – addressing the need for accurate production of real-world environments.

Pricing and Availability
Bryce 5 for Windows 98, Windows Me, Windows 2000, Windows NT® 4.0, and Mac OS 8.6, Mac OS 9.x, and Mac OS X will be available in July. The suggested retail price is US $309 for all platforms. Registered users of any version of Bryce are eligible to purchase the upgrade version of Bryce® 5 for US $159. French and German versions of Bryce® 5 will be available in August 2001.


Corel Introduces CorelDRAW® ESSENTIALS
New Creativity Package Coming Soon
Ottawa, Canada - Jun 25, 2001

Based on Corel's award-winning graphics and photo-editing products, CorelDRAW® 9* and Corel PHOTO-PAINT® 9*, CorelDRAW® ESSENTIALS gives users the powerful functionality of two graphics applications in one easy-to-use and flexible package.

"We are committed to providing our customers with the right tools at the right price for their creative needs," said Ian LeGrow, executive vice-president of creative products at Corel. "CorelDRAW® ESSENTIALS was designed for users who have moved beyond entry-level graphics products. It is a sophisticated solution that provides power and creative control, without the learning curve of a professional tool."

CorelDRAW® is an illustration and page layout application that offers users an extensive variety of effects and creation tools. Corel PHOTO-PAINT® is a photo-editing application that offers exceptional image creation and enhancement, effects and artistic media brush tools. These applications open virtually unlimited creative possibilities including: illustrations, layouts, home renovation plans, family stationary, greeting cards, calendars, landscaping design, Web graphics, and more.

CorelDRAW® ESSENTIALS highlights include:
  • Optimized for the Intel® Pentium® 4 processor
  • Optimized for the upcoming Microsoft® Windows® XP
  • Digital Imaging – users can enhance and manage their photo collections; it's the ideal companion for digital cameras
  • Text and layout tools – users can dramatically improve the formatting of their projects by fitting text to a path; adding 3D text effects; defining columns; controlling text spacing; wrapping text around an image; and assigning different page sizes and orientations to individual pages
  • Live Effects – users can experiment with effects, such as drop shadows, transparencies, mesh fills, and distortions – without losing their previous work – and see the results in realtime
  • Image Sprayer tool – users can create realistic collage effects
  • Masking tools – users can control the areas they mask to help create stunning image compositions
  • Photo Panoramas – users can create QuickTime™ VR panoramas with image-editing functionality
What is in the CorelDRAW® ESSENTIALS Box:
In addition to CorelDRAW® 9* and Corel PHOTO-PAINT® 9*, CorelDRAW® ESSENTIALS includes the following value-added features:
  • Corel CAPTURE™ 9
  • Canto® Cumulus® Desktop LE 5.0
  • Adobe ® Acrobat ® Reader ® 5.0
  • QuickTime™ 5 Player
  • Digimarc ® Digital Watermarking
  • Human Software Squizz!™
  • CorelTUTOR™
  • QuickTour Movie
Also included in CorelDRAW® ESSENTIALS are 5000 high-quality clipart images, 1000 high resolution photos, 1000 photo objects, and 100 TrueType ® fonts.

CorelDRAW® ESSENTIALS for Windows® 98, Windows Me, Windows 2000, Windows NT 4.0, and Windows XP will be available in August 2001. French and German versions will be available in September 2001.

* Modified from the full version.


Paradox®10 - Runtime now available for download

Paradox® 10 Runtime is now available for download from Corel's Website at: http://www.corel.com/runtime10/

Paradox® 10 Runtime CD's will be available to all requesting Platinum Developers at "no charge". Please send your request via e-mail to partners@corel.com



Developer TIPS

Macros & Merges: Utilizing a Macro within a Merge


The following article comes to us from Bruce Bidgood (Systems Engineer) with the Corel Professional Services Team.

Merging has to be one of the biggest features of WordPerfect. I am probably one of the few System Engineers who actually enjoy a good merge. It can be a daunting task but once you have mastered the code it becomes a powerful ally. Take for instance the fact that you can drop Any PerfectScript code you wish into it. It can power the simplest merge from a table or address book to pulling information from a main frame computer with millions of entries.

Today I'm going to show you the technique of dropping your PerfectScript code into a merge document. Ready... Set .... Go!!!!

Lets start by creating a basic merge form by going to Tools Merge..., Form Document, Choose Create Form Document..., Select No Association.... and then click OK. We now have a form open on our desktop.

Now lets explore the power of the merge and macros combined. Select Insert Merge Code, More..., and a dialog box will appear off to the upper right hand side. As many of you know this is the commands that allow you to merge using merge codes. But there is one of interest to us today, that is "Embed Macro(macro statements). Select this and click on insert. You will notice that the code is inserted into your document merge form. You now can embed your macro code. To show you how to do this lets create a small macro and then insert the code into the merge form.

Open a new document, leaving the form open as is. When the form is open go to Tools, Macro, Macro Toolbar. We are now ready to create our macro. What we are going to do is create a form that will come up and allow us to choose some data from the drop down box and use it in our merge. Tricky you say? not really, all we are going to use is the variable scope of Persistent. There are three levels of scope for variables in PerfectScript and they are Persistent, Global and Local. Unless specified the macro variable will always be local and the same with a merge macro this means that as long as the macro or the merge is running the variable is "alive". The downfall to this of course is that the merge variable and the Macro variable are not aware of each other. To overcome this dilemma we can use the little known Persistent variable. So lets start our macro. For brevity sake I have gone ahead and created the code to insert the dialogbox:

Code Starts...

If(Exists (VariableName:strDropDown; Pool:Persistent!))
      strDropDown = ""
Else
      Persist strDropDown = ""
EndIF
DialogDefine (Dialog:"dlgMain"; Left:53; Top:40; Width:178; Height:41; Style:Percent!; Caption:"Pick a Color:")
DialogSetProperties (Dialog:"dlgMain"; FontName:"MS Sans Serif"; FontSize:8p)
DialogAddComboBox (Dialog:"dlgMain"; Control:"ComboBx1"; Left:6; Top:10; Width:101; Height:58; Style:Dropdown!; MacroVar:strDropDown)
      DialogAddListItem (Dialog:"dlgMain"; Control:"ComboBx1"; Item:"Red")
      DialogAddListItem (Dialog:"dlgMain"; Control:"ComboBx1"; Item:"Green")
      DialogAddListItem (Dialog:"dlgMain"; Control:"ComboBx1"; Item:"Blue")
      DialogAddListItem (Dialog:"dlgMain"; Control:"ComboBx1"; Item:"Yellow")
      DialogAddListItem (Dialog:"dlgMain"; Control:"ComboBx1"; Item:"Orange")
DialogAddPushButton (Dialog:"dlgMain"; Control:"OKBttn"; Left:116; Top:10; Width:58; Height:14; Style:OKBttn!; ButtonText:"OK")

DialogShow("dlgMain";"WordPerfect") messagebox(;;strDropDown)

....Code Ends

You can take this code and directly paste it into the merge command Embed Macro(). To do so place it in-between the open parentheses "(" and the closed parentheses ")". Save the form.

We are now ready to test the dialog box embedded in the merge. This will only prove that the dialog box will come up when you run the merge. Click on Merge..., Merge.

The merge will begin to run. The only thing that should happen is a dialog box will come up with a drop down control and an OK button. Play with the drop down box you will see it contains several colors, we will use this in the next part to have the merge pick up on the color you have selected. Click OK and the dialog box should close and the merge should end.

Lets now use that variable strDropDown we assigned in the macro and use it in the merge.

With the merge form open that you created select, Insert Merge Code, More..., and the Insert Merge Codes will appear. We want to use the code ASSIGN(Var;expr). Move you cursor above the EMBEDMACRO() (Insert a new line if you need to but it must be before this code) and click on Insert. For the variable type in strDropDown and leave the text blank. Click OK.

Assign(strDropDown;) is now placed in your merge form. Save it. This has just created a Persistent variable in the merge called strDropDown. Notice it is the same name as our Macro drop down box! They will share the same information. This is how you move values from a macro into a merge and vice versa.

The only thing left to do is to set up a way to prove that this whole system works. Lets just do a simple type out of the color chosen. Move below the EmbedMacro() and type in the phrase; The color chosen is: Insert the chosen variable. Open up your Insert Merge Codes dialog box and look for a code called Variable(Var), select it and click on Insert. for the Variable type in strDropDown and click OK.

Its time to run the merge. Click on Merge..., Merge.
Select a color when the dialog box comes up and click OK.
There you have just run a merge with a macro in it. Once you have done this a few times you will see how easy it is.

You can now go on and further the merge by adding a data source and inserting the fields. Watch what happens when you run it then the dialogbox will come up after every new record and ask you for a new choice. This means that you can make a merge interactive in a very special way incorporating the boundless power of a macro with a merge.




If you would like to see specific examples of CorelDRAW® VBA Macros, Perfectscript Macros or OPAL coding, please e-mail partners@corel.com with the details.



Contact
Info
Chris Cheverie
Corel Solution Developers Program Administrator

DEVELOPER SUPPORT*
Phone: 1-877-578-0554
devsup@corel.com
*This is a fee-based service for Standard Members

North American/International Developers:
Corel Corporation
Corel Solution Developers Program
1600 Carling Ave
Ottawa, ON K1Z 8R7
CANADA
Phone: 613-274-0503
FAX: 613-274-6373
partners@corel.com

 


Copyright © 2001 Corel® Corporation. All rights reserved.
Year 2000 Information
Graphics by Corel
Products Support Shop Contact Us News Events Search Corel Home Page