 
#ifndef style_DEFINED
#define style_DEFINED 1
 
#ifndef class_DEFINED
#include <class.h>
#endif /* class_DEFINED */
/* 
 * This file was generated by the Andrew class system preprocessor.
 * Don't make changes to this file as it is created from style.ch and will be
 * overwritten.  Make changes to style.ch instead.
 */ 
 
#ifndef class_StaticInfoOnly
/* 
 * The following information was copied, as-is, from style.ch.
 */ 
 
/* ********************************************************************** *\
 *         Copyright IBM Corporation 1988,1991 - All Rights Reserved      *
 *        For full copyright information see:'andrew/config/COPYRITE'     *
\* ********************************************************************** */

/*
	$Disclaimer: 
*Permission to use, copy, modify, and distribute this software and its 
*documentation for any purpose is hereby granted without fee, 
*provided that the above copyright notice appear in all copies and that 
*both that copyright notice, this permission notice, and the following 
*disclaimer appear in supporting documentation, and that the names of 
*IBM, Carnegie Mellon University, and other copyright holders, not be 
*used in advertising or publicity pertaining to distribution of the software 
*without specific, written prior permission.
*
*IBM, CARNEGIE MELLON UNIVERSITY, AND THE OTHER COPYRIGHT HOLDERS 
*DISCLAIM ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING 
*ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS.  IN NO EVENT 
*SHALL IBM, CARNEGIE MELLON UNIVERSITY, OR ANY OTHER COPYRIGHT HOLDER 
*BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY 
*DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, 
*WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS 
*ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE 
*OF THIS SOFTWARE.
* $
*/


 

#define style_VERSION   1

/**************************************************************
 * Style Definitions
 **************************************************************/

#define style_OPNOOP        0
#define style_OPCOPY        1
#define style_OPADD         2
#define style_OPSET         3
#define style_OPCLEAR       4

enum style_Attribute {
    style_LeftMarginAttr=0,
    style_RightMarginAttr=1,
    style_IndentAttr=2,
    style_ScriptAttr=3,
    style_JustificationAttr=4,
    style_SpacingAttr=5,
    style_SpreadAttr=6,
    style_TabsAttr=7,
    style_FlagsAttr=8,
    style_FunctionAttr=9,
    style_FontFamilyAttr=11,
    style_FontFaceAttr=12,
    style_FontSizeAttr=14,
    style_TopMarginAttr=15,
    style_BottomMarginAttr=16,
    style_AboveAttr=17,
    style_BelowAttr=18,
    style_CounterNameAttr=19,
    style_CounterParentAttr=20,
    style_CounterScopeAttr=21,
    style_CounterPositionAttr=22,
    style_CounterInitialValueAttr=23
};

enum style_Unit {
    style_Inches=0,
    style_CM=1,
    style_Points=2,
    style_Ems=3,
    style_Lines=4,
    style_RawDots=6
};

enum style_TabAlignment {
    style_LeftAligned=1,
    style_RightAligned=2,
    style_CenteredOnTab=3,
    style_CenteredBetweenTab=4,
    style_TabDivide=5,
    style_CharAligned=6,
    style_TabClear=7,
    style_AllClear=8
};

struct tabentry {
    enum style_TabAlignment TabOpcode;
    long Location;
    enum style_Unit LocationUnit;
    long DotLocation;
};

enum style_Justification {
    style_PreviousJustification,
    style_LeftJustified,
    style_RightJustified,
    style_Centered,
    style_LeftAndRightJustified,
    style_LeftThenRightJustified
};

enum style_Scope {
    style_GlobalScope,
    style_LocalScope
};

enum style_Position {
    style_EnvironmentCtr,
    style_ParagraphCtr,
    style_LineCtr
};

enum style_MarginValue {
    style_ConstantMargin,
    style_LeftMargin,
    style_LeftEdge,
    style_RightMargin,
    style_RightEdge,
    style_TopMargin,
    style_TopEdge,
    style_BottomMargin,
    style_BottomEdge,
    style_PreviousIndentation
};

struct marginstyle {
    enum style_MarginValue MarginBasis;
    long Operand;
    enum style_Unit MarginUnit;
    long DotCvtOperand;
};

enum style_SpacingValue {
    style_ConstantSpacing,
    style_InterlineSpacing,
    style_InterparagraphSpacing,
    style_AboveSpacing,
    style_BelowSpacing
};

struct spacingstyle {
    enum style_SpacingValue SpacingBasis;
    long Operand;
    enum style_Unit SpacingUnit;
    long DotCvtOperand;
};

enum style_FontSize {
    style_PreviousFontSize,
    style_ConstantFontSize
};

struct fontsizestyle {
    enum style_FontSize SizeBasis;
    long Operand;
};

enum style_ScriptMovement {
    style_PreviousScriptMovement,
    style_ConstantScriptMovement
};

struct fontscriptstyle {
    enum style_ScriptMovement ScriptBasis;
    long Operand;
    enum style_Unit SizeUnit;
    long DotCvtOperand;
};

/* Flags for styles controlling the appearance of text */

#define style_NoFlags		0
#define style_AllFlags          ~0

/* The following must be kept in sync with the enum defs in style.c */

#define style_Underline         (1<<0)
#define style_Hidden		(1<<1)
#define style_ReadOnly          (1<<2)
#define style_PassThru          (1<<3)
#define style_Icon              (1<<4)	/* unused */
#define style_ContinueIndent 	(1<<5)
#define style_Hinge		(1<<6)
#define style_NewPage		(1<<7)
#define style_ChangeBar         (1<<8)
#define style_OverBar		(1<<9)
#define	style_NoWrap		(1<<10)
	/* the next three are for translation from Scribe to ATK */
#define style_NoFill		(1<<11)
#define style_KeepPriorNL	(1<<12)
#define style_KeepNextNL	(1<<13)
#define	style_TabsCharacters	(1<<14)
#define	style_DottedBox		(1<<15)
#define	style_StrikeThrough	(1<<16)

/**************************************************************
 * Style Class
 **************************************************************/






/* 
 * End of information copied from style.ch.
 */ 
 
#endif /* class_StaticInfoOnly *//* 
 * Include the superclass information
 */ 
/* style has no super class */ 
 
 
#ifndef class_StaticInfoOnly
/* 
 * Data structure for style 
 */ 
struct style { 
    struct {
	struct basicobject_methods *style_methods;
    } header;
    char *name;
    char *menuName;                     /* e.g. "Font~1,Italic~11" */
    boolean template;                   /* Style from current template */

    struct marginstyle NewLeftMargin;
    struct marginstyle NewRightMargin;
    struct marginstyle NewTopMargin;
    struct marginstyle NewBottomMargin;

    struct marginstyle NewIndentation;
    enum style_Justification NewJustification;

    struct spacingstyle NewInterparagraphSpacing;
    struct spacingstyle NewAbove;
    struct spacingstyle NewBelow;
    struct spacingstyle NewInterlineSpacing;

    char *FontFamily;
    struct fontsizestyle FontSize;
    struct fontscriptstyle FontScript;
    long AddFontFaces;      /* OR'ed FontFaces */
    long OutFontFaces;      /* NOT'ed OR'ed FontFaces */

    long NumTabChanges;
    struct tabentry *TabChangeList;	/* ptr to array */

    char *CounterName;
    enum style_Scope CounterScope;
    enum style_Position CounterPosition;
    char *CounterParent;
    long CounterInitialValue;
    long NumCounterStyles;
    char **CounterStyles;               /* Array of strings */

    long AddMiscFlags;      /* Hinge, Pagebreak, Hidden, ... */
    long OutMiscFlags;

    struct namespace *AdditionalAttributes;

};

 
/* 
 * End of data structure for style.
 */ 
 

#endif /* class_StaticInfoOnly */

#ifndef class_StaticInfoOnly

#ifndef style_PROGRAMMERVERSION
#define style_PROGRAMMERVERSION 1
#endif /* style_PROGRAMMERVERSION */

#ifdef style_VERSION
#undef style_VERSION
#endif /* style_VERSION */
#define style_VERSION ((((style_PROGRAMMERVERSION << 16) ^ (50 << 8) ^ sizeof(struct style)) & 0x7ffff) + 0x80000 + (1 << 20))


#endif /* class_StaticInfoOnly */
#define style_StaticLoadOnlyThisClass()  \
{ extern struct classinfo *style__GetClassInfo(); \
 extern struct classheader *style_classheader_StaticExport; \
  (void) class_EnterInfo(NULL, style_classheader_StaticExport->name, style__GetClassInfo, NULL, style_classheader_StaticExport->namekey); } 
 
#define style_StaticLoad()  \
    { \
    style_StaticLoadOnlyThisClass();  \
    } 
 
#define style_StaticEntry  {style_StaticLoad()} 
 
#ifndef class_StaticInfoOnly
static struct classheader style_classheader = {
    style_VERSION,
    "style",
    "style",
    (struct basicobject_methods *) &class_RoutineStruct,
};

#define style_CLASSPROCEDURES (style_classheader.classprocedures)
int style_classref_;
#endif /* class_StaticInfoOnly */

#endif /* style_DEFINED */

#if !defined(style_ROUTINESDEFINED) && !defined(dontDefineRoutinesFor_style) && !defined(class_StaticEntriesOnly)
#define style_ROUTINESDEFINED

#define style_Reset(self) \
    ((* ((void (*)())((self)->header.style_methods->routines[0]))) (self))
#define style_Copy(self,dest) \
    ((* ((void (*)())((self)->header.style_methods->routines[1]))) (self,dest))
#define style_SetName(self,name) \
    ((* ((void (*)())((self)->header.style_methods->routines[2]))) (self,name))
#define style_GetName(self) \
    ((* ((char * (*)())((self)->header.style_methods->routines[3]))) (self))
#define style_SetMenuName(self,name) \
    ((* ((void (*)())((self)->header.style_methods->routines[4]))) (self,name))
#define style_GetMenuName(self) \
    ((* ((char * (*)())((self)->header.style_methods->routines[5]))) (self))
#define style_SetNewLeftMargin(self,Basis,Operand,Unit) \
    ((* ((void (*)())((self)->header.style_methods->routines[6]))) (self,Basis,Operand,Unit))
#define style_GetNewLeftMargin(self,RefBasis,RefOperand,RefUnit) \
    ((* ((void (*)())((self)->header.style_methods->routines[7]))) (self,RefBasis,RefOperand,RefUnit))
#define style_SetNewRightMargin(self,Basis,Operand,Unit) \
    ((* ((void (*)())((self)->header.style_methods->routines[8]))) (self,Basis,Operand,Unit))
#define style_GetNewRightMargin(self,RefBasis,RefOperand,RefUnit) \
    ((* ((void (*)())((self)->header.style_methods->routines[9]))) (self,RefBasis,RefOperand,RefUnit))
#define style_SetNewTopMargin(self,Basis,Operand,Unit) \
    ((* ((void (*)())((self)->header.style_methods->routines[10]))) (self,Basis,Operand,Unit))
#define style_GetNewTopMargin(self,RefBasis,RefOperand,RefUnit) \
    ((* ((void (*)())((self)->header.style_methods->routines[11]))) (self,RefBasis,RefOperand,RefUnit))
#define style_SetNewBottomMargin(self,Basis,Operand,Unit) \
    ((* ((void (*)())((self)->header.style_methods->routines[12]))) (self,Basis,Operand,Unit))
#define style_GetNewBottomMargin(self,RefBasis,RefOperand,RefUnit) \
    ((* ((void (*)())((self)->header.style_methods->routines[13]))) (self,RefBasis,RefOperand,RefUnit))
#define style_SetNewIndentation(self,Basis,Operand,Unit) \
    ((* ((void (*)())((self)->header.style_methods->routines[14]))) (self,Basis,Operand,Unit))
#define style_GetNewIndentation(self,RefBasis,RefOperand,RefUnit) \
    ((* ((void (*)())((self)->header.style_methods->routines[15]))) (self,RefBasis,RefOperand,RefUnit))
#define style_GetNewInterparagraphSpacing(self,RefBasis,RefOperand,RefUnit) \
    ((* ((void (*)())((self)->header.style_methods->routines[16]))) (self,RefBasis,RefOperand,RefUnit))
#define style_SetNewInterparagraphSpacing(self,Basis,Operand,Unit) \
    ((* ((void (*)())((self)->header.style_methods->routines[17]))) (self,Basis,Operand,Unit))
#define style_SetNewAbove(self,Basis,Operand,Unit) \
    ((* ((void (*)())((self)->header.style_methods->routines[18]))) (self,Basis,Operand,Unit))
#define style_GetNewAbove(self,RefBasis,RefOperand,RefUnit) \
    ((* ((void (*)())((self)->header.style_methods->routines[19]))) (self,RefBasis,RefOperand,RefUnit))
#define style_SetNewBelow(self,Basis,Operand,Unit) \
    ((* ((void (*)())((self)->header.style_methods->routines[20]))) (self,Basis,Operand,Unit))
#define style_GetNewBelow(self,RefBasis,RefOperand,RefUnit) \
    ((* ((void (*)())((self)->header.style_methods->routines[21]))) (self,RefBasis,RefOperand,RefUnit))
#define style_SetNewInterlineSpacing(self,Basis,Operand,Unit) \
    ((* ((void (*)())((self)->header.style_methods->routines[22]))) (self,Basis,Operand,Unit))
#define style_GetNewInterlineSpacing(self,RefBasis,RefOperand,RefUnit) \
    ((* ((void (*)())((self)->header.style_methods->routines[23]))) (self,RefBasis,RefOperand,RefUnit))
#define style_SetFontFamily(self,NewFont) \
    ((* ((void (*)())((self)->header.style_methods->routines[24]))) (self,NewFont))
#define style_GetFontFamily(self,FontName,bufsize) \
    ((* ((void (*)())((self)->header.style_methods->routines[25]))) (self,FontName,bufsize))
#define style_SetFontSize(self,Basis,Operand) \
    ((* ((void (*)())((self)->header.style_methods->routines[26]))) (self,Basis,Operand))
#define style_GetFontSize(self,RefBasis,RefOperand) \
    ((* ((void (*)())((self)->header.style_methods->routines[27]))) (self,RefBasis,RefOperand))
#define style_SetFontScript(self,Basis,Operand,Unit) \
    ((* ((void (*)())((self)->header.style_methods->routines[28]))) (self,Basis,Operand,Unit))
#define style_GetFontScript(self,RefBasis,RefOperand,RefUnit) \
    ((* ((void (*)())((self)->header.style_methods->routines[29]))) (self,RefBasis,RefOperand,RefUnit))
#define style_SetCounterName(self,NewCName) \
    ((* ((void (*)())((self)->header.style_methods->routines[30]))) (self,NewCName))
#define style_GetCounterName(self,RetrievedCName) \
    ((* ((void (*)())((self)->header.style_methods->routines[31]))) (self,RetrievedCName))
#define style_SetCounterParent(self,NewParent) \
    ((* ((void (*)())((self)->header.style_methods->routines[32]))) (self,NewParent))
#define style_GetCounterParent(self,RetrievedParent) \
    ((* ((void (*)())((self)->header.style_methods->routines[33]))) (self,RetrievedParent))
#define style_ClearCounterStyles(self) \
    ((* ((void (*)())((self)->header.style_methods->routines[34]))) (self))
#define style_AddCounterStyle(self,NewStyle) \
    ((* ((void (*)())((self)->header.style_methods->routines[35]))) (self,NewStyle))
#define style_GetCounterStyles(self,RefNumStyles,RefStyleStrings) \
    ((* ((void (*)())((self)->header.style_methods->routines[36]))) (self,RefNumStyles,RefStyleStrings))
#define style_ClearTabChanges(self) \
    ((* ((void (*)())((self)->header.style_methods->routines[37]))) (self))
#define style_AddTabChange(self,TabOp,Where,Unit) \
    ((* ((void (*)())((self)->header.style_methods->routines[38]))) (self,TabOp,Where,Unit))
#define style_GetTabChangeList(self,RefNumTabChanges,RefTabChanges) \
    ((* ((void (*)())((self)->header.style_methods->routines[39]))) (self,RefNumTabChanges,RefTabChanges))
#define style_AddAttribute(self,name,value) \
    ((* ((void (*)())((self)->header.style_methods->routines[40]))) (self,name,value))
#define style_RemoveAttribute(self,name) \
    ((* ((void (*)())((self)->header.style_methods->routines[41]))) (self,name))
#define style_GetAttribute(self,name) \
    ((* ((char * (*)())((self)->header.style_methods->routines[42]))) (self,name))
#define style_IsAttribute(self,name) \
    ((* ((boolean (*)())((self)->header.style_methods->routines[43]))) (self,name))
#define style_WriteMenu(self,fp) \
    ((* ((void (*)())((self)->header.style_methods->routines[44]))) (self,fp))
#define style_ReadMenu(self,fp) \
    ((* ((long (*)())((self)->header.style_methods->routines[45]))) (self,fp))
#define style_WriteAttr(self,fp) \
    ((* ((void (*)())((self)->header.style_methods->routines[46]))) (self,fp))
#define style_ReadAttr(self,fp) \
    ((* ((long (*)())((self)->header.style_methods->routines[47]))) (self,fp))
#define style_Write(self,fp) \
    ((* ((void (*)())((self)->header.style_methods->routines[48]))) (self,fp))
#define style_Read(self,fp) \
    ((* ((long (*)())((self)->header.style_methods->routines[49]))) (self,fp))
#define style_ClearNewFontFaces(self) \
 (((self))->AddFontFaces = (long) fontdesc_Plain)
#define style_AddNewFontFace(self,newface) \
 (((self))->AddFontFaces |= (long) (newface))
#define style_ClearOldFontFaces(self) \
 (((self))->OutFontFaces = ~ (long) fontdesc_Plain)
#define style_RemoveOldFontFace(self,oldface) \
 (((self))->OutFontFaces &= ~ (long) (oldface))
#define style_GetAddedFontFaces(self) \
 (((self))->AddFontFaces)
#define style_GetRemovedFontFaces(self) \
 (((self))->OutFontFaces)
#define style_IsAllAddedFontFace(self,testface) \
 ((((self))->AddFontFaces & (long) (testface)) == (long) (testface))
#define style_IsAllRemovedFontFace(self,testface) \
 ((~ ((self))->OutFontFaces & (long) (testface)) == (long) (testface))
#define style_IsAnyAddedFontFace(self,testface) \
 (((self))->AddFontFaces & (long) (testface))
#define style_IsAnyRemovedFontFace(self,testface) \
 (~ ((self))->OutFontFaces & (long) (testface))
#define style_SetCounterScope(self,newscope) \
 (((self))->CounterScope = (newscope))
#define style_GetCounterScope(self) \
 (((self))->CounterScope)
#define style_SetCounterPosition(self,newpos) \
 (((self))->CounterPosition = (newpos))
#define style_GetCounterPosition(self) \
 (((self))->CounterPosition)
#define style_SetCounterInitialValue(self,newval) \
 (((self))->CounterInitialValue = (newval))
#define style_GetCounterInitialValue(self) \
 (((self))->CounterInitialValue)
#define style_SetJustification(self,just) \
 (((self))->NewJustification = (just))
#define style_GetJustification(self) \
 (((self))->NewJustification)
#define style_AddFlag(self,flag) \
 (((self))->AddMiscFlags |= (flag),                    ((self))->OutMiscFlags |= (flag))
#define style_RemoveFlag(self,flag) \
 (((self))->AddMiscFlags &= ~(flag),                    ((self))->OutMiscFlags &= ~(flag))
#define style_UseOldFlag(self,flag) \
 (((self))->AddMiscFlags &= ~(flag),                    ((self))->OutMiscFlags |= ~(flag))
#define style_TestAddFlag(self,flag) \
 (((self))->AddMiscFlags & (flag))
#define style_TestRemoveFlag(self,flag) \
 (~ ((self))->OutMiscFlags & (flag))
#define style_TestUseOldFlag(self,flag) \
 (! style_TestAddFlag((self), flag) &&                    ! style_TestRemoveFlag((self), flag))
#define style_AddHinge(self) \
 style_AddFlag(((self)), style_Hinge)
#define style_RemoveHinge(self) \
 style_RemoveFlag(((self)), style_Hinge)
#define style_UseOldHinge(self) \
 style_UseOldFlag(((self)), style_Hinge)
#define style_IsHingeAdded(self) \
 style_TestAddFlag(((self)), style_Hinge)
#define style_IsHingeRemoved(self) \
 style_TestRemoveFlag(((self)), style_Hinge)
#define style_IsHingeUnchange(self) \
 style_TestUseOldFlag(((self)), style_Hinge)
#define style_AddNewPage(self) \
 style_AddFlag(((self)), style_NewPage)
#define style_RemoveNewPage(self) \
 style_RemoveFlag(((self)), style_NewPage)
#define style_UseOldNewPage(self) \
 style_UseOldFlag(((self)), style_NewPage)
#define style_IsNewPageAdded(self) \
 style_TestAddFlag(((self)), style_NewPage)
#define style_IsNewPageRemoved(self) \
 style_TestRemoveFlag(((self)), style_NewPage)
#define style_IsNewPageUnchange(self) \
 style_TestUseOldFlag(((self)), style_NewPage)
#define style_AddHidden(self) \
 style_AddFlag(((self)), style_Hidden)
#define style_RemoveHidden(self) \
 style_RemoveFlag(((self)), style_Hidden)
#define style_UseOldHidden(self) \
 style_UseOldFlag(((self)), style_Hidden)
#define style_IsHiddenAdded(self) \
 style_TestAddFlag(((self)), style_Hidden)
#define style_IsHiddenRemoved(self) \
 style_TestRemoveFlag(((self)), style_Hidden)
#define style_IsHiddenUnchange(self) \
 style_TestUseOldFlag(((self)), style_Hidden)
#define style_AddUnderline(self) \
 style_AddFlag(((self)), style_Underline)
#define style_RemoveUnderline(self) \
 style_RemoveFlag(((self)), style_Underline)
#define style_UseOldUnderline(self) \
 style_UseOldFlag(((self)), style_Underline)
#define style_IsUnderlineAdded(self) \
 style_TestAddFlag(((self)), style_Underline)
#define style_IsUnderlineRemoved(self) \
 style_TestRemoveFlag(((self)), style_Underline)
#define style_IsUnderlineUnchange(self) \
 style_TestUseOldFlag(((self)), style_Underline)
#define style_AddPassThru(self) \
 style_AddFlag(((self)), style_PassThru)
#define style_RemovePassThru(self) \
 style_RemoveFlag(((self)), style_PassThru)
#define style_UseOldPassThru(self) \
 style_UseOldFlag(((self)), style_PassThru)
#define style_IsPassThruAdded(self) \
 style_TestAddFlag(((self)), style_PassThru)
#define style_IsPassThruRemoved(self) \
 style_TestRemoveFlag(((self)), style_PassThru)
#define style_IsPassThruUnchange(self) \
 style_TestUseOldFlag(((self)), style_PassThru)
#define style_AddContinueIndent(self) \
 style_AddFlag(((self)), style_ContinueIndent)
#define style_RemoveContinueIndent(self) \
 style_RemoveFlag(((self)), style_ContinueIndent)
#define style_UseOldContinueIndent(self) \
 style_UseOldFlag(((self)), style_ContinueIndent)
#define style_IsContinueIndentAdded(self) \
 style_TestAddFlag(((self)), style_ContinueIndent)
#define style_IsContinueIndentRemoved(self) \
 style_TestRemoveFlag(((self)), style_ContinueIndent)
#define style_IsContinueIndentUnchange(self) \
 style_TestUseOldFlag(((self)), style_ContinueIndent)
#define style_AddChangeBar(self) \
 style_AddFlag(((self)), style_ChangeBar)
#define style_RemoveChangeBar(self) \
 style_RemoveFlag(((self)), style_ChangeBar)
#define style_UseOldChangeBar(self) \
 style_UseOldFlag(((self)), style_ChangeBar)
#define style_IsChangeBarAdded(self) \
 style_TestAddFlag(((self)), style_ChangeBar)
#define style_IsChangeBarRemoved(self) \
 style_TestRemoveFlag(((self)), style_ChangeBar)
#define style_IsChangeBarUnchange(self) \
 style_TestUseOldFlag(((self)), style_ChangeBar)
#define style_AddOverBar(self) \
 style_AddFlag(((self)), style_OverBar)
#define style_RemoveOverBar(self) \
 style_RemoveFlag(((self)), style_OverBar)
#define style_UseOldOverBar(self) \
 style_UseOldFlag(((self)), style_OverBar)
#define style_IsOverBarAdded(self) \
 style_TestAddFlag(((self)), style_OverBar)
#define style_IsOverBarRemoved(self) \
 style_TestRemoveFlag(((self)), style_OverBar)
#define style_IsOverBarUnchange(self) \
 style_TestUseOldFlag(((self)), style_OverBar)
#define style_AddDottedBox(self) \
 style_AddFlag(((self)), style_DottedBox)
#define style_RemoveDottedBox(self) \
 style_RemoveFlag(((self)), style_DottedBox)
#define style_UseOldDottedBox(self) \
 style_UseOldFlag(((self)), style_DottedBox)
#define style_IsDottedBoxAdded(self) \
 style_TestAddFlag(((self)), style_DottedBox)
#define style_IsDottedBoxRemoved(self) \
 style_TestRemoveFlag(((self)), style_DottedBox)
#define style_IsDottedBoxUnchange(self) \
 style_TestUseOldFlag(((self)), style_DottedBox)
#define style_AddStrikeThrough(self) \
 style_AddFlag(((self)), style_StrikeThrough)
#define style_RemoveStrikeThrough(self) \
 style_RemoveFlag(((self)), style_StrikeThrough)
#define style_UseOldStrikeThrough(self) \
 style_UseOldFlag(((self)), style_StrikeThrough)
#define style_IsStrikeThroughAdded(self) \
 style_TestAddFlag(((self)), style_StrikeThrough)
#define style_IsStrikeThroughRemoved(self) \
 style_TestRemoveFlag(((self)), style_StrikeThrough)
#define style_IsStrikeThroughUnchange(self) \
 style_TestUseOldFlag(((self)), style_StrikeThrough)
#define style_AddReadOnly(self) \
 style_AddFlag(((self)), style_ReadOnly)
#define style_RemoveReadOnly(self) \
 style_RemoveFlag(((self)), style_ReadOnly)
#define style_UseOldReadOnly(self) \
 style_UseOldFlag(((self)), style_ReadOnly)
#define style_IsReadOnlyAdded(self) \
 style_TestAddFlag(((self)), style_ReadOnly)
#define style_IsReadOnlyRemoved(self) \
 style_TestRemoveFlag(((self)), style_ReadOnly)
#define style_IsReadOnlyUnchange(self) \
 style_TestUseOldFlag(((self)), style_ReadOnly)
#define style_AddNoWrap(self) \
 style_AddFlag(((self)), style_NoWrap)
#define style_RemoveNoWrap(self) \
 style_RemoveFlag(((self)), style_NoWrap)
#define style_UseOldNoWrap(self) \
 style_UseOldFlag(((self)), style_NoWrap)
#define style_IsNoWrapAdded(self) \
 style_TestAddFlag(((self)), style_NoWrap)
#define style_IsNoWrapRemoved(self) \
 style_TestRemoveFlag(((self)), style_NoWrap)
#define style_IsNoWrapUnchange(self) \
 style_TestUseOldFlag(((self)), style_NoWrap)
#define style_AddNoFill(self) \
 style_AddFlag(((self)), style_NoFill)
#define style_RemoveNoFill(self) \
 style_RemoveFlag(((self)), style_NoFill)
#define style_UseOldNoFill(self) \
 style_UseOldFlag(((self)), style_NoFill)
#define style_IsNoFillAdded(self) \
 style_TestAddFlag(((self)), style_NoFill)
#define style_IsNoFillRemoved(self) \
 style_TestRemoveFlag(((self)), style_NoFill)
#define style_IsNoFillUnchange(self) \
 style_TestUseOldFlag(((self)), style_NoFill)
#define style_AddKeepPriorNL(self) \
 style_AddFlag(((self)), style_KeepPriorNL)
#define style_RemoveKeepPriorNL(self) \
 style_RemoveFlag(((self)), style_KeepPriorNL)
#define style_UseOldKeepPriorNL(self) \
 style_UseOldFlag(((self)), style_KeepPriorNL)
#define style_IsKeepPriorNLAdded(self) \
 style_TestAddFlag(((self)), style_KeepPriorNL)
#define style_IsKeepPriorNLRemoved(self) \
 style_TestRemoveFlag(((self)), style_KeepPriorNL)
#define style_IsKeepPriorNLUnchange(self) \
 style_TestUseOldFlag(((self)), style_KeepPriorNL)
#define style_AddKeepNextNL(self) \
 style_AddFlag(((self)), style_KeepNextNL)
#define style_RemoveKeepNextNL(self) \
 style_RemoveFlag(((self)), style_KeepNextNL)
#define style_UseOldKeepNextNL(self) \
 style_UseOldFlag(((self)), style_KeepNextNL)
#define style_IsKeepNextNLAdded(self) \
 style_TestAddFlag(((self)), style_KeepNextNL)
#define style_IsKeepNextNLRemoved(self) \
 style_TestRemoveFlag(((self)), style_KeepNextNL)
#define style_IsKeepNextNLUnchange(self) \
 style_TestUseOldFlag(((self)), style_KeepNextNL)
#define style_AddTabsCharacters(self) \
 style_AddFlag(((self)), style_TabsCharacters)
#define style_RemoveTabsCharacters(self) \
 style_RemoveFlag(((self)), style_TabsCharacters)
#define style_UseOldTabsCharacters(self) \
 style_UseOldFlag(((self)), style_TabsCharacters)
#define style_IsTabsCharactersAdded(self) \
 style_TestAddFlag(((self)), style_TabsCharacters)
#define style_IsTabsCharactersRemoved(self) \
 style_TestRemoveFlag(((self)), style_TabsCharacters)
#define style_IsTabsCharactersUnchange(self) \
 style_TestUseOldFlag(((self)), style_TabsCharacters)

#define style_NewFromObject(self) \
    ((* ((struct style * (*)())((self)->header.style_methods->info->procs->routines[0]))) (&style_classheader, (self)->header.style_methods->info->versionnumber))
#define style_New() \
    (*((struct style * (*)()) (style_CLASSPROCEDURES->routines[0])))(&style_classheader,style_VERSION)
#define style_Initialize(self) \
    (*((void (*)()) (style_CLASSPROCEDURES->routines[2])))(&style_classheader,self, style_VERSION)

#define style_Destroy(self) \
    ((* ((void (*)()) ((self)->header.style_methods->info->procs->routines[1]))) (&style_classheader, self))
#define style_Finalize(self) \
    (*((void (*)()) (style_CLASSPROCEDURES->routines[3])))(&style_classheader,self)

#define style_InitializeObject(self) \
    (*((boolean (*)()) (style_CLASSPROCEDURES->routines[5])))(&style_classheader,self)
#define style_FinalizeObject(self) \
    (*((void (*)()) (style_CLASSPROCEDURES->routines[6])))(&style_classheader,self)


#endif /* !defined(style_ROUTINESDEFINED) && !defined(dontDefineRoutinesFor_style ) && !defined(class_StaticEntriesOnly)*/

