#include "ut_types.h"
#include "ut_misc.h"
#include "ut_assert.h"
#include "ut_debugmsg.h"
#include "ut_growbuf.h"
#include "pt_PieceTable.h"
#include "pf_Frag.h"
#include "pf_Frag_FmtMark.h"
#include "pf_Frag_Object.h"
#include "pf_Frag_Strux.h"
#include "pf_Frag_Strux_Block.h"
#include "pf_Frag_Strux_Section.h"
#include "pf_Frag_Text.h"
#include "pf_Fragments.h"
#include "px_ChangeRecord.h"
#include "px_CR_FmtMark.h"
#include "px_CR_FmtMarkChange.h"
#include "px_CR_Object.h"
#include "px_CR_ObjectChange.h"
#include "px_CR_Span.h"
#include "px_CR_SpanChange.h"
#include "px_CR_Strux.h"
#include "px_CR_StruxChange.h"
#include "px_CR_Glob.h"
#include "fd_Field.h"
Defines | |
#define | DONE() (bUndo ? m_history.didUndo() : m_history.didRedo()); |
#define | UNDO_return_val_if_fail(cond, val) if (!(cond)) { UT_ASSERT(cond); m_bDoingTheDo = false; return (val); } |
#define | GETGLOBFLAGS(pcr) |
#define | GETREVGLOBFLAGS(pcr) |
#define DONE | ( | ) | (bUndo ? m_history.didUndo() : m_history.didRedo()); |
Referenced by pt_PieceTable::_doTheDo().
#define GETGLOBFLAGS | ( | pcr | ) |
( (pcr->getType() == PX_ChangeRecord::PXT_GlobMarker) \ ? static_cast<PX_ChangeRecord_Glob *>(pcr)->getFlags() \ : static_cast<UT_Byte>(PX_ChangeRecord_Glob::PXF_Null))
Referenced by pt_PieceTable::redoCmd(), and pt_PieceTable::undoCmd().
#define GETREVGLOBFLAGS | ( | pcr | ) |
( (pcr->getType() == PX_ChangeRecord::PXT_GlobMarker) \ ? static_cast<PX_ChangeRecord_Glob *>(pcr)->getRevFlags() \ : static_cast<UT_Byte>(PX_ChangeRecord_Glob::PXF_Null))
Referenced by pt_PieceTable::redoCmd().
#define UNDO_return_val_if_fail | ( | cond, | ||
val | ||||
) | if (!(cond)) { UT_ASSERT(cond); m_bDoingTheDo = false; return (val); } |
Referenced by pt_PieceTable::_doTheDo().