Introduction 511
Background 512
Extending Dreamweaver 512
Additional resources for extension writers 512
New functions in Dreamweaver 8 512
Removed functions 517
Errata 517
Conventions used in this guide 518
PART 1: UTILITY APIS
Chapter 1: The File I/O API 521
Accessing configuration folders 521
The File I/O API 521
Chapter 2: The HTTP API 533
How the HTTP API works 533
The HTTP API 534
Chapter 3: The Design Notes API 543
How Design Notes work 543
The Design Notes JavaScript API 544
The Design Notes C API 549
Chapter 4: Fireworks Integration 557
The FWLaunch API 557
Chapter 5: Flash Integration 565
How Flash elements work 565
Inserting Flash elements 566
The Flash Objects API 567
Chapter 6: The Database API 573
How Database API functions work 573
Database connection functions 574
Database access functions 590
Chapter 7: The Database Connectivity API 605
How to develop a new connection type 605
The Connection API 607
The generated include file 611
The definition file for your connection type 613
Chapter 8: The JavaBeans API 615
The JavaBeans API 615
Chapter 9: The Source Control Integration API 621
How source control integration with Dreamweaver works 622
Adding source control system functionality 622
The Source Control Integration API required functions 623
The Source Control Integration API optional functions 630
Enablers 641
PART 2: JAVASCRIPT API
Chapter 10: Application 651
External application functions 651
Global application functions 659
Chapter 11: Workspace 665
History functions 665
Insert object functions 675
Keyboard functions 677
Menu functions 686
Results window functions 687
Toggle functions 702
Toolbar functions 726
Window functions 733
Code collapse functions 745
Code view toolbar functions 753
Chapter 12: Site 759
Report functions 759
Site functions 760
Chapter 13: Document 803
Conversion functions 803
Command functions 804
File manipulation functions 806
Global document functions 825
Path functions 837
Selection functions 840
String manipulation functions 848
Translation functions 853
XSLT functions 855
Chapter 14: Page Content 859
Assets panel functions 859
Behavior functions 872
Clipboard functions 883
Library and template functions 888
Snippets panel functions 895
Chapter 15: Dynamic Documents 901
Server Components functions 901
Data source functions 902
Extension Data Manager functions 903
Live data functions 906
Server behavior functions 912
Server model functions 914
Chapter 16: Design 923
CSS functions 923
Frame and frameset functions 945
Layer and image map functions 947
Layout environment functions 950
Layout view functions 957
Zoom functions 968
Guide functions and properties 972
Table editing functions 981
Chapter 17: Code 993
Code functions 993
Find/replace functions 998
General editing functions 1004
Print function 1024
Quick Tag Editor functions 1025
Code view functions 1028
Tag editor and tag library functions 1048
Chapter 18: Enablers 1055
Enablers 1055