#include "ODe_Style_List.h"
#include "ODe_Style_Style.h"
#include "ODe_ListLevelStyle.h"
#include "ODe_Common.h"
#include <pp_AttrProp.h>
#include <pt_Types.h>
#include <ut_locale.h>
#include <fl_BlockLayout.h>
#include <ctype.h>
Defines | |
#define | ODE_WRITE_STYLE_PROPS(pStyleProps) if (pStyleProps) { pStyleProps->write(output, subOffset); } |
#define | ODE_EQUAL_STYLE_PROPS(m_pProps) |
#define | ODE_IS_STYLE_PROPS_EMPTY(pStyleProps) |
#define | ODE_COPY_STYLE_PROPS(m_pStyleProps, StyleProps) |
#define ODE_COPY_STYLE_PROPS | ( | m_pStyleProps, | ||
StyleProps | ||||
) |
if (rStyle.m_pStyleProps) { \ if (m_pStyleProps == NULL) { \ m_pStyleProps = new StyleProps(); \ } \ *m_pStyleProps = *(rStyle.m_pStyleProps); \ } else { \ DELETEP(m_pStyleProps); \ }
Referenced by ODe_Style_Style::operator=().
#define ODE_EQUAL_STYLE_PROPS | ( | m_pProps | ) |
if (m_pProps == NULL && rStyle.m_pProps == NULL) { \ isEqual = true; \ } else if (m_pProps != NULL && rStyle.m_pProps != NULL) { \ isEqual = (*m_pProps) == (*rStyle.m_pProps); \ } else { \ isEqual = false; \ } \ if (!isEqual) {return false;}
Referenced by ODe_Style_Style::isEquivalentTo().
#define ODE_IS_STYLE_PROPS_EMPTY | ( | pStyleProps | ) |
if (pStyleProps) { \ if(!pStyleProps->isEmpty()) { return false; } \ }
Referenced by ODe_Style_Style::isEmpty().
#define ODE_WRITE_STYLE_PROPS | ( | pStyleProps | ) | if (pStyleProps) { pStyleProps->write(output, subOffset); } |
Referenced by ODe_Style_Style::write().