#include <stdlib.h>
#include <stdio.h>
#include "ap_Features.h"
#include "ut_debugmsg.h"
#include "ut_assert.h"
#include "ut_types.h"
#include "ut_string.h"
#include "xap_App.h"
#include "xap_Preview.h"
#include "ap_Preview_Paragraph.h"
#include "ap_Strings.h"
#include "ap_Dialog_Lists.h"
#include "gr_Painter.h"
Defines | |
#define | DEFAULT_TOP_MARGIN m_gc->tlu(5) |
#define | DEFAULT_LEFT_STOP m_gc->tlu(20) |
#define | DEFAULT_RIGHT_STOP m_gc->tlu(20) |
#define | DEFAULT_BEFORE_SPACING 0 |
#define | DEFAULT_AFTER_SPACING 0 |
#define | DEFAULT_LINE_SPACING 0 |
#define | DIMENSION_INCH_SCALE_FACTOR 36 |
#define | STORE_CONVERTED(m, v) if (v) m = (UT_uint32) (UT_convertToInches(v) * (double) DIMENSION_INCH_SCALE_FACTOR); |
#define | SCALE_TO_PIXELS(s) ((UT_uint32) (UT_convertToInches(s) * (double) DIMENSION_INCH_SCALE_FACTOR)) |
#define DEFAULT_AFTER_SPACING 0 |
#define DEFAULT_BEFORE_SPACING 0 |
#define DEFAULT_LEFT_STOP m_gc->tlu(20) |
#define DEFAULT_LINE_SPACING 0 |
#define DEFAULT_RIGHT_STOP m_gc->tlu(20) |
#define DEFAULT_TOP_MARGIN m_gc->tlu(5) |
#define DIMENSION_INCH_SCALE_FACTOR 36 |
#define SCALE_TO_PIXELS | ( | s | ) | ((UT_uint32) (UT_convertToInches(s) * (double) DIMENSION_INCH_SCALE_FACTOR)) |
Referenced by AP_Preview_Paragraph_Block::setFormat().
#define STORE_CONVERTED | ( | m, | ||
v | ||||
) | if (v) m = (UT_uint32) (UT_convertToInches(v) * (double) DIMENSION_INCH_SCALE_FACTOR); |
Referenced by AP_Preview_Paragraph_Block::setFormat().