Generic FunctionPackage: common-graphicsToCDocOverviewCGDocRelNotesIndexPermutedIndex
Allegro CL version 6.1
Unrevised

get-paragraph-format

Arguments: window

Returns the paragraph formatting of the selected text. All paragraphs that are at least partly in the selected text are considered to be selected.

window is a text-edit-pane and is typically a rich-edit-pane (a subclass of text-edit-pane). Note that neither a text-edit-window (typically the parent of a text-edit-pane) nor a rich-edit control are valid arguments to this function. Applying window to a rich-edit control results in a suitable argument, however.

Twelve multiple values are returned:

  1. justification: either :left, :center, or :right
  2. numbering-style: either :plain or :bullets
  3. top-left-indentation: a number in points
  4. body-left-indentation: a number in points
  5. right-indentation: a number in points
  6. tabs: a list of tabstops in points
  7. same-alignment: true if all paragraphs have the same alignment
  8. same-numbering-style: true if all paragraphs have the same numbering style
  9. same-top-left-indentation: true if all paragraphs have the same top left indentation
  10. same-body-left-indentation: true if all paragraphs have the same body left indentation
  11. same-right-indentation: true if all paragraphs have the same right indentation
  12. same-tabs: true if all paragraphs have the same list of tabstops

See set-paragraph-format.

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


Copyright (c) 1998-2001, Franz Inc. Berkeley, CA., USA. All rights reserved.
Documentation for Allegro CL version 6.1 update # 1. This page was not revised.
Created 2001.12.15.

ToCDocOverviewCGDocRelNotesIndexPermutedIndex
Allegro CL version 6.1
Unrevised