Class: OnlyofficeDocumentserverTestingFramework::DocEditorTopToolbar

Inherits:
Object
  • Object
show all
Defined in:
lib/onlyoffice_documentserver_testing_framework/test_instance_docs/doc_editor/doc_editor_top_toolbar.rb

Overview

Top Toolbar of Doc Editor

Instance Method Summary collapse

Constructor Details

#initialize(instance) ⇒ DocEditorTopToolbar

Returns a new instance of DocEditorTopToolbar.



11
12
13
# File 'lib/onlyoffice_documentserver_testing_framework/test_instance_docs/doc_editor/doc_editor_top_toolbar.rb', line 11

def initialize(instance)
  @instance = instance
end

Instance Method Details

#home_tabHomeTab

Returns home tab.

Returns:



31
32
33
# File 'lib/onlyoffice_documentserver_testing_framework/test_instance_docs/doc_editor/doc_editor_top_toolbar.rb', line 31

def home_tab
  @home_tab ||= HomeTab.new(@instance)
end

#title_rowTitleRow

Returns class for methods in title row.

Returns:

  • (TitleRow)

    class for methods in title row



16
17
18
# File 'lib/onlyoffice_documentserver_testing_framework/test_instance_docs/doc_editor/doc_editor_top_toolbar.rb', line 16

def title_row
  @title_row ||= TitleRow.new(@instance)
end

#top_toolbarTopToolbarDocument

Returns more top toolbar data of document.

Returns:



26
27
28
# File 'lib/onlyoffice_documentserver_testing_framework/test_instance_docs/doc_editor/doc_editor_top_toolbar.rb', line 26

def top_toolbar
  @top_toolbar = TopToolbarDocument.new(@instance)
end

#usersTopToolbarUsers

Returns icon for top toolbar users.

Returns:



21
22
23
# File 'lib/onlyoffice_documentserver_testing_framework/test_instance_docs/doc_editor/doc_editor_top_toolbar.rb', line 21

def users
  @users ||= TopToolbarUsers.new(@instance)
end