Document Basics

By default, Studio opens a template containing just the code required for a valid HTML document. This default template is stored as \Wizards\HTML\Default Template.htm below your ColdFusion Studio root directory. You can edit this file and save it to change its content.

Opening a new document

Click the New button to open a new document based on the default template.

Alternatively, you can select File > New to open the New Document dialog box. Here you can choose a template or a wizard to begin your development work.

Inserting a file into a document

You can insert files in HTML, CFML, and a number of other file formats into a Studio document.

Note To insert a file:
  1. Choose File > Insert File.
  2. Open the drop-down list of supported file types to filter file list.
  3. Locate the file and click OK to insert the file contents in the current document.

Converting a text file

Select File > Convert Text File and locate a local or remote file with a txt extension. When you click OK, the file is opened in the editor surrounded by basic HTML tags. You can then add formatting or link to a style sheet.

Copying content from a browser

Converting Microsoft Office content

You can convert content such as lists, tables, and worksheet cells into their equivalent HTML formatting by copying from Microsoft Word and Excel.

Note To convert Microsoft Word and Excel content:
  1. Select the content in Word or Excel.
  2. Paste the selection into the Design window at the location you want it to appear on the page.
  3. You can edit the new content visually, for example, click on a table border and drag a handle to resize it, or by switching to the editor to work directly in the code.

To explore this feature, you can experiment with inserting different types of content from Office documents and other Windows applications.