Service Manuals, User Guides, Schematic Diagrams or docs for : apple lisa toolkit_3.0 Package_2_Examples 12_Text_Building_Block

<< Back | Home

Most service manuals and schematics are PDF files, so You will need Adobre Acrobat Reader to view : Acrobat Download Some of the files are DjVu format. Readers and resources available here : DjVu Resources
For the compressed files, most common are zip and rar. Please, extract files with Your favorite compression software ( WinZip, WinRAR ... ) before viewing. If a document has multiple parts, You should download all, before extracting.
Good luck. Repair on Your own risk. Make sure You know what You are doing.




Image preview - the first page of the document
12_Text_Building_Block


>> Download 12_Text_Building_Block documenatation <<

Text preview - extract from the document
 Text
Building
 Block
To:               Users of the TOOlKit's Text Building BloCk
From:
Date:             21 Marcr! 1984
Subject:          How to use the Text Building Block (TK8E) (draft version 3)
==============================================:====================-========:==


When reading this document it is suggested that you have a copy of the UText
interface available for reference.

The Text Building Block allows users to specify an LRect in their view irl w~ii:~;ri
m..Jltiple paragraphs may be entered either from the keyooara or pasted frOlT tne
clipboard. "i thin this box, te>tt klill word klrap based on the bounos of t!'"l~ b:JY
and optional 1ndentation fields 1n the TPara=ornet object. Trlese fields oe-foiJl t
to zero, thus if the values are not Changed, the text kl1ll fit tig!"ltly 11.:1 tnir:
the LRect specified. (Currently only left justified text is supported so trtere
klill be a ragged right edge.)

Application programmers must create a TTextlmage for eaCh separate grouo Of te~t
they wiSh to display. The CREATE method expects an LReet within its vie~. Ir:
adOi tion, the 1sGro~le ooolea!! parameter speCifies Whether or not tr,e LRect
can grow at the bottom if text that is oisplayea cannot fit in the spe:ifiEJ
LRect.

Textlmages display TText Objects. A TText Object contains a list Of TParagr~~
oOjects. EaCh TParaglaph Object contains the characters ana typeStyle
1nformation for one paragraprl. Associated wit~ eaCh paragraph is a TParaImage
wrl1c~ 1s stored 1n a list Of TParaImages in TTextlnage. A TParaImage cO;ltains
all Of the display specific information about a particular paragraptl suerl a~
where each line ends and tne pixel height of the displayed paragratJn. Wrte:-I a
TIextlmage is created, 1t nust have an 1nit1al TText object. Ttle next oeject,
in turn, rust nave at least one paragraph 1n its paragraph l1st. Also, eaCf,
paragrap~ points to a TParaFormat, Whicrl spec1fies margins, taos, paragraph
spacing and other formatting Characteristics.

TParaFormats are stored in a TStyleSheet, WhiCh is simply a list Of
TParaFormats. Since the list is an indexed list, one can store commonly U$eo
form&ts at known posi tioras in ttte list for rapia retrieval when reformatting a
part1CUlar paragraph. Typically, app11cations store a single styleSrleet in a
fie10 Of their applicat10n windOW. Eacn TText ooject, 1n adaition to containing
a 11st -Of paragraphS also points to a styleSheet. By storing ttle styleSheet in
the w1naow, eaCh         next Object can refer-ence tr.e sarne styleStleet.




Text Butldlrtg BlOCk 



◦ Jabse Service Manual Search 2026 ◦ Jabse PravopisonTap.bg ◦ Other service manual resources online : FixyaeServiceinfo