Sha256: 8dcbd9026001ef010170e6ceb7b2fec0b31d278a49501dc130cb635da79123ec
Contents?: true
Size: 535 Bytes
Versions: 7
Compression:
Stored size: 535 Bytes
Contents
module OpenXml module Docx module Elements class WordProcessingDrawingPositionOffset < OpenXml::Docx::Element tag :posOffset namespace :wp def <<(text) value << text if text.is_a? String end def value @value ||= "" end def value=(new_value) @value = new_value if new_value.is_a? String end def to_xml(xml) xml[namespace.to_s].public_send(tag, value, xml_attributes) end end end end end
Version data entries
7 entries across 7 versions & 1 rubygems