def assemble_xml_file
      write_xml_declaration do
        # Write the xdr:wsDr element.
        write_drawing_workspace do
          if @embedded
            index = 0
            @drawings.each do |dimensions|
              # Write the xdr:twoCellAnchor element.
              index += 1
              write_two_cell_anchor(index, *(dimensions.flatten))
            end
          else
            # Write the xdr:absoluteAnchor element.
            write_absolute_anchor(1)
          end
        end
      end
    end
def assemble_xml_file
      write_xml_declaration do
        # Write the xdr:wsDr element.
        write_drawing_workspace do
          if @embedded
            index = 0
            @drawings.each do |dimensions|
              # Write the xdr:twoCellAnchor element.
              index += 1
              write_two_cell_anchor(index, *(dimensions.flatten))
            end
          else
            # Write the xdr:absoluteAnchor element.
            write_absolute_anchor(1)
          end
        end
      end
    end
Assemble and write the XML file.