IDocumentUndoRedo.hxx (1d2dbeb0) IDocumentUndoRedo.hxx (89358e0f)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 146 unchanged lines hidden (view full) ---

155 virtual SwUndoComments_t GetUndoComments() const = 0;
156
157 /** Execute Redo.
158
159 @return true if executing the first Redo action was successful.
160 */
161 virtual sal_Bool Redo() = 0;
162
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 146 unchanged lines hidden (view full) ---

155 virtual SwUndoComments_t GetUndoComments() const = 0;
156
157 /** Execute Redo.
158
159 @return true if executing the first Redo action was successful.
160 */
161 virtual sal_Bool Redo() = 0;
162
163 /** Get comment of first Redo action.
163 /** Get Id and comment of first Redo action.
164 @param o_pStr if not 0, receives comment of first Redo action.
164 @param o_pStr if not 0, receives comment of first Redo action.
165 @param o_pId if not 0, receives Id of first Redo action.
165 @return true if there is a Redo action, false if none
166 */
166 @return true if there is a Redo action, false if none
167 */
167 virtual bool GetFirstRedoInfo(::rtl::OUString *const o_pStr) const = 0;
168 virtual bool GetFirstRedoInfo(::rtl::OUString *const o_pStr,
169 SwUndoId *const o_pId = 0) const = 0;
168
169 /** Get comments of Redo actions.
170 @return comments of all top-level Redo actions.
171 */
172 virtual SwUndoComments_t GetRedoComments() const = 0;
173
174 /** Repeat the last Undo action.
175 @return true if repeating the last Undo Redo action was attempted.

--- 104 unchanged lines hidden ---
170
171 /** Get comments of Redo actions.
172 @return comments of all top-level Redo actions.
173 */
174 virtual SwUndoComments_t GetRedoComments() const = 0;
175
176 /** Repeat the last Undo action.
177 @return true if repeating the last Undo Redo action was attempted.

--- 104 unchanged lines hidden ---