Class CalcKeyCodes

class odevgui_win.keys.calc_key_codes.CalcKeyCodes[source]

Bases: GeneralKeyCodes

Some Calc Key Codes

These key code only work if Calc main menu is active (visible).

One way around this issue is to use ooodev.utils.gui.GUI.show_menu_bar() to ensure menu bar is visible.

from ooodev.utils.gui import GUI
GUI.show_memu_bar()

See also

Class RobotKeys

EDIT_CELL_EDIT_MODE = '{VK_MENU down}e{VK_MENU up}{VK_MENU down}m{VK_MENU up}'

Edit > Cell Edit Mode

EDIT_CELL_PROTECTION = '{VK_MENU down}e{VK_MENU up}{VK_MENU down}n{VK_MENU up}'

Edit > Cell Protection

FILE_PREVIEW_BROWSER = '{VK_MENU down}f{VK_MENU up}{VK_MENU down}b{VK_MENU up}'

File > Preview in web broswer

FORMAT_CAP_EVERY_WORD = '{VK_MENU down}o{VK_MENU up}{VK_MENU down}x{VK_MENU up}{VK_MENU down}c{VK_MENU up}'

Format > Text > Captalizie every word

FORMAT_CYCLE_CASE = '{VK_MENU down}o{VK_MENU up}{VK_MENU down}x{VK_MENU up}{VK_MENU down}y{VK_MENU up}'

Format > Text Cycle Case

FORMAT_DOUBLE_UNDERLINE = '{VK_MENU down}o{VK_MENU up}{VK_MENU down}x{VK_MENU up}{VK_MENU down}d{VK_MENU up}'

Format > Text > Double Underline

FORMAT_LOWERCASE = '{VK_MENU down}o{VK_MENU up}{VK_MENU down}x{VK_MENU up}{VK_MENU down}l{VK_MENU up}'

Format > Text > lowercase

FORMAT_OUTLINE_FONT = '{VK_MENU down}o{VK_MENU up}{VK_MENU down}x{VK_MENU up}{VK_MENU down}f{VK_MENU up}'

Format > Text > Outline Font Effect

FORMAT_OVERLINE = '{VK_MENU down}o{VK_MENU up}{VK_MENU down}x{VK_MENU up}{VK_MENU down}v{VK_MENU up}'

Format > Text > Overline

FORMAT_SENTENCE_CASE = '{VK_MENU down}o{VK_MENU up}{VK_MENU down}x{VK_MENU up}{VK_MENU down}s{VK_MENU up}'

Format > Text > Sentence Case

FORMAT_SHADOW = '{VK_MENU down}o{VK_MENU up}{VK_MENU down}x{VK_MENU up}{VK_MENU down}w{VK_MENU up}'

Format > Text > Shadow

FORMAT_SINGLE_UNDERLINE = '{VK_MENU down}o{VK_MENU up}{VK_MENU down}x{VK_MENU up}{VK_MENU down}g{VK_MENU up}'

Format > Text > Single Underline

FORMAT_STRIKE_THROUGH = '{VK_MENU down}o{VK_MENU up}{VK_MENU down}x{VK_MENU up}{VK_MENU down}o{VK_MENU up}'

Format > Text >Strickthrough

FORMAT_TOGGLE_CASE = '{VK_MENU down}o{VK_MENU up}{VK_MENU down}x{VK_MENU up}{VK_MENU down}t{VK_MENU up}'

Format > Text > tOGGLE cASE

FORMAT_UPPERCASE = '{VK_MENU down}o{VK_MENU up}{VK_MENU down}x{VK_MENU up}{VK_MENU down}u{VK_MENU up}'

format > Text > UPPERCASE

FORMAT_WRAP_TEXT = '{VK_MENU down}o{VK_MENU up}{VK_MENU down}x{VK_MENU up}{VK_MENU down}x{VK_MENU up}'

Format > Text > Wrap Text

KB_ALIGN_CENTER = '{VK_CONTROL down}E{VK_CONTROL up}'

Align Text Center via keyboard shortcut

KB_ALIGN_JUSTIFIED = '{VK_CONTROL down}J{VK_CONTROL up}'

Align Text Justified via keyboard shortcut

KB_ALIGN_LEFT = '{VK_CONTROL down}L{VK_CONTROL up}'

Align Text Left via keyboard shortcut

KB_ALIGN_RIGHT = '{VK_CONTROL down}R{VK_CONTROL up}'

Align Text Right via keyboard shortcut

KB_BOLD = '{VK_CONTROL down}B{VK_CONTROL up}'

Format Bold via keyboard shortcut

KB_CELL_EDIT_MODE = '{F2}'

Edit > Cell Edit Mode

KB_CLEAR_DIRECT = '{VK_CONTROL down}M{VK_CONTROL up}'

Format Clear Direct via keyboard shortcut

KB_COPY = '{VK_CONTROL down}C{VK_CONTROL up}'

Copy via keyboard shortcut

KB_CUT = '{VK_CONTROL down}X{VK_CONTROL up}'

Cut via keyboard shortcut

KB_CYCLE_CASE = '{VK_SHIFT down}{F3}{VK_SHIFT up}'

Text Cycle Case via keyboard shortcut

KB_DATA_SOURCES = '{VK_CONTROL down}{VK_SHIFT down}{F4}{VK_CONTROL up}{VK_SHIFT up}'

Data Sources via keyboard shortcut

KB_EXIT = '{VK_CONTROL down}Q{VK_CONTROL up}'

Exit via keyboard shortcut

KB_FORMULA = '{VK_CONTROL down}`{VK_CONTROL up}'

Show Formula via keyboard shortcut

KB_ITALIC = '{VK_CONTROL down}I{VK_CONTROL up}'

Format Italic via keyboard shortcut

KB_MANAGE_STYLES = '{F11}'

Manage Styles via keyboard shortcut

KB_NAVIGATOR = '{F5}'

Navigator via keyboard shortcut

KB_PASTE = '{VK_CONTROL down}V{VK_CONTROL up}'

Paste via keyboard shortcut

KB_PASTE_UNFORMATTED_TEXT = '{VK_CONTROL down}{VK_MENU down}{VK_SHIFT down}V{VK_CONTROL up}{VK_MENU up}{VK_SHIFT up}'

Paste Unformatted Text via keyboard shortcut

KB_PRINT = '{VK_CONTROL down}P{VK_CONTROL up}'

Print via keyboard shortcut

KB_PRINT_PREVIEW = '{VK_CONTROL down}{VK_SHIFT down}O{VK_CONTROL up}{VK_SHIFT up}'

Print Preview via keyboard shortcut

KB_REDO = '{VK_CONTROL down}Y{VK_CONTROL up}'

Redo via keyboard shortcut

KB_SAVE = '{VK_CONTROL down}S{VK_CONTROL up}'

Save via keyboard shortcut

KB_SELECT_ALL = '{VK_CONTROL down}A{VK_CONTROL up}'

Select All via keyboard shortcut

KB_SIDE_BAR = '{VK_CONTROL down}{F5}{VK_CONTROL up}'

Toggle Sidebar via keyboard shortcut

KB_STYLES = '{F11}'

Toggle Styles via keyboard shortcut

KB_UNDERLINE = '{VK_CONTROL down}U{VK_CONTROL up}'

Format Underline via keyboard shortcut

KB_UNDO = '{VK_CONTROL down}Z{VK_CONTROL up}'

Undo via keyboard shortcut

KB_VALUE_HIGH_LIGHTING = '{VK_CONTROL down}{F8}{VK_CONTROL up}'

Value Hightlighting via keyboard shortcut

STYLES_ACCENT1 = '{VK_MENU down}y{VK_MENU up}{VK_MENU down}a{VK_MENU up}'

Sytyes > Accent 1

STYLES_ACCENT2 = '{VK_MENU down}y{VK_MENU up}{VK_MENU down}2{VK_MENU up}'

Sytyes > Accent 2

STYLES_ACCENT3 = '{VK_MENU down}y{VK_MENU up}{VK_MENU down}3{VK_MENU up}'

Sytyes > Accent 3

STYLES_BAD = '{VK_MENU down}y{VK_MENU up}{VK_MENU down}b{VK_MENU up}'

Syles > Bad

STYLES_DEFAULT = '{VK_MENU down}y{VK_MENU up}{VK_MENU down}d{VK_MENU up}'

Styles > Defalut

STYLES_ERROR = '{VK_MENU down}y{VK_MENU up}{VK_MENU down}e{VK_MENU up}'

Syles > Error

STYLES_FOOTNOTE = '{VK_MENU down}y{VK_MENU up}{VK_MENU down}f{VK_MENU up}'

Syles > Footnote

STYLES_GOOD = '{VK_MENU down}y{VK_MENU up}{VK_MENU down}g{VK_MENU up}'

Syles > Good

STYLES_HEADING1 = '{VK_MENU down}y{VK_MENU up}{VK_MENU down}h{VK_MENU up}'

Sytyes > Headding 1

STYLES_HEADING2 = '{VK_MENU down}y{VK_MENU up}{VK_MENU down}i{VK_MENU up}'

Sytyes > Headding 2

STYLES_MANAGE_STYLES = '{VK_MENU down}y{VK_MENU up}{VK_MENU down}y{VK_MENU up}'

Styles > Manage Styles

STYLES_NEUTRAL = '{VK_MENU down}y{VK_MENU up}{VK_MENU down}l{VK_MENU up}'

Syles > Neutral

STYLES_NOTE = '{VK_MENU down}y{VK_MENU up}{VK_MENU down}o{VK_MENU up}'

Syles > Note

STYLES_WARNING = '{VK_MENU down}y{VK_MENU up}{VK_MENU down}w{VK_MENU up}'

Syles > Warning

TOGGLE_DATA_SOURCES = '{VK_MENU down}v{VK_MENU up}{VK_MENU down}d{VK_MENU up}'

View > Data Sources

TOGGLE_DEVELOPER_TOOLS = '{VK_MENU down}t{VK_MENU up}{VK_MENU down}p{VK_MENU up}'

Tools > Developers Toolbar

TOGGLE_FORMULA = '{VK_MENU down}v{VK_MENU up}{VK_MENU down}o{VK_MENU up}'

View > Show Formula

TOGGLE_FORMULA_BAR = '{VK_MENU down}v{VK_MENU up}{VK_MENU down}f{VK_MENU up}'

View > Formula Bar

TOGGLE_FREEZE_ROWS_COLS = '{VK_MENU down}v{VK_MENU up}{VK_MENU down}r{VK_MENU up}'

View > Freeze Rows and Columns

TOGGLE_FULL_SCREEN = '{VK_CONTROL down}{VK_SHIFT down}j{VK_CONTROL up}{VK_SHIFT up}'

View > Full Screen

View > Gallery

TOGGLE_GRID_LINES = '{VK_MENU down}v{VK_MENU up}{VK_MENU down}l{VK_MENU up}'

View > View Grid Lines

TOGGLE_NAVIGATOR = '{VK_MENU down}v{VK_MENU up}{VK_MENU down}v{VK_MENU up}'

View > Navigator

TOGGLE_SIDE_BAR = '{VK_MENU down}v{VK_MENU up}{VK_MENU down}a{VK_MENU up}'

View > Sidebar

TOGGLE_SPLIT_WINDOW = '{VK_MENU down}v{VK_MENU up}{VK_MENU down}s{VK_MENU up}'

View > Split Window

TOGGLE_STATUS_BAR = '{VK_MENU down}v{VK_MENU up}{VK_MENU down}b{VK_MENU up}'

View > Status Bar

TOGGLE_STYLES = '{VK_MENU down}v{VK_MENU up}{VK_MENU down}y{VK_MENU up}'

View > Styles

TOGGLE_VALUE_HIGH_LIGHTING = '{VK_MENU down}v{VK_MENU up}{VK_MENU down}h{VK_MENU up}'

View > Value Hightlighting

VIEW_FREEZE_FIRST_COL = '{VK_MENU down}v{VK_MENU up}{VK_MENU down}c{VK_MENU up}{VK_MENU down}f{VK_MENU up}'

View > Freeze Cells > Freeze First Column

VIEW_FREEZE_FIRST_ROW = '{VK_MENU down}v{VK_MENU up}{VK_MENU down}c{VK_MENU up}{VK_MENU down}r{VK_MENU up}'

View > Freeze Cells > Freeze First Row

VIEW_FUNCTION_LIST = '{VK_MENU down}v{VK_MENU up}{VK_MENU down}u{VK_MENU up}{ENTER}'

View > Function List

VIEW_NORMAL = '{VK_MENU down}v{VK_MENU up}{VK_MENU down}n{VK_MENU up}'

View > Normal

VIEW_PAGE_BREAK = '{VK_MENU down}v{VK_MENU up}{VK_MENU down}p{VK_MENU up}'

View > Page Break