Sha256: 82d8b9b7ad4d7a2a8e0eb7790b36d98b5c4e5170a2c2ef96733e6971571209b2
Contents?: true
Size: 508 Bytes
Versions: 1
Compression:
Stored size: 508 Bytes
Contents
module OpenXml module Docx module Elements class WordProcessingDrawingPositionH < Container tag :positionH namespace :wp attribute :relativeFrom, expects: :valid_relative_from private def valid_relative_from(value) raise ArgumentError unless ok_values.include? value end def ok_values %i(character column insideMargin leftMargin margin outsideMargin page rightMargin) end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
openxml-docx-0.10.0 | lib/openxml/docx/elements/word_processing_drawing_position_h.rb |