# coding: utf-8 module ThinReports module Core::Shape class TextBlock::Interface < Basic::BlockInterface internal_delegators :format_enabled? # @param [Boolean] enabled # @return [self] def format_enabled(enabled) internal.format_enabled(enabled) self end # @param [Object] val # @param [Hash] style_settings # @return [self] def set(val, style_settings = {}) value(val) styles(style_settings) #=> self end private # @see ThinReports::Core::Shape::Base::Interface#init_internal def init_internal(parent, format) TextBlock::Internal.new(parent, format) end end end end