Generic FunctionPackage: cgToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 8.1
Object described on page has changed in 8.1.
8.0 version

rich-edit-save-as

Arguments: pane &key path allowed-types format

Saves the contents of the rich-edit-pane  pane to a new file named by path.

path may be a pathname, a path namestring, or nil. When nil, ask-user-for-new-pathname is called to ask for the path to which to save the contents.

format may be :rich-text (the default) to save rich text, or :text to save plain text. This argument is passed to rich-edit-range to retrieve the text to save.

allowed-types may be a value to pass as the allowed-types argument to ask-user-for-new-pathname (if it is called), or nil. When nil, the value will default to (("Rich text" . "*.rtf")) when format is :rich-text or to (("Text" . "*.txt")) when format is :text.

See cg-rich-text.htm for information about rich text editing in Common Graphics.


Copyright (c) 1998-2009, Franz Inc. Oakland, CA., USA. All rights reserved.
Documentation for Allegro CL version 8.1. The object described on this page has been modified in the 8.1 release; see the Release Notes.
Created 2007.4.30.

ToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 8.1
Object described on page has changed in 8.1.
8.0 version