lib/roo/open_office.rb

Summary

Maintainability
F
5 days
Test Coverage

Method read_cells has a Cognitive Complexity of 90 (exceeds 5 allowed). Consider refactoring.
Open

    def read_cells(sheet = default_sheet)
      validate_sheet!(sheet)
      return if @cells_read[sheet]

      sheet_found = false
Severity: Minor
Found in lib/roo/open_office.rb - About 1 day to fix

Cognitive Complexity

Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

A method's cognitive complexity is based on a few simple rules:

  • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
  • Code is considered more complex for each "break in the linear flow of the code"
  • Code is considered more complex when "flow breaking structures are nested"

Further reading

File open_office.rb has 453 lines of code (exceeds 250 allowed). Consider refactoring.
Open

require 'date'
require 'nokogiri'
require 'cgi'
require 'zip/filesystem'
require 'roo/font'
Severity: Minor
Found in lib/roo/open_office.rb - About 6 hrs to fix

    Class OpenOffice has 32 methods (exceeds 20 allowed). Consider refactoring.
    Open

      class OpenOffice < Roo::Base
        extend Roo::Tempdir
    
        ERROR_MISSING_CONTENT_XML = 'file missing required content.xml'
        XPATH_FIND_TABLE_STYLES   = "//*[local-name()='automatic-styles']"
    Severity: Minor
    Found in lib/roo/open_office.rb - About 4 hrs to fix

      Method read_cells has 81 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

          def read_cells(sheet = default_sheet)
            validate_sheet!(sheet)
            return if @cells_read[sheet]
      
            sheet_found = false
      Severity: Major
      Found in lib/roo/open_office.rb - About 3 hrs to fix

        Method set_cell_values has a Cognitive Complexity of 21 (exceeds 5 allowed). Consider refactoring.
        Open

            def set_cell_values(sheet, x, y, i, v, value_type, formula, table_cell, str_v, style_name)
              key = [y, x + i]
              @cell_type[sheet] ||= {}
              @cell_type[sheet][key] = value_type.to_sym if value_type
              @formula[sheet] ||= {}
        Severity: Minor
        Found in lib/roo/open_office.rb - About 2 hrs to fix

        Cognitive Complexity

        Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

        A method's cognitive complexity is based on a few simple rules:

        • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
        • Code is considered more complex for each "break in the linear flow of the code"
        • Code is considered more complex when "flow breaking structures are nested"

        Further reading

        Method perform_decryption has 44 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

            def perform_decryption(
              encryption_data,
              password,
              content_entry,
              roo_content_xml_path
        Severity: Minor
        Found in lib/roo/open_office.rb - About 1 hr to fix

          Method set_cell_values has 38 lines of code (exceeds 25 allowed). Consider refactoring.
          Open

              def set_cell_values(sheet, x, y, i, v, value_type, formula, table_cell, str_v, style_name)
                key = [y, x + i]
                @cell_type[sheet] ||= {}
                @cell_type[sheet][key] = value_type.to_sym if value_type
                @formula[sheet] ||= {}
          Severity: Minor
          Found in lib/roo/open_office.rb - About 1 hr to fix

            Method decrypt has a Cognitive Complexity of 11 (exceeds 5 allowed). Consider refactoring.
            Open

                def decrypt(content_entry, cipher)
                  # Zip::Entry.extract writes a 0-length file when trying
                  # to extract an encrypted stream, so we read the
                  # raw bytes based on the offset and lengths
                  decrypted = ''
            Severity: Minor
            Found in lib/roo/open_office.rb - About 1 hr to fix

            Cognitive Complexity

            Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

            A method's cognitive complexity is based on a few simple rules:

            • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
            • Code is considered more complex for each "break in the linear flow of the code"
            • Code is considered more complex when "flow breaking structures are nested"

            Further reading

            Method set_cell_values has 10 arguments (exceeds 4 allowed). Consider refactoring.
            Open

                def set_cell_values(sheet, x, y, i, v, value_type, formula, table_cell, str_v, style_name)
            Severity: Major
            Found in lib/roo/open_office.rb - About 1 hr to fix

              Method initialize has a Cognitive Complexity of 9 (exceeds 5 allowed). Consider refactoring.
              Open

                  def initialize(filename, options = {})
                    packed       = options[:packed]
                    file_warning = options[:file_warning] || :error
              
                    @only_visible_sheets = options[:only_visible_sheets]
              Severity: Minor
              Found in lib/roo/open_office.rb - About 55 mins to fix

              Cognitive Complexity

              Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

              A method's cognitive complexity is based on a few simple rules:

              • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
              • Code is considered more complex for each "break in the linear flow of the code"
              • Code is considered more complex when "flow breaking structures are nested"

              Further reading

              Method decrypt_if_necessary has a Cognitive Complexity of 9 (exceeds 5 allowed). Consider refactoring.
              Open

                  def decrypt_if_necessary(
                    zip_file,
                    content_entry,
                    roo_content_xml_path, options
                  )
              Severity: Minor
              Found in lib/roo/open_office.rb - About 55 mins to fix

              Cognitive Complexity

              Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

              A method's cognitive complexity is based on a few simple rules:

              • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
              • Code is considered more complex for each "break in the linear flow of the code"
              • Code is considered more complex when "flow breaking structures are nested"

              Further reading

              Method read_table_styles has a Cognitive Complexity of 9 (exceeds 5 allowed). Consider refactoring.
              Open

                  def read_table_styles(styles)
                    styles.children.each do |style|
                      next unless style.name == 'style'
                      style_name = attribute(style, 'name')
                      style.children.each do |properties|
              Severity: Minor
              Found in lib/roo/open_office.rb - About 55 mins to fix

              Cognitive Complexity

              Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

              A method's cognitive complexity is based on a few simple rules:

              • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
              • Code is considered more complex for each "break in the linear flow of the code"
              • Code is considered more complex when "flow breaking structures are nested"

              Further reading

              Method perform_decryption has a Cognitive Complexity of 8 (exceeds 5 allowed). Consider refactoring.
              Open

                  def perform_decryption(
                    encryption_data,
                    password,
                    content_entry,
                    roo_content_xml_path
              Severity: Minor
              Found in lib/roo/open_office.rb - About 45 mins to fix

              Cognitive Complexity

              Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

              A method's cognitive complexity is based on a few simple rules:

              • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
              • Code is considered more complex for each "break in the linear flow of the code"
              • Code is considered more complex when "flow breaking structures are nested"

              Further reading

              Method children_to_string has a Cognitive Complexity of 8 (exceeds 5 allowed). Consider refactoring.
              Open

                  def children_to_string(children)
                    children.map do |child|
                      if child.text?
                        child.content
                      else
              Severity: Minor
              Found in lib/roo/open_office.rb - About 45 mins to fix

              Cognitive Complexity

              Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

              A method's cognitive complexity is based on a few simple rules:

              • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
              • Code is considered more complex for each "break in the linear flow of the code"
              • Code is considered more complex when "flow breaking structures are nested"

              Further reading

              TODO found
              Open

                    # TODO: @cells_read[:default] = false
              Severity: Minor
              Found in lib/roo/open_office.rb by fixme

              FIXME found
              Open

                  # FIXME: add a test for compressed_spaces == 0. It's not currently tested.
              Severity: Minor
              Found in lib/roo/open_office.rb by fixme

              TODO found
              Open

                      # TODO: if table_cell.attributes['date-value'].size != "XXXX-XX-XX".size
              Severity: Minor
              Found in lib/roo/open_office.rb by fixme

              Missing space after #.
              Open

                                      str_v += child.content #.text
              Severity: Minor
              Found in lib/roo/open_office.rb by rubocop

              This cop checks whether comments have a leading space after the # denoting the start of the comment. The leading space is not required for some RDoc special syntax, like #++, #--, #:nodoc, =begin- and =end comments, "shebang" directives, or rackup options.

              Example:

              # bad
              #Some comment
              
              # good
              # Some comment

              Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.
              Open

                      roo_manifest_xml_path = File.join(@tmpdir, 'roo_manifest.xml')
              Severity: Minor
              Found in lib/roo/open_office.rb by rubocop

              Checks if uses of quotes match the configured preference.

              Example: EnforcedStyle: single_quotes (default)

              # bad
              "No special symbols"
              "No string interpolation"
              "Just text"
              
              # good
              'No special symbols'
              'No string interpolation'
              'Just text'
              "Wait! What's #{this}!"

              Example: EnforcedStyle: double_quotes

              # bad
              'Just some text'
              'No special chars or interpolation'
              
              # good
              "Just some text"
              "No special chars or interpolation"
              "Every string in #{project} uses double_quotes"

              Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.
              Open

                    fail ArgumentError, 'Unknown algorithm ' + algorithm unless args[0] == 'http://www.w3.org/2001/04/xmlenc#aes256-cbc'
              Severity: Minor
              Found in lib/roo/open_office.rb by rubocop

              Checks if uses of quotes match the configured preference.

              Example: EnforcedStyle: single_quotes (default)

              # bad
              "No special symbols"
              "No string interpolation"
              "Just text"
              
              # good
              'No special symbols'
              'No string interpolation'
              'Just text'
              "Wait! What's #{this}!"

              Example: EnforcedStyle: double_quotes

              # bad
              'Just some text'
              'No special chars or interpolation'
              
              # good
              "Just some text"
              "No special chars or interpolation"
              "Every string in #{project} uses double_quotes"

              Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.
              Open

                      value = 'true' if formula == '=TRUE()'
              Severity: Minor
              Found in lib/roo/open_office.rb by rubocop

              Checks if uses of quotes match the configured preference.

              Example: EnforcedStyle: single_quotes (default)

              # bad
              "No special symbols"
              "No string interpolation"
              "Just text"
              
              # good
              'No special symbols'
              'No string interpolation'
              'Just text'
              "Wait! What's #{this}!"

              Example: EnforcedStyle: double_quotes

              # bad
              'Just some text'
              'No special chars or interpolation'
              
              # good
              "Just some text"
              "No special chars or interpolation"
              "Every string in #{project} uses double_quotes"

              Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.
              Open

                      if attribute(table_cell, 'date-value').size != 'XXXX-XX-XX'.size
              Severity: Minor
              Found in lib/roo/open_office.rb by rubocop

              Checks if uses of quotes match the configured preference.

              Example: EnforcedStyle: single_quotes (default)

              # bad
              "No special symbols"
              "No string interpolation"
              "Just text"
              
              # good
              'No special symbols'
              'No string interpolation'
              'Just text'
              "Wait! What's #{this}!"

              Example: EnforcedStyle: double_quotes

              # bad
              'Just some text'
              'No special chars or interpolation'
              
              # good
              "Just some text"
              "No special chars or interpolation"
              "Every string in #{project} uses double_quotes"

              Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.
              Open

                            when '', nil, 'date', 'percentage', 'float'
              Severity: Minor
              Found in lib/roo/open_office.rb by rubocop

              Checks if uses of quotes match the configured preference.

              Example: EnforcedStyle: single_quotes (default)

              # bad
              "No special symbols"
              "No string interpolation"
              "Just text"
              
              # good
              'No special symbols'
              'No string interpolation'
              'Just text'
              "Wait! What's #{this}!"

              Example: EnforcedStyle: double_quotes

              # bad
              'Just some text'
              'No special chars or interpolation'
              
              # good
              "Just some text"
              "No special chars or interpolation"
              "Every string in #{project} uses double_quotes"

              Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.
              Open

              require 'nokogiri'
              Severity: Minor
              Found in lib/roo/open_office.rb by rubocop

              Checks if uses of quotes match the configured preference.

              Example: EnforcedStyle: single_quotes (default)

              # bad
              "No special symbols"
              "No string interpolation"
              "Just text"
              
              # good
              'No special symbols'
              'No string interpolation'
              'Just text'
              "Wait! What's #{this}!"

              Example: EnforcedStyle: double_quotes

              # bad
              'Just some text'
              'No special chars or interpolation'
              
              # good
              "Just some text"
              "No special chars or interpolation"
              "Every string in #{project} uses double_quotes"

              Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.
              Open

                        sheet.attributes['name'].value
              Severity: Minor
              Found in lib/roo/open_office.rb by rubocop

              Checks if uses of quotes match the configured preference.

              Example: EnforcedStyle: single_quotes (default)

              # bad
              "No special symbols"
              "No string interpolation"
              "Just text"
              
              # good
              'No special symbols'
              'No string interpolation'
              'Just text'
              "Wait! What's #{this}!"

              Example: EnforcedStyle: double_quotes

              # bad
              'Just some text'
              'No special chars or interpolation'
              
              # good
              "Just some text"
              "No special chars or interpolation"
              "Every string in #{project} uses double_quotes"

              Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.
              Open

                      yyyy, mm, dd = @cell[sheet][[row, col]].to_s.split('-')
              Severity: Minor
              Found in lib/roo/open_office.rb by rubocop

              Checks if uses of quotes match the configured preference.

              Example: EnforcedStyle: single_quotes (default)

              # bad
              "No special symbols"
              "No string interpolation"
              "Just text"
              
              # good
              'No special symbols'
              'No string interpolation'
              'Just text'
              "Wait! What's #{this}!"

              Example: EnforcedStyle: double_quotes

              # bad
              'Just some text'
              'No special chars or interpolation'
              
              # good
              "Just some text"
              "No special chars or interpolation"
              "Every string in #{project} uses double_quotes"

              Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.
              Open

                    if (manifest_entry = zip_file.glob('META-INF/manifest.xml').first)
              Severity: Minor
              Found in lib/roo/open_office.rb by rubocop

              Checks if uses of quotes match the configured preference.

              Example: EnforcedStyle: single_quotes (default)

              # bad
              "No special symbols"
              "No string interpolation"
              "Just text"
              
              # good
              'No special symbols'
              'No string interpolation'
              'Just text'
              "Wait! What's #{this}!"

              Example: EnforcedStyle: double_quotes

              # bad
              'Just some text'
              'No special chars or interpolation'
              
              # good
              "Just some text"
              "No special chars or interpolation"
              "Every string in #{project} uses double_quotes"

              Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.
              Open

                    algorithm_node            = encryption_data.xpath('manifest:algorithm').first
              Severity: Minor
              Found in lib/roo/open_office.rb by rubocop

              Checks if uses of quotes match the configured preference.

              Example: EnforcedStyle: single_quotes (default)

              # bad
              "No special symbols"
              "No string interpolation"
              "Just text"
              
              # good
              'No special symbols'
              'No string interpolation'
              'Just text'
              "Wait! What's #{this}!"

              Example: EnforcedStyle: double_quotes

              # bad
              'Just some text'
              'No special chars or interpolation'
              
              # good
              "Just some text"
              "No special chars or interpolation"
              "Every string in #{project} uses double_quotes"

              Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.
              Open

                      encryption_data.xpath('manifest:start-key-generation').first
              Severity: Minor
              Found in lib/roo/open_office.rb by rubocop

              Checks if uses of quotes match the configured preference.

              Example: EnforcedStyle: single_quotes (default)

              # bad
              "No special symbols"
              "No string interpolation"
              "Just text"
              
              # good
              'No special symbols'
              'No string interpolation'
              'Just text'
              "Wait! What's #{this}!"

              Example: EnforcedStyle: double_quotes

              # bad
              'Just some text'
              'No special chars or interpolation'
              
              # good
              "Just some text"
              "No special chars or interpolation"
              "Every string in #{project} uses double_quotes"

              Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.
              Open

                    fail ArgumentError, 'Unknown key derivation name ', args[1] unless args[1] == 'PBKDF2'
              Severity: Minor
              Found in lib/roo/open_office.rb by rubocop

              Checks if uses of quotes match the configured preference.

              Example: EnforcedStyle: single_quotes (default)

              # bad
              "No special symbols"
              "No string interpolation"
              "Just text"
              
              # good
              'No special symbols'
              'No string interpolation'
              'Just text'
              "Wait! What's #{this}!"

              Example: EnforcedStyle: double_quotes

              # bad
              'Just some text'
              'No special chars or interpolation'
              
              # good
              "Just some text"
              "No special chars or interpolation"
              "Every string in #{project} uses double_quotes"

              Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.
              Open

                            when '', nil, 'date', 'percentage', 'float'
              Severity: Minor
              Found in lib/roo/open_office.rb by rubocop

              Checks if uses of quotes match the configured preference.

              Example: EnforcedStyle: single_quotes (default)

              # bad
              "No special symbols"
              "No string interpolation"
              "Just text"
              
              # good
              'No special symbols'
              'No string interpolation'
              'Just text'
              "Wait! What's #{this}!"

              Example: EnforcedStyle: double_quotes

              # bad
              'Just some text'
              'No special chars or interpolation'
              
              # good
              "Just some text"
              "No special chars or interpolation"
              "Every string in #{project} uses double_quotes"

              Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.
              Open

              require 'cgi'
              Severity: Minor
              Found in lib/roo/open_office.rb by rubocop

              Checks if uses of quotes match the configured preference.

              Example: EnforcedStyle: single_quotes (default)

              # bad
              "No special symbols"
              "No string interpolation"
              "Just text"
              
              # good
              'No special symbols'
              'No string interpolation'
              'Just text'
              "Wait! What's #{this}!"

              Example: EnforcedStyle: double_quotes

              # bad
              'Just some text'
              'No special chars or interpolation'
              
              # good
              "Just some text"
              "No special chars or interpolation"
              "Every string in #{project} uses double_quotes"

              Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.
              Open

              require 'roo/font'
              Severity: Minor
              Found in lib/roo/open_office.rb by rubocop

              Checks if uses of quotes match the configured preference.

              Example: EnforcedStyle: single_quotes (default)

              # bad
              "No special symbols"
              "No string interpolation"
              "Just text"
              
              # good
              'No special symbols'
              'No string interpolation'
              'Just text'
              "Wait! What's #{this}!"

              Example: EnforcedStyle: double_quotes

              # bad
              'Just some text'
              'No special chars or interpolation'
              
              # good
              "Just some text"
              "No special chars or interpolation"
              "Every string in #{project} uses double_quotes"

              Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.
              Open

                      fail ArgumentError, 'file missing required META-INF/manifest.xml'
              Severity: Minor
              Found in lib/roo/open_office.rb by rubocop

              Checks if uses of quotes match the configured preference.

              Example: EnforcedStyle: single_quotes (default)

              # bad
              "No special symbols"
              "No string interpolation"
              "Just text"
              
              # good
              'No special symbols'
              'No string interpolation'
              'Just text'
              "Wait! What's #{this}!"

              Example: EnforcedStyle: double_quotes

              # bad
              'Just some text'
              'No special chars or interpolation'
              
              # good
              "Just some text"
              "No special chars or interpolation"
              "Every string in #{project} uses double_quotes"

              Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.
              Open

                            skip_col   = attribute(cell, 'number-columns-repeated')
              Severity: Minor
              Found in lib/roo/open_office.rb by rubocop

              Checks if uses of quotes match the configured preference.

              Example: EnforcedStyle: single_quotes (default)

              # bad
              "No special symbols"
              "No string interpolation"
              "Just text"
              
              # good
              'No special symbols'
              'No string interpolation'
              'Just text'
              "Wait! What's #{this}!"

              Example: EnforcedStyle: double_quotes

              # bad
              'Just some text'
              'No special chars or interpolation'
              
              # good
              "Just some text"
              "No special chars or interpolation"
              "Every string in #{project} uses double_quotes"

              Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.
              Open

                              str_v      = ''
              Severity: Minor
              Found in lib/roo/open_office.rb by rubocop

              Checks if uses of quotes match the configured preference.

              Example: EnforcedStyle: single_quotes (default)

              # bad
              "No special symbols"
              "No string interpolation"
              "Just text"
              
              # good
              'No special symbols'
              'No string interpolation'
              'Just text'
              "Wait! What's #{this}!"

              Example: EnforcedStyle: double_quotes

              # bad
              'Just some text'
              'No special chars or interpolation'
              
              # good
              "Just some text"
              "No special chars or interpolation"
              "Every string in #{project} uses double_quotes"

              Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.
              Open

                      sheetname         = sheetname[1..-1] if sheetname[0, 1] == '$'
              Severity: Minor
              Found in lib/roo/open_office.rb by rubocop

              Checks if uses of quotes match the configured preference.

              Example: EnforcedStyle: single_quotes (default)

              # bad
              "No special symbols"
              "No string interpolation"
              "Just text"
              
              # good
              'No special symbols'
              'No string interpolation'
              'Just text'
              "Wait! What's #{this}!"

              Example: EnforcedStyle: double_quotes

              # bad
              'Just some text'
              'No special chars or interpolation'
              
              # good
              "Just some text"
              "No special chars or interpolation"
              "Every string in #{project} uses double_quotes"

              Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.
              Open

                  ERROR_MISSING_CONTENT_XML = 'file missing required content.xml'
              Severity: Minor
              Found in lib/roo/open_office.rb by rubocop

              Checks if uses of quotes match the configured preference.

              Example: EnforcedStyle: single_quotes (default)

              # bad
              "No special symbols"
              "No string interpolation"
              "Just text"
              
              # good
              'No special symbols'
              'No string interpolation'
              'Just text'
              "Wait! What's #{this}!"

              Example: EnforcedStyle: double_quotes

              # bad
              'Just some text'
              'No special chars or interpolation'
              
              # good
              "Just some text"
              "No special chars or interpolation"
              "Every string in #{project} uses double_quotes"

              Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.
              Open

                      value = 'true' if formula == '=TRUE()'
              Severity: Minor
              Found in lib/roo/open_office.rb by rubocop

              Checks if uses of quotes match the configured preference.

              Example: EnforcedStyle: single_quotes (default)

              # bad
              "No special symbols"
              "No string interpolation"
              "Just text"
              
              # good
              'No special symbols'
              'No string interpolation'
              'Just text'
              "Wait! What's #{this}!"

              Example: EnforcedStyle: double_quotes

              # bad
              'Just some text'
              'No special chars or interpolation'
              
              # good
              "Just some text"
              "No special chars or interpolation"
              "Every string in #{project} uses double_quotes"

              Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.
              Open

                        @cell[sheet][key]      = DateTime.parse(attribute(table_cell, 'date-value').to_s)
              Severity: Minor
              Found in lib/roo/open_office.rb by rubocop

              Checks if uses of quotes match the configured preference.

              Example: EnforcedStyle: single_quotes (default)

              # bad
              "No special symbols"
              "No string interpolation"
              "Just text"
              
              # good
              'No special symbols'
              'No string interpolation'
              'Just text'
              "Wait! What's #{this}!"

              Example: EnforcedStyle: double_quotes

              # bad
              'Just some text'
              'No special chars or interpolation'
              
              # good
              "Just some text"
              "No special chars or interpolation"
              "Every string in #{project} uses double_quotes"

              Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.
              Open

                    style_name = @style[sheet][[row, col]] || @style_defaults[sheet][col - 1] || 'Default'
              Severity: Minor
              Found in lib/roo/open_office.rb by rubocop

              Checks if uses of quotes match the configured preference.

              Example: EnforcedStyle: single_quotes (default)

              # bad
              "No special symbols"
              "No string interpolation"
              "Just text"
              
              # good
              'No special symbols'
              'No string interpolation'
              'Just text'
              "Wait! What's #{this}!"

              Example: EnforcedStyle: double_quotes

              # bad
              'Just some text'
              'No special chars or interpolation'
              
              # good
              "Just some text"
              "No special chars or interpolation"
              "Every string in #{project} uses double_quotes"

              Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.
              Open

              require 'openssl'
              Severity: Minor
              Found in lib/roo/open_office.rb by rubocop

              Checks if uses of quotes match the configured preference.

              Example: EnforcedStyle: single_quotes (default)

              # bad
              "No special symbols"
              "No string interpolation"
              "Just text"
              
              # good
              'No special symbols'
              'No string interpolation'
              'Just text'
              "Wait! What's #{this}!"

              Example: EnforcedStyle: double_quotes

              # bad
              'Just some text'
              'No special chars or interpolation'
              
              # good
              "Just some text"
              "No special chars or interpolation"
              "Every string in #{project} uses double_quotes"

              Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.
              Open

                      next unless sheet == attribute(ws, 'name')
              Severity: Minor
              Found in lib/roo/open_office.rb by rubocop

              Checks if uses of quotes match the configured preference.

              Example: EnforcedStyle: single_quotes (default)

              # bad
              "No special symbols"
              "No string interpolation"
              "Just text"
              
              # good
              'No special symbols'
              'No string interpolation'
              'Just text'
              "Wait! What's #{this}!"

              Example: EnforcedStyle: double_quotes

              # bad
              'Just some text'
              'No special chars or interpolation'
              
              # good
              "Just some text"
              "No special chars or interpolation"
              "Every string in #{project} uses double_quotes"

              Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.
              Open

                    cipher = ::OpenSSL::Cipher.new('AES-256-CBC')
              Severity: Minor
              Found in lib/roo/open_office.rb by rubocop

              Checks if uses of quotes match the configured preference.

              Example: EnforcedStyle: single_quotes (default)

              # bad
              "No special symbols"
              "No string interpolation"
              "Just text"
              
              # good
              'No special symbols'
              'No string interpolation'
              'Just text'
              "Wait! What's #{this}!"

              Example: EnforcedStyle: double_quotes

              # bad
              'Just some text'
              'No special chars or interpolation'
              
              # good
              "Just some text"
              "No special chars or interpolation"
              "Every string in #{project} uses double_quotes"

              Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.
              Open

                          'manifest:start-key-generation-name'
              Severity: Minor
              Found in lib/roo/open_office.rb by rubocop

              Checks if uses of quotes match the configured preference.

              Example: EnforcedStyle: single_quotes (default)

              # bad
              "No special symbols"
              "No string interpolation"
              "Just text"
              
              # good
              'No special symbols'
              'No string interpolation'
              'Just text'
              "Wait! What's #{this}!"

              Example: EnforcedStyle: double_quotes

              # bad
              'Just some text'
              'No special chars or interpolation'
              
              # good
              "Just some text"
              "No special chars or interpolation"
              "Every string in #{project} uses double_quotes"

              Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.
              Open

                            skip_row = attribute(table_element, 'number-rows-repeated').to_s.to_i
              Severity: Minor
              Found in lib/roo/open_office.rb by rubocop

              Checks if uses of quotes match the configured preference.

              Example: EnforcedStyle: single_quotes (default)

              # bad
              "No special symbols"
              "No string interpolation"
              "Just text"
              
              # good
              'No special symbols'
              'No string interpolation'
              'Just text'
              "Wait! What's #{this}!"

              Example: EnforcedStyle: double_quotes

              # bad
              'Just some text'
              'No special chars or interpolation'
              
              # good
              "Just some text"
              "No special chars or interpolation"
              "Every string in #{project} uses double_quotes"

              Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.
              Open

                    fail ArgumentError, 'Unknown key derivation name ', args[1] unless args[1] == 'PBKDF2'
              Severity: Minor
              Found in lib/roo/open_office.rb by rubocop

              Checks if uses of quotes match the configured preference.

              Example: EnforcedStyle: single_quotes (default)

              # bad
              "No special symbols"
              "No string interpolation"
              "Just text"
              
              # good
              'No special symbols'
              'No string interpolation'
              'Just text'
              "Wait! What's #{this}!"

              Example: EnforcedStyle: double_quotes

              # bad
              'Just some text'
              'No special chars or interpolation'
              
              # good
              "Just some text"
              "No special chars or interpolation"
              "Every string in #{project} uses double_quotes"

              Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.
              Open

                            when 'time'
              Severity: Minor
              Found in lib/roo/open_office.rb by rubocop

              Checks if uses of quotes match the configured preference.

              Example: EnforcedStyle: single_quotes (default)

              # bad
              "No special symbols"
              "No string interpolation"
              "Just text"
              
              # good
              'No special symbols'
              'No string interpolation'
              'Just text'
              "Wait! What's #{this}!"

              Example: EnforcedStyle: double_quotes

              # bad
              'Just some text'
              'No special chars or interpolation'
              
              # good
              "Just some text"
              "No special chars or interpolation"
              "Every string in #{project} uses double_quotes"

              Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.
              Open

                              v = attribute(cell, 'boolean-value').to_s
              Severity: Minor
              Found in lib/roo/open_office.rb by rubocop

              Checks if uses of quotes match the configured preference.

              Example: EnforcedStyle: single_quotes (default)

              # bad
              "No special symbols"
              "No string interpolation"
              "Just text"
              
              # good
              'No special symbols'
              'No string interpolation'
              'Just text'
              "Wait! What's #{this}!"

              Example: EnforcedStyle: double_quotes

              # bad
              'Just some text'
              'No special chars or interpolation'
              
              # good
              "Just some text"
              "No special chars or interpolation"
              "Every string in #{project} uses double_quotes"

              Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.
              Open

                      ['of:', 'oooc:'].each do |prefix|
              Severity: Minor
              Found in lib/roo/open_office.rb by rubocop

              Checks if uses of quotes match the configured preference.

              Example: EnforcedStyle: single_quotes (default)

              # bad
              "No special symbols"
              "No string interpolation"
              "Just text"
              
              # good
              'No special symbols'
              'No string interpolation'
              'Just text'
              "Wait! What's #{this}!"

              Example: EnforcedStyle: double_quotes

              # bad
              'Just some text'
              'No special chars or interpolation'
              
              # good
              "Just some text"
              "No special chars or interpolation"
              "Every string in #{project} uses double_quotes"

              Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.
              Open

                      next unless style.name == 'style'
              Severity: Minor
              Found in lib/roo/open_office.rb by rubocop

              Checks if uses of quotes match the configured preference.

              Example: EnforcedStyle: single_quotes (default)

              # bad
              "No special symbols"
              "No string interpolation"
              "Just text"
              
              # good
              'No special symbols'
              'No string interpolation'
              'Just text'
              "Wait! What's #{this}!"

              Example: EnforcedStyle: double_quotes

              # bad
              'Just some text'
              'No special chars or interpolation'
              
              # good
              "Just some text"
              "No special chars or interpolation"
              "Every string in #{project} uses double_quotes"

              Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.
              Open

                            when 'string'
              Severity: Minor
              Found in lib/roo/open_office.rb by rubocop

              Checks if uses of quotes match the configured preference.

              Example: EnforcedStyle: single_quotes (default)

              # bad
              "No special symbols"
              "No string interpolation"
              "Just text"
              
              # good
              'No special symbols'
              'No string interpolation'
              'Just text'
              "Wait! What's #{this}!"

              Example: EnforcedStyle: double_quotes

              # bad
              'Just some text'
              'No special chars or interpolation'
              
              # good
              "Just some text"
              "No special chars or interpolation"
              "Every string in #{project} uses double_quotes"

              Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.
              Open

                      style_name = attribute(style, 'name')
              Severity: Minor
              Found in lib/roo/open_office.rb by rubocop

              Checks if uses of quotes match the configured preference.

              Example: EnforcedStyle: single_quotes (default)

              # bad
              "No special symbols"
              "No string interpolation"
              "Just text"
              
              # good
              'No special symbols'
              'No string interpolation'
              'Just text'
              "Wait! What's #{this}!"

              Example: EnforcedStyle: double_quotes

              # bad
              'Just some text'
              'No special chars or interpolation'
              
              # good
              "Just some text"
              "No special chars or interpolation"
              "Every string in #{project} uses double_quotes"

              Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.
              Open

                      name              = attribute(ne, 'name').to_s
              Severity: Minor
              Found in lib/roo/open_office.rb by rubocop

              Checks if uses of quotes match the configured preference.

              Example: EnforcedStyle: single_quotes (default)

              # bad
              "No special symbols"
              "No string interpolation"
              "Just text"
              
              # good
              'No special symbols'
              'No string interpolation'
              'Just text'
              "Wait! What's #{this}!"

              Example: EnforcedStyle: double_quotes

              # bad
              'Just some text'
              'No special chars or interpolation'
              
              # good
              "Just some text"
              "No special chars or interpolation"
              "Every string in #{project} uses double_quotes"

              Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.
              Open

                      next unless style.name == 'style'
              Severity: Minor
              Found in lib/roo/open_office.rb by rubocop

              Checks if uses of quotes match the configured preference.

              Example: EnforcedStyle: single_quotes (default)

              # bad
              "No special symbols"
              "No string interpolation"
              "Just text"
              
              # good
              'No special symbols'
              'No string interpolation'
              'Just text'
              "Wait! What's #{this}!"

              Example: EnforcedStyle: double_quotes

              # bad
              'Just some text'
              'No special chars or interpolation'
              
              # good
              "Just some text"
              "No special chars or interpolation"
              "Every string in #{project} uses double_quotes"

              Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.
              Open

                      encryption_data.xpath('manifest:key-derivation').first
              Severity: Minor
              Found in lib/roo/open_office.rb by rubocop

              Checks if uses of quotes match the configured preference.

              Example: EnforcedStyle: single_quotes (default)

              # bad
              "No special symbols"
              "No string interpolation"
              "Just text"
              
              # good
              'No special symbols'
              'No string interpolation'
              'Just text'
              "Wait! What's #{this}!"

              Example: EnforcedStyle: double_quotes

              # bad
              'Just some text'
              'No special chars or interpolation'
              
              # good
              "Just some text"
              "No special chars or interpolation"
              "Every string in #{project} uses double_quotes"

              Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.
              Open

                        algorithm_node['manifest:initialisation-vector']
              Severity: Minor
              Found in lib/roo/open_office.rb by rubocop

              Checks if uses of quotes match the configured preference.

              Example: EnforcedStyle: single_quotes (default)

              # bad
              "No special symbols"
              "No string interpolation"
              "Just text"
              
              # good
              'No special symbols'
              'No string interpolation'
              'Just text'
              "Wait! What's #{this}!"

              Example: EnforcedStyle: double_quotes

              # bad
              'Just some text'
              'No special chars or interpolation'
              
              # good
              "Just some text"
              "No special chars or interpolation"
              "Every string in #{project} uses double_quotes"

              Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.
              Open

                      ['of:', 'oooc:'].each do |prefix|
              Severity: Minor
              Found in lib/roo/open_office.rb by rubocop

              Checks if uses of quotes match the configured preference.

              Example: EnforcedStyle: single_quotes (default)

              # bad
              "No special symbols"
              "No string interpolation"
              "Just text"
              
              # good
              'No special symbols'
              'No string interpolation'
              'Just text'
              "Wait! What's #{this}!"

              Example: EnforcedStyle: double_quotes

              # bad
              'Just some text'
              'No special chars or interpolation'
              
              # good
              "Just some text"
              "No special chars or interpolation"
              "Every string in #{project} uses double_quotes"

              Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.
              Open

                      value = (table_cell.attributes['value'].to_s.include?(".") || table_cell.children.first.text.include?(".")) ? v.to_f : v.to_i
              Severity: Minor
              Found in lib/roo/open_office.rb by rubocop

              Checks if uses of quotes match the configured preference.

              Example: EnforcedStyle: single_quotes (default)

              # bad
              "No special symbols"
              "No string interpolation"
              "Just text"
              
              # good
              'No special symbols'
              'No string interpolation'
              'Just text'
              "Wait! What's #{this}!"

              Example: EnforcedStyle: double_quotes

              # bad
              'Just some text'
              'No special chars or interpolation'
              
              # good
              "Just some text"
              "No special chars or interpolation"
              "Every string in #{project} uses double_quotes"

              Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.
              Open

                            when 'boolean'
              Severity: Minor
              Found in lib/roo/open_office.rb by rubocop

              Checks if uses of quotes match the configured preference.

              Example: EnforcedStyle: single_quotes (default)

              # bad
              "No special symbols"
              "No string interpolation"
              "Just text"
              
              # good
              'No special symbols'
              'No string interpolation'
              'Just text'
              "Wait! What's #{this}!"

              Example: EnforcedStyle: double_quotes

              # bad
              'Just some text'
              'No special chars or interpolation'
              
              # good
              "Just some text"
              "No special chars or interpolation"
              "Every string in #{project} uses double_quotes"

              Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.
              Open

                        display = attribute(properties, 'display')
              Severity: Minor
              Found in lib/roo/open_office.rb by rubocop

              Checks if uses of quotes match the configured preference.

              Example: EnforcedStyle: single_quotes (default)

              # bad
              "No special symbols"
              "No string interpolation"
              "Just text"
              
              # good
              'No special symbols'
              'No string interpolation'
              'Just text'
              "Wait! What's #{this}!"

              Example: EnforcedStyle: double_quotes

              # bad
              'Just some text'
              'No special chars or interpolation'
              
              # good
              "Just some text"
              "No special chars or interpolation"
              "Every string in #{project} uses double_quotes"

              Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.
              Open

                        @table_display[style_name] = (display == 'true')
              Severity: Minor
              Found in lib/roo/open_office.rb by rubocop

              Checks if uses of quotes match the configured preference.

              Example: EnforcedStyle: single_quotes (default)

              # bad
              "No special symbols"
              "No string interpolation"
              "Just text"
              
              # good
              'No special symbols'
              'No string interpolation'
              'Just text'
              "Wait! What's #{this}!"

              Example: EnforcedStyle: double_quotes

              # bad
              'Just some text'
              'No special chars or interpolation'
              
              # good
              "Just some text"
              "No special chars or interpolation"
              "Every string in #{project} uses double_quotes"

              Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.
              Open

                                v = str.content if str.name == 'p'
              Severity: Minor
              Found in lib/roo/open_office.rb by rubocop

              Checks if uses of quotes match the configured preference.

              Example: EnforcedStyle: single_quotes (default)

              # bad
              "No special symbols"
              "No string interpolation"
              "Just text"
              
              # good
              'No special symbols'
              'No string interpolation'
              'Just text'
              "Wait! What's #{this}!"

              Example: EnforcedStyle: double_quotes

              # bad
              'Just some text'
              'No special chars or interpolation'
              
              # good
              "Just some text"
              "No special chars or interpolation"
              "Every string in #{project} uses double_quotes"

              Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.
              Open

                        font.bold                           = attribute(properties, 'font-weight')
              Severity: Minor
              Found in lib/roo/open_office.rb by rubocop

              Checks if uses of quotes match the configured preference.

              Example: EnforcedStyle: single_quotes (default)

              # bad
              "No special symbols"
              "No string interpolation"
              "Just text"
              
              # good
              'No special symbols'
              'No string interpolation'
              'Just text'
              "Wait! What's #{this}!"

              Example: EnforcedStyle: double_quotes

              # bad
              'Just some text'
              'No special chars or interpolation'
              
              # good
              "Just some text"
              "No special chars or interpolation"
              "Every string in #{project} uses double_quotes"

              Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.
              Open

                      salt                = Base64.decode64(key_derivation_node['manifest:salt'])
              Severity: Minor
              Found in lib/roo/open_office.rb by rubocop

              Checks if uses of quotes match the configured preference.

              Example: EnforcedStyle: single_quotes (default)

              # bad
              "No special symbols"
              "No string interpolation"
              "Just text"
              
              # good
              'No special symbols'
              'No string interpolation'
              'Just text'
              "Wait! What's #{this}!"

              Example: EnforcedStyle: double_quotes

              # bad
              'Just some text'
              'No special chars or interpolation'
              
              # good
              "Just some text"
              "No special chars or interpolation"
              "Every string in #{project} uses double_quotes"

              Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.
              Open

                      fail ArgumentError, 'manifest.xml missing encryption-data elements'
              Severity: Minor
              Found in lib/roo/open_office.rb by rubocop

              Checks if uses of quotes match the configured preference.

              Example: EnforcedStyle: single_quotes (default)

              # bad
              "No special symbols"
              "No string interpolation"
              "Just text"
              
              # good
              'No special symbols'
              'No string interpolation'
              'Just text'
              "Wait! What's #{this}!"

              Example: EnforcedStyle: double_quotes

              # bad
              'Just some text'
              'No special chars or interpolation'
              
              # good
              "Just some text"
              "No special chars or interpolation"
              "Every string in #{project} uses double_quotes"

              Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.
              Open

                    @doc ||= ::Roo::Utils.load_xml(File.join(@tmpdir, 'roo_content.xml'))
              Severity: Minor
              Found in lib/roo/open_office.rb by rubocop

              Checks if uses of quotes match the configured preference.

              Example: EnforcedStyle: single_quotes (default)

              # bad
              "No special symbols"
              "No string interpolation"
              "Just text"
              
              # good
              'No special symbols'
              'No string interpolation'
              'Just text'
              "Wait! What's #{this}!"

              Example: EnforcedStyle: double_quotes

              # bad
              'Just some text'
              'No special chars or interpolation'
              
              # good
              "Just some text"
              "No special chars or interpolation"
              "Every string in #{project} uses double_quotes"

              Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.
              Open

                      if attribute(table_cell, 'date-value').size != 'XXXX-XX-XX'.size
              Severity: Minor
              Found in lib/roo/open_office.rb by rubocop

              Checks if uses of quotes match the configured preference.

              Example: EnforcedStyle: single_quotes (default)

              # bad
              "No special symbols"
              "No string interpolation"
              "Just text"
              
              # good
              'No special symbols'
              'No string interpolation'
              'Just text'
              "Wait! What's #{this}!"

              Example: EnforcedStyle: double_quotes

              # bad
              'Just some text'
              'No special chars or interpolation'
              
              # good
              "Just some text"
              "No special chars or interpolation"
              "Every string in #{project} uses double_quotes"

              Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.
              Open

                            v          = attribute(cell, 'value')
              Severity: Minor
              Found in lib/roo/open_office.rb by rubocop

              Checks if uses of quotes match the configured preference.

              Example: EnforcedStyle: single_quotes (default)

              # bad
              "No special symbols"
              "No string interpolation"
              "Just text"
              
              # good
              'No special symbols'
              'No string interpolation'
              'Just text'
              "Wait! What's #{this}!"

              Example: EnforcedStyle: double_quotes

              # bad
              'Just some text'
              'No special chars or interpolation'
              
              # good
              "Just some text"
              "No special chars or interpolation"
              "Every string in #{project} uses double_quotes"

              Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.
              Open

                            when '', nil, 'date', 'percentage', 'float'
              Severity: Minor
              Found in lib/roo/open_office.rb by rubocop

              Checks if uses of quotes match the configured preference.

              Example: EnforcedStyle: single_quotes (default)

              # bad
              "No special symbols"
              "No string interpolation"
              "Just text"
              
              # good
              'No special symbols'
              'No string interpolation'
              'Just text'
              "Wait! What's #{this}!"

              Example: EnforcedStyle: double_quotes

              # bad
              'Just some text'
              'No special chars or interpolation'
              
              # good
              "Just some text"
              "No special chars or interpolation"
              "Every string in #{project} uses double_quotes"

              Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.
              Open

                            when '', nil, 'date', 'percentage', 'float'
              Severity: Minor
              Found in lib/roo/open_office.rb by rubocop

              Checks if uses of quotes match the configured preference.

              Example: EnforcedStyle: single_quotes (default)

              # bad
              "No special symbols"
              "No string interpolation"
              "Just text"
              
              # good
              'No special symbols'
              'No string interpolation'
              'Just text'
              "Wait! What's #{this}!"

              Example: EnforcedStyle: double_quotes

              # bad
              'Just some text'
              'No special chars or interpolation'
              
              # good
              "Just some text"
              "No special chars or interpolation"
              "Every string in #{project} uses double_quotes"

              Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.
              Open

                      sheetname, coords = attribute(ne, 'cell-range-address').to_s.split('.$')
              Severity: Minor
              Found in lib/roo/open_office.rb by rubocop

              Checks if uses of quotes match the configured preference.

              Example: EnforcedStyle: single_quotes (default)

              # bad
              "No special symbols"
              "No string interpolation"
              "Just text"
              
              # good
              'No special symbols'
              'No string interpolation'
              'Just text'
              "Wait! What's #{this}!"

              Example: EnforcedStyle: double_quotes

              # bad
              'Just some text'
              'No special chars or interpolation'
              
              # good
              "Just some text"
              "No special chars or interpolation"
              "Every string in #{project} uses double_quotes"

              Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.
              Open

                      content_entry = zip_file.glob('content.xml').first
              Severity: Minor
              Found in lib/roo/open_office.rb by rubocop

              Checks if uses of quotes match the configured preference.

              Example: EnforcedStyle: single_quotes (default)

              # bad
              "No special symbols"
              "No string interpolation"
              "Just text"
              
              # good
              'No special symbols'
              'No string interpolation'
              'Just text'
              "Wait! What's #{this}!"

              Example: EnforcedStyle: double_quotes

              # bad
              'Just some text'
              'No special chars or interpolation'
              
              # good
              "Just some text"
              "No special chars or interpolation"
              "Every string in #{project} uses double_quotes"

              Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.
              Open

                      value = 'false' if formula == '=FALSE()'
              Severity: Minor
              Found in lib/roo/open_office.rb by rubocop

              Checks if uses of quotes match the configured preference.

              Example: EnforcedStyle: single_quotes (default)

              # bad
              "No special symbols"
              "No string interpolation"
              "Just text"
              
              # good
              'No special symbols'
              'No string interpolation'
              'Just text'
              "Wait! What's #{this}!"

              Example: EnforcedStyle: double_quotes

              # bad
              'Just some text'
              'No special chars or interpolation'
              
              # good
              "Just some text"
              "No special chars or interpolation"
              "Every string in #{project} uses double_quotes"

              Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.
              Open

                      hms = v.split(':')
              Severity: Minor
              Found in lib/roo/open_office.rb by rubocop

              Checks if uses of quotes match the configured preference.

              Example: EnforcedStyle: single_quotes (default)

              # bad
              "No special symbols"
              "No string interpolation"
              "Just text"
              
              # good
              'No special symbols'
              'No string interpolation'
              'Just text'
              "Wait! What's #{this}!"

              Example: EnforcedStyle: double_quotes

              # bad
              'Just some text'
              'No special chars or interpolation'
              
              # good
              "Just some text"
              "No special chars or interpolation"
              "Every string in #{project} uses double_quotes"

              Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.
              Open

                            formula    = attribute(cell, 'formula')
              Severity: Minor
              Found in lib/roo/open_office.rb by rubocop

              Checks if uses of quotes match the configured preference.

              Example: EnforcedStyle: single_quotes (default)

              # bad
              "No special symbols"
              "No string interpolation"
              "Just text"
              
              # good
              'No special symbols'
              'No string interpolation'
              'Just text'
              "Wait! What's #{this}!"

              Example: EnforcedStyle: double_quotes

              # bad
              'Just some text'
              'No special chars or interpolation'
              
              # good
              "Just some text"
              "No special chars or interpolation"
              "Every string in #{project} uses double_quotes"

              Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.
              Open

              require 'base64'
              Severity: Minor
              Found in lib/roo/open_office.rb by rubocop

              Checks if uses of quotes match the configured preference.

              Example: EnforcedStyle: single_quotes (default)

              # bad
              "No special symbols"
              "No string interpolation"
              "Just text"
              
              # good
              'No special symbols'
              'No string interpolation'
              'Just text'
              "Wait! What's #{this}!"

              Example: EnforcedStyle: double_quotes

              # bad
              'Just some text'
              'No special chars or interpolation'
              
              # good
              "Just some text"
              "No special chars or interpolation"
              "Every string in #{project} uses double_quotes"

              Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.
              Open

                      key_derivation_name = key_derivation_node['manifest:key-derivation-name']
              Severity: Minor
              Found in lib/roo/open_office.rb by rubocop

              Checks if uses of quotes match the configured preference.

              Example: EnforcedStyle: single_quotes (default)

              # bad
              "No special symbols"
              "No string interpolation"
              "Just text"
              
              # good
              'No special symbols'
              'No string interpolation'
              'Just text'
              "Wait! What's #{this}!"

              Example: EnforcedStyle: double_quotes

              # bad
              'Just some text'
              'No special chars or interpolation'
              
              # good
              "Just some text"
              "No special chars or interpolation"
              "Every string in #{project} uses double_quotes"

              Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.
              Open

                        when 'table-column'
              Severity: Minor
              Found in lib/roo/open_office.rb by rubocop

              Checks if uses of quotes match the configured preference.

              Example: EnforcedStyle: single_quotes (default)

              # bad
              "No special symbols"
              "No string interpolation"
              "Just text"
              
              # good
              'No special symbols'
              'No string interpolation'
              'Just text'
              "Wait! What's #{this}!"

              Example: EnforcedStyle: double_quotes

              # bad
              'Just some text'
              'No special chars or interpolation'
              
              # good
              "Just some text"
              "No special chars or interpolation"
              "Every string in #{project} uses double_quotes"

              Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.
              Open

                          if table_element.attributes['number-rows-repeated']
              Severity: Minor
              Found in lib/roo/open_office.rb by rubocop

              Checks if uses of quotes match the configured preference.

              Example: EnforcedStyle: single_quotes (default)

              # bad
              "No special symbols"
              "No string interpolation"
              "Just text"
              
              # good
              'No special symbols'
              'No string interpolation'
              'Just text'
              "Wait! What's #{this}!"

              Example: EnforcedStyle: double_quotes

              # bad
              'Just some text'
              'No special chars or interpolation'
              
              # good
              "Just some text"
              "No special chars or interpolation"
              "Every string in #{project} uses double_quotes"

              Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.
              Open

                      style_name = attribute(style, 'name')
              Severity: Minor
              Found in lib/roo/open_office.rb by rubocop

              Checks if uses of quotes match the configured preference.

              Example: EnforcedStyle: single_quotes (default)

              # bad
              "No special symbols"
              "No string interpolation"
              "Just text"
              
              # good
              'No special symbols'
              'No string interpolation'
              'Just text'
              "Wait! What's #{this}!"

              Example: EnforcedStyle: double_quotes

              # bad
              'Just some text'
              'No special chars or interpolation'
              
              # good
              "Just some text"
              "No special chars or interpolation"
              "Every string in #{project} uses double_quotes"

              Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.
              Open

              require 'zip/filesystem'
              Severity: Minor
              Found in lib/roo/open_office.rb by rubocop

              Checks if uses of quotes match the configured preference.

              Example: EnforcedStyle: single_quotes (default)

              # bad
              "No special symbols"
              "No string interpolation"
              "Just text"
              
              # good
              'No special symbols'
              'No string interpolation'
              'Just text'
              "Wait! What's #{this}!"

              Example: EnforcedStyle: double_quotes

              # bad
              'Just some text'
              'No special chars or interpolation'
              
              # good
              "Just some text"
              "No special chars or interpolation"
              "Every string in #{project} uses double_quotes"

              Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.
              Open

                      if !@only_visible_sheets || @table_display[attribute(sheet, 'style-name')]
              Severity: Minor
              Found in lib/roo/open_office.rb by rubocop

              Checks if uses of quotes match the configured preference.

              Example: EnforcedStyle: single_quotes (default)

              # bad
              "No special symbols"
              "No string interpolation"
              "Just text"
              
              # good
              'No special symbols'
              'No string interpolation'
              'Just text'
              "Wait! What's #{this}!"

              Example: EnforcedStyle: double_quotes

              # bad
              'Just some text'
              'No special chars or interpolation'
              
              # good
              "Just some text"
              "No special chars or interpolation"
              "Every string in #{project} uses double_quotes"

              Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.
              Open

                      algorithm           = algorithm_node['manifest:algorithm-name']
              Severity: Minor
              Found in lib/roo/open_office.rb by rubocop

              Checks if uses of quotes match the configured preference.

              Example: EnforcedStyle: single_quotes (default)

              # bad
              "No special symbols"
              "No string interpolation"
              "Just text"
              
              # good
              'No special symbols'
              'No string interpolation'
              'Just text'
              "Wait! What's #{this}!"

              Example: EnforcedStyle: double_quotes

              # bad
              'Just some text'
              'No special chars or interpolation'
              
              # good
              "Just some text"
              "No special chars or interpolation"
              "Every string in #{project} uses double_quotes"

              Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.
              Open

                      if key_generation_name == 'http://www.w3.org/2000/09/xmldsig#sha256'
              Severity: Minor
              Found in lib/roo/open_office.rb by rubocop

              Checks if uses of quotes match the configured preference.

              Example: EnforcedStyle: single_quotes (default)

              # bad
              "No special symbols"
              "No string interpolation"
              "Just text"
              
              # good
              'No special symbols'
              'No string interpolation'
              'Just text'
              "Wait! What's #{this}!"

              Example: EnforcedStyle: double_quotes

              # bad
              'Just some text'
              'No special chars or interpolation'
              
              # good
              "Just some text"
              "No special chars or interpolation"
              "Every string in #{project} uses double_quotes"

              Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.
              Open

                    file_type_check(filename, '.ods', 'an Roo::OpenOffice', file_warning, packed)
              Severity: Minor
              Found in lib/roo/open_office.rb by rubocop

              Checks if uses of quotes match the configured preference.

              Example: EnforcedStyle: single_quotes (default)

              # bad
              "No special symbols"
              "No string interpolation"
              "Just text"
              
              # good
              'No special symbols'
              'No string interpolation'
              'Just text'
              "Wait! What's #{this}!"

              Example: EnforcedStyle: double_quotes

              # bad
              'Just some text'
              'No special chars or interpolation'
              
              # good
              "Just some text"
              "No special chars or interpolation"
              "Every string in #{project} uses double_quotes"

              Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.
              Open

                      roo_content_xml_path = ::File.join(@tmpdir, 'roo_content.xml')
              Severity: Minor
              Found in lib/roo/open_office.rb by rubocop

              Checks if uses of quotes match the configured preference.

              Example: EnforcedStyle: single_quotes (default)

              # bad
              "No special symbols"
              "No string interpolation"
              "Just text"
              
              # good
              'No special symbols'
              'No string interpolation'
              'Just text'
              "Wait! What's #{this}!"

              Example: EnforcedStyle: double_quotes

              # bad
              'Just some text'
              'No special chars or interpolation'
              
              # good
              "Just some text"
              "No special chars or interpolation"
              "Every string in #{project} uses double_quotes"

              Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.
              Open

                      @officeversion = attribute(office, 'version')
              Severity: Minor
              Found in lib/roo/open_office.rb by rubocop

              Checks if uses of quotes match the configured preference.

              Example: EnforcedStyle: single_quotes (default)

              # bad
              "No special symbols"
              "No string interpolation"
              "Just text"
              
              # good
              'No special symbols'
              'No string interpolation'
              'Just text'
              "Wait! What's #{this}!"

              Example: EnforcedStyle: double_quotes

              # bad
              'Just some text'
              'No special chars or interpolation'
              
              # good
              "Just some text"
              "No special chars or interpolation"
              "Every string in #{project} uses double_quotes"

              Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.
              Open

                      sheetname, coords = attribute(ne, 'cell-range-address').to_s.split('.$')
              Severity: Minor
              Found in lib/roo/open_office.rb by rubocop

              Checks if uses of quotes match the configured preference.

              Example: EnforcedStyle: single_quotes (default)

              # bad
              "No special symbols"
              "No string interpolation"
              "Just text"
              
              # good
              'No special symbols'
              'No string interpolation'
              'Just text'
              "Wait! What's #{this}!"

              Example: EnforcedStyle: double_quotes

              # bad
              'Just some text'
              'No special chars or interpolation'
              
              # good
              "Just some text"
              "No special chars or interpolation"
              "Every string in #{project} uses double_quotes"

              Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.
              Open

                          compressed_spaces == 0 ? ' ' : ' ' * compressed_spaces
              Severity: Minor
              Found in lib/roo/open_office.rb by rubocop

              Checks if uses of quotes match the configured preference.

              Example: EnforcedStyle: single_quotes (default)

              # bad
              "No special symbols"
              "No string interpolation"
              "Just text"
              
              # good
              'No special symbols'
              'No string interpolation'
              'Just text'
              "Wait! What's #{this}!"

              Example: EnforcedStyle: double_quotes

              # bad
              'Just some text'
              'No special chars or interpolation'
              
              # good
              "Just some text"
              "No special chars or interpolation"
              "Every string in #{project} uses double_quotes"

              Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.
              Open

              require 'roo/tempdir'
              Severity: Minor
              Found in lib/roo/open_office.rb by rubocop

              Checks if uses of quotes match the configured preference.

              Example: EnforcedStyle: single_quotes (default)

              # bad
              "No special symbols"
              "No string interpolation"
              "Just text"
              
              # good
              'No special symbols'
              'No string interpolation'
              'Just text'
              "Wait! What's #{this}!"

              Example: EnforcedStyle: double_quotes

              # bad
              'Just some text'
              'No special chars or interpolation'
              
              # good
              "Just some text"
              "No special chars or interpolation"
              "Every string in #{project} uses double_quotes"

              Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.
              Open

                    fail ArgumentError, 'Unknown algorithm ' + algorithm unless args[0] == 'http://www.w3.org/2001/04/xmlenc#aes256-cbc'
              Severity: Minor
              Found in lib/roo/open_office.rb by rubocop

              Checks if uses of quotes match the configured preference.

              Example: EnforcedStyle: single_quotes (default)

              # bad
              "No special symbols"
              "No string interpolation"
              "Just text"
              
              # good
              'No special symbols'
              'No string interpolation'
              'Just text'
              "Wait! What's #{this}!"

              Example: EnforcedStyle: double_quotes

              # bad
              'Just some text'
              'No special chars or interpolation'
              
              # good
              "Just some text"
              "No special chars or interpolation"
              "Every string in #{project} uses double_quotes"

              Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.
              Open

                    File.open(@filename, 'rb') do |zipfile|
              Severity: Minor
              Found in lib/roo/open_office.rb by rubocop

              Checks if uses of quotes match the configured preference.

              Example: EnforcedStyle: single_quotes (default)

              # bad
              "No special symbols"
              "No string interpolation"
              "Just text"
              
              # good
              'No special symbols'
              'No string interpolation'
              'Just text'
              "Wait! What's #{this}!"

              Example: EnforcedStyle: double_quotes

              # bad
              'Just some text'
              'No special chars or interpolation'
              
              # good
              "Just some text"
              "No special chars or interpolation"
              "Every string in #{project} uses double_quotes"

              Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.
              Open

                      value = 'false' if formula == '=FALSE()'
              Severity: Minor
              Found in lib/roo/open_office.rb by rubocop

              Checks if uses of quotes match the configured preference.

              Example: EnforcedStyle: single_quotes (default)

              # bad
              "No special symbols"
              "No string interpolation"
              "Just text"
              
              # good
              'No special symbols'
              'No string interpolation'
              'Just text'
              "Wait! What's #{this}!"

              Example: EnforcedStyle: double_quotes

              # bad
              'Just some text'
              'No special chars or interpolation'
              
              # good
              "Just some text"
              "No special chars or interpolation"
              "Every string in #{project} uses double_quotes"

              Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.
              Open

                        @cell[sheet][key] = table_cell.attributes['date-value']
              Severity: Minor
              Found in lib/roo/open_office.rb by rubocop

              Checks if uses of quotes match the configured preference.

              Example: EnforcedStyle: single_quotes (default)

              # bad
              "No special symbols"
              "No string interpolation"
              "Just text"
              
              # good
              'No special symbols'
              'No string interpolation'
              'Just text'
              "Wait! What's #{this}!"

              Example: EnforcedStyle: double_quotes

              # bad
              'Just some text'
              'No special chars or interpolation'
              
              # good
              "Just some text"
              "No special chars or interpolation"
              "Every string in #{project} uses double_quotes"

              Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.
              Open

                                if str.name == 'p'
              Severity: Minor
              Found in lib/roo/open_office.rb by rubocop

              Checks if uses of quotes match the configured preference.

              Example: EnforcedStyle: single_quotes (default)

              # bad
              "No special symbols"
              "No string interpolation"
              "Just text"
              
              # good
              'No special symbols'
              'No string interpolation'
              'Just text'
              "Wait! What's #{this}!"

              Example: EnforcedStyle: double_quotes

              # bad
              'Just some text'
              'No special chars or interpolation'
              
              # good
              "Just some text"
              "No special chars or interpolation"
              "Every string in #{project} uses double_quotes"

              Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.
              Open

                    file_type_check(filename, '.ods', 'an Roo::OpenOffice', file_warning, packed)
              Severity: Minor
              Found in lib/roo/open_office.rb by rubocop

              Checks if uses of quotes match the configured preference.

              Example: EnforcedStyle: single_quotes (default)

              # bad
              "No special symbols"
              "No string interpolation"
              "Just text"
              
              # good
              'No special symbols'
              'No string interpolation'
              'Just text'
              "Wait! What's #{this}!"

              Example: EnforcedStyle: double_quotes

              # bad
              'Just some text'
              'No special chars or interpolation'
              
              # good
              "Just some text"
              "No special chars or interpolation"
              "Every string in #{project} uses double_quotes"

              Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.
              Open

                          fail ArgumentError, 'file is encrypted but password was not supplied'
              Severity: Minor
              Found in lib/roo/open_office.rb by rubocop

              Checks if uses of quotes match the configured preference.

              Example: EnforcedStyle: single_quotes (default)

              # bad
              "No special symbols"
              "No string interpolation"
              "Just text"
              
              # good
              'No special symbols'
              'No string interpolation'
              'Just text'
              "Wait! What's #{this}!"

              Example: EnforcedStyle: double_quotes

              # bad
              'Just some text'
              'No special chars or interpolation'
              
              # good
              "Just some text"
              "No special chars or interpolation"
              "Every string in #{project} uses double_quotes"

              Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.
              Open

                          @style_defaults[sheet] << table_element.attributes['default-cell-style-name']
              Severity: Minor
              Found in lib/roo/open_office.rb by rubocop

              Checks if uses of quotes match the configured preference.

              Example: EnforcedStyle: single_quotes (default)

              # bad
              "No special symbols"
              "No string interpolation"
              "Just text"
              
              # good
              'No special symbols'
              'No string interpolation'
              'Just text'
              "Wait! What's #{this}!"

              Example: EnforcedStyle: double_quotes

              # bad
              'Just some text'
              'No special chars or interpolation'
              
              # good
              "Just some text"
              "No special chars or interpolation"
              "Every string in #{project} uses double_quotes"

              Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.
              Open

                            style_name = attribute(cell, 'style-name')
              Severity: Minor
              Found in lib/roo/open_office.rb by rubocop

              Checks if uses of quotes match the configured preference.

              Example: EnforcedStyle: single_quotes (default)

              # bad
              "No special symbols"
              "No string interpolation"
              "Just text"
              
              # good
              'No special symbols'
              'No string interpolation'
              'Just text'
              "Wait! What's #{this}!"

              Example: EnforcedStyle: double_quotes

              # bad
              'Just some text'
              'No special chars or interpolation'
              
              # good
              "Just some text"
              "No special chars or interpolation"
              "Every string in #{project} uses double_quotes"

              Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.
              Open

                    @label ||= doc.xpath('//table:named-range').each_with_object({}) do |ne, hash|
              Severity: Minor
              Found in lib/roo/open_office.rb by rubocop

              Checks if uses of quotes match the configured preference.

              Example: EnforcedStyle: single_quotes (default)

              # bad
              "No special symbols"
              "No string interpolation"
              "Just text"
              
              # good
              'No special symbols'
              'No string interpolation'
              'Just text'
              "Wait! What's #{this}!"

              Example: EnforcedStyle: double_quotes

              # bad
              'Just some text'
              'No special chars or interpolation'
              
              # good
              "Just some text"
              "No special chars or interpolation"
              "Every string in #{project} uses double_quotes"

              Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.
              Open

                      col, row          = coords.split('$')
              Severity: Minor
              Found in lib/roo/open_office.rb by rubocop

              Checks if uses of quotes match the configured preference.

              Example: EnforcedStyle: single_quotes (default)

              # bad
              "No special symbols"
              "No string interpolation"
              "Just text"
              
              # good
              'No special symbols'
              'No string interpolation'
              'Just text'
              "Wait! What's #{this}!"

              Example: EnforcedStyle: double_quotes

              # bad
              'Just some text'
              'No special chars or interpolation'
              
              # good
              "Just some text"
              "No special chars or interpolation"
              "Every string in #{project} uses double_quotes"

              Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.
              Open

                    @font_style_definitions['Default'] = Roo::Font.new
              Severity: Minor
              Found in lib/roo/open_office.rb by rubocop

              Checks if uses of quotes match the configured preference.

              Example: EnforcedStyle: single_quotes (default)

              # bad
              "No special symbols"
              "No string interpolation"
              "Just text"
              
              # good
              'No special symbols'
              'No string interpolation'
              'Just text'
              "Wait! What's #{this}!"

              Example: EnforcedStyle: double_quotes

              # bad
              'Just some text'
              'No special chars or interpolation'
              
              # good
              "Just some text"
              "No special chars or interpolation"
              "Every string in #{project} uses double_quotes"

              Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.
              Open

                        font.italic                         = attribute(properties, 'font-style')
              Severity: Minor
              Found in lib/roo/open_office.rb by rubocop

              Checks if uses of quotes match the configured preference.

              Example: EnforcedStyle: single_quotes (default)

              # bad
              "No special symbols"
              "No string interpolation"
              "Just text"
              
              # good
              'No special symbols'
              'No string interpolation'
              'Just text'
              "Wait! What's #{this}!"

              Example: EnforcedStyle: double_quotes

              # bad
              'Just some text'
              'No special chars or interpolation'
              
              # good
              "Just some text"
              "No special chars or interpolation"
              "Every string in #{project} uses double_quotes"

              Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.
              Open

                          compressed_spaces = child.attributes['c'].to_s.to_i
              Severity: Minor
              Found in lib/roo/open_office.rb by rubocop

              Checks if uses of quotes match the configured preference.

              Example: EnforcedStyle: single_quotes (default)

              # bad
              "No special symbols"
              "No string interpolation"
              "Just text"
              
              # good
              'No special symbols'
              'No string interpolation'
              'Just text'
              "Wait! What's #{this}!"

              Example: EnforcedStyle: double_quotes

              # bad
              'Just some text'
              'No special chars or interpolation'
              
              # good
              "Just some text"
              "No special chars or interpolation"
              "Every string in #{project} uses double_quotes"

              Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.
              Open

              require 'date'
              Severity: Minor
              Found in lib/roo/open_office.rb by rubocop

              Checks if uses of quotes match the configured preference.

              Example: EnforcedStyle: single_quotes (default)

              # bad
              "No special symbols"
              "No string interpolation"
              "Just text"
              
              # good
              'No special symbols'
              'No string interpolation'
              'Just text'
              "Wait! What's #{this}!"

              Example: EnforcedStyle: double_quotes

              # bad
              'Just some text'
              'No special chars or interpolation'
              
              # good
              "Just some text"
              "No special chars or interpolation"
              "Every string in #{project} uses double_quotes"

              Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.
              Open

                      iteration_count     = key_derivation_node['manifest:iteration-count'].to_i
              Severity: Minor
              Found in lib/roo/open_office.rb by rubocop

              Checks if uses of quotes match the configured preference.

              Example: EnforcedStyle: single_quotes (default)

              # bad
              "No special symbols"
              "No string interpolation"
              "Just text"
              
              # good
              'No special symbols'
              'No string interpolation'
              'Just text'
              "Wait! What's #{this}!"

              Example: EnforcedStyle: double_quotes

              # bad
              'Just some text'
              'No special chars or interpolation'
              
              # good
              "Just some text"
              "No special chars or interpolation"
              "Every string in #{project} uses double_quotes"

              Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.
              Open

                    decrypted = ''
              Severity: Minor
              Found in lib/roo/open_office.rb by rubocop

              Checks if uses of quotes match the configured preference.

              Example: EnforcedStyle: single_quotes (default)

              # bad
              "No special symbols"
              "No string interpolation"
              "Just text"
              
              # good
              'No special symbols'
              'No string interpolation'
              'Just text'
              "Wait! What's #{this}!"

              Example: EnforcedStyle: double_quotes

              # bad
              'Just some text'
              'No special chars or interpolation'
              
              # good
              "Just some text"
              "No special chars or interpolation"
              "Every string in #{project} uses double_quotes"

              Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.
              Open

                        when 'table-row'
              Severity: Minor
              Found in lib/roo/open_office.rb by rubocop

              Checks if uses of quotes match the configured preference.

              Example: EnforcedStyle: single_quotes (default)

              # bad
              "No special symbols"
              "No string interpolation"
              "Just text"
              
              # good
              'No special symbols'
              'No string interpolation'
              'Just text'
              "Wait! What's #{this}!"

              Example: EnforcedStyle: double_quotes

              # bad
              'Just some text'
              'No special chars or interpolation'
              
              # good
              "Just some text"
              "No special chars or interpolation"
              "Every string in #{project} uses double_quotes"

              Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.
              Open

                            value_type = attribute(cell, 'value-type')
              Severity: Minor
              Found in lib/roo/open_office.rb by rubocop

              Checks if uses of quotes match the configured preference.

              Example: EnforcedStyle: single_quotes (default)

              # bad
              "No special symbols"
              "No string interpolation"
              "Just text"
              
              # good
              'No special symbols'
              'No string interpolation'
              'Just text'
              "Wait! What's #{this}!"

              Example: EnforcedStyle: double_quotes

              # bad
              'Just some text'
              'No special chars or interpolation'
              
              # good
              "Just some text"
              "No special chars or interpolation"
              "Every string in #{project} uses double_quotes"

              Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.
              Open

                                if str.name == 'annotation'
              Severity: Minor
              Found in lib/roo/open_office.rb by rubocop

              Checks if uses of quotes match the configured preference.

              Example: EnforcedStyle: single_quotes (default)

              # bad
              "No special symbols"
              "No string interpolation"
              "Just text"
              
              # good
              'No special symbols'
              'No string interpolation'
              'Just text'
              "Wait! What's #{this}!"

              Example: EnforcedStyle: double_quotes

              # bad
              'Just some text'
              'No special chars or interpolation'
              
              # good
              "Just some text"
              "No special chars or interpolation"
              "Every string in #{project} uses double_quotes"

              Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.
              Open

                                    next unless annotation.name == 'p'
              Severity: Minor
              Found in lib/roo/open_office.rb by rubocop

              Checks if uses of quotes match the configured preference.

              Example: EnforcedStyle: single_quotes (default)

              # bad
              "No special symbols"
              "No string interpolation"
              "Just text"
              
              # good
              'No special symbols'
              'No string interpolation'
              'Just text'
              "Wait! What's #{this}!"

              Example: EnforcedStyle: double_quotes

              # bad
              'Just some text'
              'No special chars or interpolation'
              
              # good
              "Just some text"
              "No special chars or interpolation"
              "Every string in #{project} uses double_quotes"

              Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.
              Open

                              if !v.nil? || cell.attributes['date-value']
              Severity: Minor
              Found in lib/roo/open_office.rb by rubocop

              Checks if uses of quotes match the configured preference.

              Example: EnforcedStyle: single_quotes (default)

              # bad
              "No special symbols"
              "No string interpolation"
              "Just text"
              
              # good
              'No special symbols'
              'No string interpolation'
              'Just text'
              "Wait! What's #{this}!"

              Example: EnforcedStyle: double_quotes

              # bad
              'Just some text'
              'No special chars or interpolation'
              
              # good
              "Just some text"
              "No special chars or interpolation"
              "Every string in #{project} uses double_quotes"

              Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.
              Open

                        font.underline                      = attribute(properties, 'text-underline-style')
              Severity: Minor
              Found in lib/roo/open_office.rb by rubocop

              Checks if uses of quotes match the configured preference.

              Example: EnforcedStyle: single_quotes (default)

              # bad
              "No special symbols"
              "No string interpolation"
              "Just text"
              
              # good
              'No special symbols'
              'No string interpolation'
              'Just text'
              "Wait! What's #{this}!"

              Example: EnforcedStyle: double_quotes

              # bad
              'Just some text'
              'No special chars or interpolation'
              
              # good
              "Just some text"
              "No special chars or interpolation"
              "Every string in #{project} uses double_quotes"

              Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.
              Open

                        if child.name == 's'
              Severity: Minor
              Found in lib/roo/open_office.rb by rubocop

              Checks if uses of quotes match the configured preference.

              Example: EnforcedStyle: single_quotes (default)

              # bad
              "No special symbols"
              "No string interpolation"
              "Just text"
              
              # good
              'No special symbols'
              'No string interpolation'
              'Just text'
              "Wait! What's #{this}!"

              Example: EnforcedStyle: double_quotes

              # bad
              'Just some text'
              'No special chars or interpolation'
              
              # good
              "Just some text"
              "No special chars or interpolation"
              "Every string in #{project} uses double_quotes"

              Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.
              Open

                          compressed_spaces == 0 ? ' ' : ' ' * compressed_spaces
              Severity: Minor
              Found in lib/roo/open_office.rb by rubocop

              Checks if uses of quotes match the configured preference.

              Example: EnforcedStyle: single_quotes (default)

              # bad
              "No special symbols"
              "No string interpolation"
              "Just text"
              
              # good
              'No special symbols'
              'No string interpolation'
              'Just text'
              "Wait! What's #{this}!"

              Example: EnforcedStyle: double_quotes

              # bad
              'Just some text'
              'No special chars or interpolation'
              
              # good
              "Just some text"
              "No special chars or interpolation"
              "Every string in #{project} uses double_quotes"

              There are no issues that match your filters.

              Category
              Status