Defines | Functions

ap_Dialog_FormatFrame.cpp File Reference

#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include "ap_Features.h"
#include "ut_assert.h"
#include "ut_string.h"
#include "ut_std_string.h"
#include "ut_debugmsg.h"
#include "ut_locale.h"
#include "xap_App.h"
#include "xap_Dialog_Id.h"
#include "xap_DialogFactory.h"
#include "xap_Dlg_MessageBox.h"
#include "fv_View.h"
#include "pd_Document.h"
#include "pt_Types.h"
#include "fp_Line.h"
#include "fp_Run.h"
#include "fp_ContainerObject.h"
#include "fp_FrameContainer.h"
#include "fp_TableContainer.h"
#include "fl_TableLayout.h"
#include "fl_BlockLayout.h"
#include "fl_DocLayout.h"
#include "ut_timer.h"
#include "fg_GraphicRaster.h"
#include "fg_GraphicVector.h"
#include "ap_Dialog_FormatFrame.h"
#include "ap_Strings.h"
#include "ut_png.h"
#include "gr_Painter.h"

Defines

#define REPLACE_CELL_PROPERTY(X)

Functions

static UT_UTF8String s_canonical_thickness (float thickness)
static UT_UTF8String s_canonical_thickness (const UT_UTF8String &sThickness, float &thickness)

Define Documentation

#define REPLACE_CELL_PROPERTY (   X  ) 
Value:
do { \
        const gchar * prop = 0; \
        if (pAP->getProperty(X, prop)) \
            PP_addOrSetAttribute(X, prop, m_vecProps); \
        else \
            PP_removeAttribute(X, m_vecProps);   \
    } while (0)

Referenced by AP_Dialog_FormatFrame::setCurFrameProps().


Function Documentation

static UT_UTF8String s_canonical_thickness ( float  thickness  )  [static]
static UT_UTF8String s_canonical_thickness ( const UT_UTF8String sThickness,
float &  thickness 
) [static]