1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46
|
/************************************************************************/
/* */
/* Positioned Objects and Frames */
/* */
/************************************************************************/
# include "tedConfig.h"
# include <stdlib.h>
# include <string.h>
# include <stdio.h>
# include <appDebugon.h>
# include "docFrameProperties.h"
/************************************************************************/
/* */
/* Manage text frame properties. */
/* */
/************************************************************************/
void docInitTextFrameProperties( TextFrameProperties * tfp )
{
tfp->tfpFrameWidthTwips= 0;
tfp->tfpFrameHeightTwips= 0;
tfp->tfpFrameXTwips= 0;
tfp->tfpFrameYTwips= 0;
tfp->tfpDistanceFromTextTwips= 0;
tfp->tfpHorDistanceFromTextTwips= 0;
tfp->tfpVerDistanceFromTextTwips= 0;
tfp->tfpHorizontalFrameReference= HFRphCOL;
tfp->tfpHorizontalFrameAlignment= HFAposXL;
tfp->tfpVerticalFrameReference= VFRpvMRG;
tfp->tfpVerticalFrameAlignment= VFAposYIL;
tfp->tfpFrameLockedToParagraph= 0;
tfp->tfpFrameWrapStyle= FWSwrapWRAP;
return;
}
|