 ____  _         _      ____  _      _
/ ___|| |_ _   _| | ___|  _ \(_) ___| | __
\___ \| __| | | | |/ _ \ |_) | |/ __| |/ /
 ___) | |_| |_| | |  __/  __/| | (__|   <
|____/ \__|\__, |_|\___|_|   |_|\___|_|\_\
           |___/
StylePick v101 12th June 2000       Miss H.Bazley
This program was written with the aid of Andrew Ayre's DrWimp library.
--------------------------------------------------------------------------------
PURPOSE OF PROGRAM:

To allow the user to import a sub-set of the styles contained in one Impression document into another such document.
--------------------------------------------------------------------------------
HARDWARE & SOFTWARE REQUIREMENTS:

RISC-OS 31 or greater, 32k of free RAM, and a copy of one of the Impression family of desktop publishing programs  Impression II, Junior, Publisher, or Style.   If you don't have a copy of Impression, you can't use (and don't need) this program.
--------------------------------------------------------------------------------
WHY USE STYLEPICK?

  Styles are fairly fundamental to the use of Impression;  however it is a nuisance to have a long list of unused styles in a document, since this makes it very awkward to make selections from the menu.   While it is possible to 'import' an entire set of styles from another document, it is not possible to import only one or two of them.
  The well-organised author who wishes to share styles between documents no doubt keeps a set of blank 'templates' prepared beforehand.   I myself always end up importing styles from a selection of other documents as I need them, and then wasting a long time in deleting all the unwanted styles afterwards.
  However, if you save out part of a document as 'text with styles' it is possible to extract part of the relevant style information from the top of the file and transfer it to another document.   StylePick partly automates tbis process, offering you a list of available styles so that you may choose which ones you wish to use, and compiling a new file containing only this information, which may then be dropped onto an Impression window.
  If you have never wanted to import just one style from one document to another  then you don't need this program.   Otherwise, read on.
--------------------------------------------------------------------------------
HOW TO USE THE PROGRAM

  Run the program.   Load into Impression the document containing the styles you wish to import, insert the cursor into any frame in the document and select 'File=>Save text story' from the menu (or ADJUST-click on the save icon).   Make sure that the 'With styles' option in the resulting save box is ticked.   Now save this text file to disc somewhere.   Saving it directly into StylePick won't work properly....
  Load the destination Impression document into which the styles are to be imported.
  Drag the saved text file onto the StylePick icon on the iconbar.   A window should pop up listing the available styles.   Click on the style names to select them.   Once at least one style has been selected, the 'Export' option on the StylePick menu will be available.   This allows you to save out a DDF file containing only style definitions, which can be loaded into an Impression window to import those styles.   This file may either be saved to disc, for possible re-use, or directly into your Impression document.
--------------------------------------------------------------------------------
HOW TO AVOID USING THE PROGRAM

  A similar effect may be obtained by creating a small section of text in your source Impression document, applying to it all the styles you wish to transfer, and then copy/pasting the section in question into your destination document.   Any styles which do not already exist in the destination document will now have been created for you.
  On the whole this is probably easier than using my program....
--------------------------------------------------------------------------------
LIMITATIONS

  Files cannot be saved directly out of Impression into StylePick (although they may be saved out of StylePick directly into Impression).
  Only the first 49 styles in any file will be loaded.
  Styles will only be created if they do not already exist in the destination document.   The Impression DDF interpreter does not allow you to redefine an existing style  so if two documents have different 'Normal' styles, you can't get StylePick to use one to reformat the other.   (This is a pretty major limitation, but I can't do anything about it!)

--------------------------------------------------------------------------------
HISTORY
v100	released 11th February 2000
v101	(12th June 2000)
	Corrected bug affecting last style definition in file  program assumed that end of last style definition would contain '}{' - which is only the case if the first word of the text is a {"Style" on} command!

--------------------------------------------------------------------------------
*CONTACTING THE AUTHOR

   The author may be contacted at:
     144, Merton Hall Road
     Wimbledon
     London SW19 3PZ

or via e-mail at harriet@bazleyfamily.co.uk
