예제 #1
0
PX_ChangeRecord * PX_ChangeRecord_FmtMark::reverse(void) const
{
	PX_ChangeRecord_FmtMark * pcr
		= new PX_ChangeRecord_FmtMark(getRevType(),m_position,m_indexAP,m_blockOffset);
	UT_ASSERT_HARMLESS(pcr);
	return pcr;
}
예제 #2
0
PX_ChangeRecord * PX_ChangeRecord_DocProp::reverse(void) const
{
	PX_ChangeRecord_DocProp * pcr
		= new PX_ChangeRecord_DocProp(getRevType(),m_position,m_indexAP,getXID());
	UT_ASSERT_HARMLESS(pcr);
	return pcr;
}
PX_ChangeRecord * PX_ChangeRecord_Strux::reverse(void) const
{
	PX_ChangeRecord_Strux * pcr
		= new PX_ChangeRecord_Strux(getRevType(),m_position,m_indexAP,getXID(),m_struxType);
	UT_ASSERT_HARMLESS(pcr);
	return pcr;
}
예제 #4
0
PX_ChangeRecord * PX_ChangeRecord_Glob::reverse(void) const
{
	PX_ChangeRecord_Glob * pcr
		= new PX_ChangeRecord_Glob(getRevType(),getRevFlags());

	UT_ASSERT_HARMLESS(pcr);
	return pcr;
}
예제 #5
0
PX_ChangeRecord * PX_ChangeRecord_Span::reverse(void) const
{
	PX_ChangeRecord_Span * pcr
		= new PX_ChangeRecord_Span(getRevType(),m_position,m_indexAP,
								   m_bufIndex,m_length,m_blockOffset,
                                   m_pField);
	UT_ASSERT_HARMLESS(pcr);
	return pcr;
}
예제 #6
0
/*!
  Create reverse change record of this one
  \return Reverse change record
*/
PX_ChangeRecord * PX_ChangeRecord::reverse(void) const
{
	PX_ChangeRecord * pcr = new PX_ChangeRecord(getRevType(),
												m_position,
												m_indexAP,
												m_iXID);
	UT_ASSERT_HARMLESS(pcr);
	pcr->setAdjustment( m_iAdjust);
	return pcr;
}
예제 #7
0
PX_ChangeRecord * PX_ChangeRecord_SpanChange::reverse(void) const
{
	PX_ChangeRecord_SpanChange * pcr
		= new PX_ChangeRecord_SpanChange(getRevType(),
										 m_position,
										 m_indexAP,m_indexOldAP,
										 m_bufIndex,m_length,m_blockOffset,m_bRevisionDelete);
	UT_ASSERT_HARMLESS(pcr);
	return pcr;
}