Module: Sheng::PathHelpers

Included in:
MergeFieldSet
Defined in:
lib/sheng/path_helpers.rb

Instance Method Summary collapse

Instance Method Details

#checkbox_element_pathObject



11
12
13
# File 'lib/sheng/path_helpers.rb', line 11

def checkbox_element_path
  "w:checkBox/.."
end

#mergefield_element_pathObject



7
8
9
# File 'lib/sheng/path_helpers.rb', line 7

def mergefield_element_path
  "w:fldSimple[contains(@w:instr, 'MERGEFIELD')]"
end

#new_mergefield_element_pathObject



3
4
5
# File 'lib/sheng/path_helpers.rb', line 3

def new_mergefield_element_path
  "w:fldChar[contains(@w:fldCharType, 'begin')]"
end