Implement many more nodes
All checks were successful
CI Pipeline / build (pull_request) Successful in 12s
All checks were successful
CI Pipeline / build (pull_request) Successful in 12s
Adds these new styling and formatting nodes * strike * highlight * linebreaks * pagebreaks * Hyperlinks
This commit is contained in:
@@ -29,13 +29,17 @@ module Notare
|
||||
private
|
||||
|
||||
def lists?
|
||||
@document.lists.any?
|
||||
@document.uses_lists?
|
||||
end
|
||||
|
||||
def images
|
||||
@document.images
|
||||
end
|
||||
|
||||
def hyperlinks
|
||||
@document.hyperlinks
|
||||
end
|
||||
|
||||
def content_types_xml
|
||||
Xml::ContentTypes.new(has_numbering: lists?, images: images, has_styles: true).to_xml
|
||||
end
|
||||
@@ -45,7 +49,9 @@ module Notare
|
||||
end
|
||||
|
||||
def document_relationships_xml
|
||||
Xml::DocumentRelationships.new(has_numbering: lists?, images: images, has_styles: true).to_xml
|
||||
Xml::DocumentRelationships.new(
|
||||
has_numbering: lists?, images: images, hyperlinks: hyperlinks, has_styles: true
|
||||
).to_xml
|
||||
end
|
||||
|
||||
def document_xml
|
||||
|
||||
Reference in New Issue
Block a user