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

ToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 10.0
Unrevised from 9.0 to 10.0.
9.0 version