Generic FunctionPackage: cgToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 8.2
Unrevised from 8.1 to 8.2.
8.1 version

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-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