RE: Change font size in BlackBox Documentation

From: CFB Software <"CFB>
Date: Mon, 16 Aug 2004 11:37:35 +0930

----boundary-LibPST-iamunique-861357370_-_-
Content-type: text/plain

> >
> > Is there a simpler way to reduce the font size of the documentation
> > (listed in 'Help Contents') than going through all the documents,
> > selecting test, selecting a size from the attributes menu
> and storing
> > the documents?
>
> AFAIK there is no standard way, but it would be easy to do a
> litle module to do the job. For this, you need to iterate
> over all files in all docu directories (see the Files module)
> and for each .odc file, read it using Views.OldView, change
> its TextModels.model attributes and save it with

> Views.RegisterView. If you make this tool, please give it to
> the Blackbox community, it would be useful for everybody. Thanks.
>

A couple of suggestions for anybody considering making this tool:

1. Include the option to set the font to 'Default Font'. If chosen, any
subsequent changes to the document font could be achieved just by
changing the Edit > Preferences setting for the default font.

2. Isolate the functions that scan / list the subset of directories to a
separate reusable module.

Chris Burrows
CFB Software
http://www.cfbsoftware.com/gpcp




--------------------------------------------

To unsubscribe from this mailing list, send a message containing the word "unsubscribe" to:
   blackbox-request{([at]})nowhere.xy

To get a list of valid e-mail commands and instructions on their usage, send a message containing the word "help" to the above address.

Send any problem reports or questions related to this email list to the list owner at
   owner-blackbox{([at]})nowhere.xy

Current posting policy:

a) To post you should use the same address by which you are subscribed to the mailing list. That way, the list server will recognize you as subscriber and forward your posting immediately, without creating any overhead.

b) If, for some reason, you cannot post from the address, by which you are subscribed, your message will be moderated to avoid spam. Please understand that moderation will often cause some delay, in particular over weekends or holydays.


----boundary-LibPST-iamunique-861357370_-_-
Content-type: application/rtf
Content-transfer-encoding: base64
Content-Disposition: attachment; filename="rtf-body.rtf"

e1xydGYxXGFuc2lcYW5zaWNwZzEyNTJcZnJvbXRleHQgXGRlZmYwe1xmb250dGJsDQp7XGYwXGZz
d2lzcyBBcmlhbDt9DQp7XGYxXGZtb2Rlcm4gQ291cmllciBOZXc7fQ0Ke1xmMlxmbmlsXGZjaGFy
c2V0MiBTeW1ib2w7fQ0Ke1xmM1xmbW9kZXJuXGZjaGFyc2V0MC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