home *** CD-ROM | disk | FTP | other *** search
Text File | 1995-11-20 | 1.2 KB | 36 lines | [TEXT/CWIE] |
- // SVAESetData.h
- //
- // 7Edit 3.1d1. Original version by Jon Lansdell and Nigel Humphreys.
- // 3.1 updates by Greg Sutton.
- // ©Apple Computer Inc 1995, all rights reserved.
-
- #ifndef __SVAESETDATA__
- #define __SVAESETDATA__
-
- #include <Printing.h>
-
- #include "SVToken.h"
-
- pascal OSErr DoSetData(const AppleEvent *theAppleEvent,
- AppleEvent *reply,
- long handlerRefCon);
-
- OSErr HandleSetData(const AEDesc *theObj, AEDesc *dataDesc);
-
- OSErr SetWindowProperty(const AEDesc *theWPTokenDesc, const AEDesc *dataDesc);
- OSErr SetWindowSelectionProperty(WindowPtr theWindow, const AEDesc *dataDesc);
-
- OSErr SetTextProperty(const AEDesc *tokenDesc, const AEDesc *dataDesc);
-
- OSErr SetFontOfTextToken(TextToken* theToken, Str255 name);
- OSErr SetSizeOfTextToken(TextToken* theToken, short theSize);
- OSErr SetStyleOfTextToken(TextToken* theToken, Style onStyle, Style offStyle);
- OSErr GetTextStyles(const AEDesc *dataDesc, Style *onStyles, Style *offStyles);
- void AddDescStyleItem(DescType theDesc, Style *theStyle);
- OSErr MakeStyleFromAEList(const AEDescList *styleList, Style *theStyle, Boolean *hadPlain);
- short ItemForNamedFont(Str255 theName);
-
- OSErr GetTHPrintFromDescriptor(const AEDesc *sourceDesc, THPrint *result);
-
- #endif
-