Generic FunctionPackage: cgToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 8.2
Unrevised from 8.1 to 8.2.
8.1 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-2016, Franz Inc. Oakland, CA., USA. All rights reserved.
This page was not revised from the 8.1 page.
Created 2010.1.21.

ToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 8.2
Unrevised from 8.1 to 8.2.
8.1 version