def calculate_x_split_width(width) #:nodoc:
      # Convert to pixels.
      if width < 1
        pixels = int(width * 12 + 0.5)
      else
        pixels = (width * MAX_DIGIT_WIDTH + 0.5).to_i + PADDING
      end

      # Convert to points.
      points = pixels * 3 / 4

      # Convert to twips (twentieths of a point).
      twips = points * 20

      # Add offset/padding.
      twips + 390
    end
def calculate_x_split_width(width) #:nodoc:
      # Convert to pixels.
      if width < 1
        pixels = int(width * 12 + 0.5)
      else
        pixels = (width * MAX_DIGIT_WIDTH + 0.5).to_i + PADDING
      end

      # Convert to points.
      points = pixels * 3 / 4

      # Convert to twips (twentieths of a point).
      twips = points * 20

      # Add offset/padding.
      twips + 390
    end
Convert column width from user units to pane split width.