LibreOffice Module svx (master) 1
Public Types | Static Public Member Functions | List of all members
ActionDescriptionProvider Class Reference

This class provides localized descriptions for some basic actions done with objects. More...

#include <ActionDescriptionProvider.hxx>

Public Types

enum class  ActionType {
  Insert ,
  Delete ,
  Move ,
  Resize ,
  Rotate ,
  Format ,
  MoveToTop ,
  MoveToBottom ,
  PosSize
}
 

Static Public Member Functions

static OUString createDescription (ActionType eActionType, std::u16string_view rObjectName)
 

Detailed Description

This class provides localized descriptions for some basic actions done with objects.

The strings are intended to be provided to the user e.g. as description for undo actions in the menu. The name of the object acted on and the type of action needs to be given as input parameter.

Definition at line 32 of file ActionDescriptionProvider.hxx.

Member Enumeration Documentation

◆ ActionType

Enumerator
Insert 
Delete 
Move 
Resize 
Rotate 
Format 
MoveToTop 
MoveToBottom 
PosSize 

Definition at line 35 of file ActionDescriptionProvider.hxx.

Member Function Documentation

◆ createDescription()

OUString ActionDescriptionProvider::createDescription ( ActionType  eActionType,
std::u16string_view  rObjectName 
)
static

The documentation for this class was generated from the following files: