class SwGrfNode; class SwUndoDelete; class SwUndoFormatAttr; class SwDoc; namespace sw { class DocumentContentOperationsManager; } enumclass MirrorGraph;
/// Typing one or more characters to a single paragraph. class SwUndoInsert final : public SwUndo, private SwUndoSaveContent
{ /// start of Content in UndoNodes for Redo
std::optional<SwNodeIndex> m_oUndoNodeIndex;
std::optional<OUString> maText;
std::optional<OUString> maUndoText;
std::unique_ptr<SwRedlineData> m_pRedlData;
SwNodeOffset m_nNode;
sal_Int32 m_nContent, m_nLen; bool m_bIsWordDelim : 1; bool m_bIsAppend : 1; bool m_bWithRsid : 1;
const SwInsertFlags m_nInsertFlags;
friendclass ::sw::DocumentContentOperationsManager; // actually only DocumentContentOperationsManager::InsertString, because it uses CanGrouping bool CanGrouping( sal_Unicode cIns ); bool CanGrouping( const SwPosition& rPos );
private: class Impl;
std::unique_ptr<Impl> m_pImpl;
};
/// Handles the undo/redo of the 'Replace...' context menu item for an image. class SwUndoReRead final : public SwUndo
{
std::optional<Graphic> moGraphic;
std::optional<OUString> maNm;
std::optional<OUString> maFltr;
SwNodeOffset mnPosition;
MirrorGraph mnMirror;
class SwUndoInsertLabel final : public SwUndo
{ union { struct { // for NoTextFrames
SwUndoInsLayFormat* pUndoFly;
SwUndoFormatAttr* pUndoAttr;
} OBJECT; struct { // for tables or TextFrames
SwUndoDelete* pUndoInsNd;
SwNodeOffset nNode;
} NODE;
};
OUString m_sText; // #i39983# the separator is drawn with a character style
OUString m_sSeparator;
OUString m_sNumberSeparator;
UIName m_sCharacterStyle; // #i26791# - re-store of drawing object position no longer needed
sal_uInt16 m_nFieldId;
SwLabelType m_eType;
SdrLayerID m_nLayerId; // for character objects bool m_bBefore :1; bool m_bUndoKeep :1; bool m_bCopyBorder :1;
public:
SwUndoInsertLabel( const SwLabelType eTyp, OUString rText, // #i39983# the separator is drawn with a character style
OUString aSeparator,
OUString aNumberSeparator, //#i61007# order of captions constbool bBefore, const sal_uInt16 nId,
UIName aCharacterStyle, constbool bCpyBrd, const SwDoc& rDoc ); virtual ~SwUndoInsertLabel() override;
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.