SimpleIDML 1.1.6a2__tar.gz → 1.1.8__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {SimpleIDML-1.1.6a2/src/SimpleIDML.egg-info → SimpleIDML-1.1.8}/PKG-INFO +11 -1
- {SimpleIDML-1.1.6a2 → SimpleIDML-1.1.8}/README.rst +10 -0
- {SimpleIDML-1.1.6a2 → SimpleIDML-1.1.8}/setup.py +1 -1
- {SimpleIDML-1.1.6a2 → SimpleIDML-1.1.8/src/SimpleIDML.egg-info}/PKG-INFO +11 -1
- {SimpleIDML-1.1.6a2 → SimpleIDML-1.1.8}/src/simple_idml/__init__.py +1 -1
- {SimpleIDML-1.1.6a2 → SimpleIDML-1.1.8}/src/simple_idml/components.py +9 -1
- {SimpleIDML-1.1.6a2 → SimpleIDML-1.1.8}/src/simple_idml/idml.py +5 -2
- {SimpleIDML-1.1.6a2 → SimpleIDML-1.1.8}/AUTHORS +0 -0
- {SimpleIDML-1.1.6a2 → SimpleIDML-1.1.8}/LICENSE +0 -0
- {SimpleIDML-1.1.6a2 → SimpleIDML-1.1.8}/MANIFEST.in +0 -0
- {SimpleIDML-1.1.6a2 → SimpleIDML-1.1.8}/setup.cfg +0 -0
- {SimpleIDML-1.1.6a2 → SimpleIDML-1.1.8}/src/SimpleIDML.egg-info/SOURCES.txt +0 -0
- {SimpleIDML-1.1.6a2 → SimpleIDML-1.1.8}/src/SimpleIDML.egg-info/dependency_links.txt +0 -0
- {SimpleIDML-1.1.6a2 → SimpleIDML-1.1.8}/src/SimpleIDML.egg-info/requires.txt +0 -0
- {SimpleIDML-1.1.6a2 → SimpleIDML-1.1.8}/src/SimpleIDML.egg-info/top_level.txt +0 -0
- {SimpleIDML-1.1.6a2 → SimpleIDML-1.1.8}/src/scripts/simpleidml_create_package_from_dir.py +0 -0
- {SimpleIDML-1.1.6a2 → SimpleIDML-1.1.8}/src/scripts/simpleidml_indesign_close_all_documents.py +0 -0
- {SimpleIDML-1.1.6a2 → SimpleIDML-1.1.8}/src/scripts/simpleidml_indesign_save_as.py +0 -0
- {SimpleIDML-1.1.6a2 → SimpleIDML-1.1.8}/src/simple_idml/commands.py +0 -0
- {SimpleIDML-1.1.6a2 → SimpleIDML-1.1.8}/src/simple_idml/decorators.py +0 -0
- {SimpleIDML-1.1.6a2 → SimpleIDML-1.1.8}/src/simple_idml/exceptions.py +0 -0
- {SimpleIDML-1.1.6a2 → SimpleIDML-1.1.8}/src/simple_idml/extras.py +0 -0
- {SimpleIDML-1.1.6a2 → SimpleIDML-1.1.8}/src/simple_idml/ftp.py +0 -0
- {SimpleIDML-1.1.6a2 → SimpleIDML-1.1.8}/src/simple_idml/id_package.py +0 -0
- {SimpleIDML-1.1.6a2 → SimpleIDML-1.1.8}/src/simple_idml/indesign/__init__.py +0 -0
- {SimpleIDML-1.1.6a2 → SimpleIDML-1.1.8}/src/simple_idml/indesign/indesign.py +0 -0
- {SimpleIDML-1.1.6a2 → SimpleIDML-1.1.8}/src/simple_idml/indesign/scripts/close_all_documents.jsx +0 -0
- {SimpleIDML-1.1.6a2 → SimpleIDML-1.1.8}/src/simple_idml/indesign/scripts/export.jsx +0 -0
- {SimpleIDML-1.1.6a2 → SimpleIDML-1.1.8}/src/simple_idml/indesign/scripts/list_profiles.jsx +0 -0
- {SimpleIDML-1.1.6a2 → SimpleIDML-1.1.8}/src/simple_idml/indesign/scripts/package_to_print.jsx +0 -0
- {SimpleIDML-1.1.6a2 → SimpleIDML-1.1.8}/src/simple_idml/indesign/scripts/save_as.jsx +0 -0
- {SimpleIDML-1.1.6a2 → SimpleIDML-1.1.8}/src/simple_idml/test.py +0 -0
- {SimpleIDML-1.1.6a2 → SimpleIDML-1.1.8}/src/simple_idml/utils.py +0 -0
- {SimpleIDML-1.1.6a2 → SimpleIDML-1.1.8}/tests/Makefile +0 -0
- {SimpleIDML-1.1.6a2 → SimpleIDML-1.1.8}/tests/coveragerc +0 -0
- {SimpleIDML-1.1.6a2 → SimpleIDML-1.1.8}/tests/regressiontests/IDML/2articles-0photo.idml +0 -0
- {SimpleIDML-1.1.6a2 → SimpleIDML-1.1.8}/tests/regressiontests/IDML/2articles-0photo.indd +0 -0
- {SimpleIDML-1.1.6a2 → SimpleIDML-1.1.8}/tests/regressiontests/IDML/2articles-1photo-elts-same-layer.idml +0 -0
- {SimpleIDML-1.1.6a2 → SimpleIDML-1.1.8}/tests/regressiontests/IDML/2articles-1photo-elts-same-layer.indd +0 -0
- {SimpleIDML-1.1.6a2 → SimpleIDML-1.1.8}/tests/regressiontests/IDML/2articles-1photo.idml +0 -0
- {SimpleIDML-1.1.6a2 → SimpleIDML-1.1.8}/tests/regressiontests/IDML/2articles-1photo.indd +0 -0
- {SimpleIDML-1.1.6a2 → SimpleIDML-1.1.8}/tests/regressiontests/IDML/4-pages-layers-with-guides.idml +0 -0
- {SimpleIDML-1.1.6a2 → SimpleIDML-1.1.8}/tests/regressiontests/IDML/4-pages-layers-with-guides.indd +0 -0
- {SimpleIDML-1.1.6a2 → SimpleIDML-1.1.8}/tests/regressiontests/IDML/4-pages.idml +0 -0
- {SimpleIDML-1.1.6a2 → SimpleIDML-1.1.8}/tests/regressiontests/IDML/4-pages.indd +0 -0
- {SimpleIDML-1.1.6a2 → SimpleIDML-1.1.8}/tests/regressiontests/IDML/article-1photo/META-INF/container.xml +0 -0
- {SimpleIDML-1.1.6a2 → SimpleIDML-1.1.8}/tests/regressiontests/IDML/article-1photo/META-INF/metadata.xml +0 -0
- {SimpleIDML-1.1.6a2 → SimpleIDML-1.1.8}/tests/regressiontests/IDML/article-1photo/MasterSpreads/MasterSpread_ua5.xml +0 -0
- {SimpleIDML-1.1.6a2 → SimpleIDML-1.1.8}/tests/regressiontests/IDML/article-1photo/Resources/Fonts.xml +0 -0
- {SimpleIDML-1.1.6a2 → SimpleIDML-1.1.8}/tests/regressiontests/IDML/article-1photo/Resources/Graphic.xml +0 -0
- {SimpleIDML-1.1.6a2 → SimpleIDML-1.1.8}/tests/regressiontests/IDML/article-1photo/Resources/Preferences.xml +0 -0
- {SimpleIDML-1.1.6a2 → SimpleIDML-1.1.8}/tests/regressiontests/IDML/article-1photo/Resources/Styles.xml +0 -0
- {SimpleIDML-1.1.6a2 → SimpleIDML-1.1.8}/tests/regressiontests/IDML/article-1photo/Spreads/Spread_ud6.xml +0 -0
- {SimpleIDML-1.1.6a2 → SimpleIDML-1.1.8}/tests/regressiontests/IDML/article-1photo/Stories/Story_u188.xml +0 -0
- {SimpleIDML-1.1.6a2 → SimpleIDML-1.1.8}/tests/regressiontests/IDML/article-1photo/Stories/Story_u19f.xml +0 -0
- {SimpleIDML-1.1.6a2 → SimpleIDML-1.1.8}/tests/regressiontests/IDML/article-1photo/Stories/Story_u1db.xml +0 -0
- {SimpleIDML-1.1.6a2 → SimpleIDML-1.1.8}/tests/regressiontests/IDML/article-1photo/XML/BackingStory.xml +0 -0
- {SimpleIDML-1.1.6a2 → SimpleIDML-1.1.8}/tests/regressiontests/IDML/article-1photo/XML/Mapping.xml +0 -0
- {SimpleIDML-1.1.6a2 → SimpleIDML-1.1.8}/tests/regressiontests/IDML/article-1photo/XML/Tags.xml +0 -0
- {SimpleIDML-1.1.6a2 → SimpleIDML-1.1.8}/tests/regressiontests/IDML/article-1photo/designmap.xml +0 -0
- {SimpleIDML-1.1.6a2 → SimpleIDML-1.1.8}/tests/regressiontests/IDML/article-1photo/mimetype +0 -0
- {SimpleIDML-1.1.6a2 → SimpleIDML-1.1.8}/tests/regressiontests/IDML/article-1photo-package.zip +0 -0
- {SimpleIDML-1.1.6a2 → SimpleIDML-1.1.8}/tests/regressiontests/IDML/article-1photo-with-attributes.idml +0 -0
- {SimpleIDML-1.1.6a2 → SimpleIDML-1.1.8}/tests/regressiontests/IDML/article-1photo-with-attributes.indd +0 -0
- {SimpleIDML-1.1.6a2 → SimpleIDML-1.1.8}/tests/regressiontests/IDML/article-1photo.idml +0 -0
- {SimpleIDML-1.1.6a2 → SimpleIDML-1.1.8}/tests/regressiontests/IDML/article-1photo.indd +0 -0
- {SimpleIDML-1.1.6a2 → SimpleIDML-1.1.8}/tests/regressiontests/IDML/article-1photo_import-xml.idml +0 -0
- {SimpleIDML-1.1.6a2 → SimpleIDML-1.1.8}/tests/regressiontests/IDML/article-1photo_import-xml.indd +0 -0
- {SimpleIDML-1.1.6a2 → SimpleIDML-1.1.8}/tests/regressiontests/IDML/article-1photo_imported-nested-xml.idml +0 -0
- {SimpleIDML-1.1.6a2 → SimpleIDML-1.1.8}/tests/regressiontests/IDML/article-1photo_imported-nested-xml.indd +0 -0
- {SimpleIDML-1.1.6a2 → SimpleIDML-1.1.8}/tests/regressiontests/IDML/article-1photo_imported-xml.idml +0 -0
- {SimpleIDML-1.1.6a2 → SimpleIDML-1.1.8}/tests/regressiontests/IDML/article-1photo_imported-xml.indd +0 -0
- {SimpleIDML-1.1.6a2 → SimpleIDML-1.1.8}/tests/regressiontests/IDML/expected/4-pages-insert-article-0-photo-complex.idml +0 -0
- {SimpleIDML-1.1.6a2 → SimpleIDML-1.1.8}/tests/regressiontests/IDML/expected/4-pages-insert-article-1-photo-complex.idml +0 -0
- {SimpleIDML-1.1.6a2 → SimpleIDML-1.1.8}/tests/regressiontests/IDML/expected/4-pages-insert-article-1-photo-elts-same-layer.idml +0 -0
- {SimpleIDML-1.1.6a2 → SimpleIDML-1.1.8}/tests/regressiontests/IDML/expected/4-pages-insert-article-1-photo.idml +0 -0
- {SimpleIDML-1.1.6a2 → SimpleIDML-1.1.8}/tests/regressiontests/IDML/expected/article-1photo_import-xml-forcecontent.idml +0 -0
- {SimpleIDML-1.1.6a2 → SimpleIDML-1.1.8}/tests/regressiontests/IDML/expected/article-1photo_import-xml-forcecontent2.idml +0 -0
- {SimpleIDML-1.1.6a2 → SimpleIDML-1.1.8}/tests/regressiontests/IDML/expected/article-1photo_import-xml-forcecontent3.idml +0 -0
- {SimpleIDML-1.1.6a2 → SimpleIDML-1.1.8}/tests/regressiontests/IDML/expected/article-1photo_import-xml-ignorecontent.idml +0 -0
- {SimpleIDML-1.1.6a2 → SimpleIDML-1.1.8}/tests/regressiontests/IDML/expected/article-1photo_import-xml-nested-tags.idml +0 -0
- {SimpleIDML-1.1.6a2 → SimpleIDML-1.1.8}/tests/regressiontests/IDML/expected/article-1photo_import-xml-with-extra-nodes.idml +0 -0
- {SimpleIDML-1.1.6a2 → SimpleIDML-1.1.8}/tests/regressiontests/IDML/expected/article-1photo_import-xml-with-extra-nodes2-prefixed.idml +0 -0
- {SimpleIDML-1.1.6a2 → SimpleIDML-1.1.8}/tests/regressiontests/IDML/expected/article-1photo_import-xml-with-extra-nodes2.idml +0 -0
- {SimpleIDML-1.1.6a2 → SimpleIDML-1.1.8}/tests/regressiontests/IDML/expected/article-1photo_import-xml-with-setcontent-false.idml +0 -0
- {SimpleIDML-1.1.6a2 → SimpleIDML-1.1.8}/tests/regressiontests/IDML/expected/article-1photo_import-xml-without-picture.idml +0 -0
- {SimpleIDML-1.1.6a2 → SimpleIDML-1.1.8}/tests/regressiontests/IDML/expected/article-1photo_import-xml.idml +0 -0
- {SimpleIDML-1.1.6a2 → SimpleIDML-1.1.8}/tests/regressiontests/IDML/magazineA-bloc-notes.idml +0 -0
- {SimpleIDML-1.1.6a2 → SimpleIDML-1.1.8}/tests/regressiontests/IDML/magazineA-bloc-notes.indd +0 -0
- {SimpleIDML-1.1.6a2 → SimpleIDML-1.1.8}/tests/regressiontests/IDML/magazineA-courrier-des-lecteurs-3pages.idml +0 -0
- {SimpleIDML-1.1.6a2 → SimpleIDML-1.1.8}/tests/regressiontests/IDML/magazineA-courrier-des-lecteurs-3pages.indd +0 -0
- {SimpleIDML-1.1.6a2 → SimpleIDML-1.1.8}/tests/regressiontests/IDML/magazineA-courrier-des-lecteurs.idml +0 -0
- {SimpleIDML-1.1.6a2 → SimpleIDML-1.1.8}/tests/regressiontests/IDML/magazineA-courrier-des-lecteurs.indd +0 -0
- {SimpleIDML-1.1.6a2 → SimpleIDML-1.1.8}/tests/regressiontests/IDML/magazineA-edito.idml +0 -0
- {SimpleIDML-1.1.6a2 → SimpleIDML-1.1.8}/tests/regressiontests/IDML/magazineA-edito.indd +0 -0
- {SimpleIDML-1.1.6a2 → SimpleIDML-1.1.8}/tests/regressiontests/IDML/magazineA-template.idml +0 -0
- {SimpleIDML-1.1.6a2 → SimpleIDML-1.1.8}/tests/regressiontests/IDML/media/Jacques-Yves_Cousteau.jpg +0 -0
- {SimpleIDML-1.1.6a2 → SimpleIDML-1.1.8}/tests/regressiontests/IDML/media/bouboune.jpg +0 -0
- {SimpleIDML-1.1.6a2 → SimpleIDML-1.1.8}/tests/regressiontests/IDML/media/default.jpg +0 -0
- {SimpleIDML-1.1.6a2 → SimpleIDML-1.1.8}/tests/regressiontests/IDML/media/default2.jpg +0 -0
- {SimpleIDML-1.1.6a2 → SimpleIDML-1.1.8}/tests/regressiontests/IDML/module1.pdf +0 -0
- {SimpleIDML-1.1.6a2 → SimpleIDML-1.1.8}/tests/regressiontests/IDML/package-pirate.zip +0 -0
- {SimpleIDML-1.1.6a2 → SimpleIDML-1.1.8}/tests/regressiontests/IDML/page-9modules.idml +0 -0
- {SimpleIDML-1.1.6a2 → SimpleIDML-1.1.8}/tests/regressiontests/IDML/page-9modules.indd +0 -0
- {SimpleIDML-1.1.6a2 → SimpleIDML-1.1.8}/tests/regressiontests/SOAP/indesign-service.xml +0 -0
- {SimpleIDML-1.1.6a2 → SimpleIDML-1.1.8}/tests/regressiontests/XML/article-1photo_import-xml-forcecontent.xml +0 -0
- {SimpleIDML-1.1.6a2 → SimpleIDML-1.1.8}/tests/regressiontests/XML/article-1photo_import-xml-forcecontent2.xml +0 -0
- {SimpleIDML-1.1.6a2 → SimpleIDML-1.1.8}/tests/regressiontests/XML/article-1photo_import-xml-forcecontent3.xml +0 -0
- {SimpleIDML-1.1.6a2 → SimpleIDML-1.1.8}/tests/regressiontests/XML/article-1photo_import-xml-ignorecontent.xml +0 -0
- {SimpleIDML-1.1.6a2 → SimpleIDML-1.1.8}/tests/regressiontests/XML/article-1photo_import-xml-nested-tags.xml +0 -0
- {SimpleIDML-1.1.6a2 → SimpleIDML-1.1.8}/tests/regressiontests/XML/article-1photo_import-xml-with-extra-nodes.xml +0 -0
- {SimpleIDML-1.1.6a2 → SimpleIDML-1.1.8}/tests/regressiontests/XML/article-1photo_import-xml-with-extra-nodes2.xml +0 -0
- {SimpleIDML-1.1.6a2 → SimpleIDML-1.1.8}/tests/regressiontests/XML/article-1photo_import-xml-with-setcontent-delete-informations.xml +0 -0
- {SimpleIDML-1.1.6a2 → SimpleIDML-1.1.8}/tests/regressiontests/XML/article-1photo_import-xml-with-setcontent-delete.xml +0 -0
- {SimpleIDML-1.1.6a2 → SimpleIDML-1.1.8}/tests/regressiontests/XML/article-1photo_import-xml-with-setcontent-false.xml +0 -0
- {SimpleIDML-1.1.6a2 → SimpleIDML-1.1.8}/tests/regressiontests/XML/article-1photo_import-xml-with-setcontent-remove-br.xml +0 -0
- {SimpleIDML-1.1.6a2 → SimpleIDML-1.1.8}/tests/regressiontests/XML/article-1photo_import-xml-without-picture.xml +0 -0
- {SimpleIDML-1.1.6a2 → SimpleIDML-1.1.8}/tests/regressiontests/XML/article-1photo_import-xml.xml +0 -0
- {SimpleIDML-1.1.6a2 → SimpleIDML-1.1.8}/tests/regressiontests/__init__.py +0 -0
- {SimpleIDML-1.1.6a2 → SimpleIDML-1.1.8}/tests/regressiontests/components.py +0 -0
- {SimpleIDML-1.1.6a2 → SimpleIDML-1.1.8}/tests/regressiontests/extras.py +0 -0
- {SimpleIDML-1.1.6a2 → SimpleIDML-1.1.8}/tests/regressiontests/id_package.py +0 -0
- {SimpleIDML-1.1.6a2 → SimpleIDML-1.1.8}/tests/regressiontests/idml.py +0 -0
- {SimpleIDML-1.1.6a2 → SimpleIDML-1.1.8}/tests/regressiontests/indesign.py +0 -0
- {SimpleIDML-1.1.6a2 → SimpleIDML-1.1.8}/tests/regressiontests/utils.py +0 -0
- {SimpleIDML-1.1.6a2 → SimpleIDML-1.1.8}/tests/runtests.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 1.1
|
|
2
2
|
Name: SimpleIDML
|
|
3
|
-
Version: 1.1.
|
|
3
|
+
Version: 1.1.8
|
|
4
4
|
Summary: A library to manipulate Adobe(r) IDML(r) files.
|
|
5
5
|
Home-page: https://github.com/Starou/SimpleIDML
|
|
6
6
|
Author: Stanislas Guerra
|
|
@@ -467,6 +467,16 @@ Description: ==========
|
|
|
467
467
|
Revisions
|
|
468
468
|
=========
|
|
469
469
|
|
|
470
|
+
1.1.8
|
|
471
|
+
-----
|
|
472
|
+
|
|
473
|
+
- Bugfix (issue #73).
|
|
474
|
+
|
|
475
|
+
1.1.7
|
|
476
|
+
-----
|
|
477
|
+
|
|
478
|
+
- Manage border color in styles when composing documents.
|
|
479
|
+
|
|
470
480
|
1.1.5
|
|
471
481
|
-----
|
|
472
482
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 1.1
|
|
2
2
|
Name: SimpleIDML
|
|
3
|
-
Version: 1.1.
|
|
3
|
+
Version: 1.1.8
|
|
4
4
|
Summary: A library to manipulate Adobe(r) IDML(r) files.
|
|
5
5
|
Home-page: https://github.com/Starou/SimpleIDML
|
|
6
6
|
Author: Stanislas Guerra
|
|
@@ -467,6 +467,16 @@ Description: ==========
|
|
|
467
467
|
Revisions
|
|
468
468
|
=========
|
|
469
469
|
|
|
470
|
+
1.1.8
|
|
471
|
+
-----
|
|
472
|
+
|
|
473
|
+
- Bugfix (issue #73).
|
|
474
|
+
|
|
475
|
+
1.1.7
|
|
476
|
+
-----
|
|
477
|
+
|
|
478
|
+
- Manage border color in styles when composing documents.
|
|
479
|
+
|
|
470
480
|
1.1.5
|
|
471
481
|
-----
|
|
472
482
|
|
|
@@ -51,6 +51,10 @@ class IDMLXMLFile():
|
|
|
51
51
|
"NextTextFrame",
|
|
52
52
|
"PreviousTextFrame",
|
|
53
53
|
)
|
|
54
|
+
prefixable_content_tags = (
|
|
55
|
+
'ParagraphShadingColor',
|
|
56
|
+
'ParagraphBorderColor',
|
|
57
|
+
)
|
|
54
58
|
|
|
55
59
|
def __init__(self, idml_package, working_copy_path=None):
|
|
56
60
|
self.idml_package = idml_package
|
|
@@ -141,6 +145,8 @@ class IDMLXMLFile():
|
|
|
141
145
|
for elt in self.dom.iter():
|
|
142
146
|
if elt.tag in self.excluded_tags_for_prefix:
|
|
143
147
|
continue
|
|
148
|
+
if elt.tag in self.prefixable_content_tags and elt.text:
|
|
149
|
+
elt.text = f"{prefix}{elt.text}"
|
|
144
150
|
for attr in self.prefixable_attrs:
|
|
145
151
|
if elt.get(attr):
|
|
146
152
|
if attr in ['NextTextFrame', 'PreviousTextFrame'] and elt.get(attr) == 'n':
|
|
@@ -900,13 +906,15 @@ class XMLElement(Proxy):
|
|
|
900
906
|
"Ligatures",
|
|
901
907
|
"OTFContextualAlternate",
|
|
902
908
|
"BaselineShift",
|
|
909
|
+
"ParagraphShadingColor",
|
|
910
|
+
"ParagraphBorderColor",
|
|
903
911
|
]
|
|
904
912
|
|
|
905
913
|
for attr in attrs:
|
|
906
914
|
if style_node.get(attr) is not None:
|
|
907
915
|
style_range_node.set(attr, style_node.get(attr))
|
|
908
916
|
|
|
909
|
-
for attr in ("Leading", "AppliedFont"):
|
|
917
|
+
for attr in ("Leading", "AppliedFont", "ParagraphShadingColor", "ParagraphBorderColor"):
|
|
910
918
|
path = f"Properties/{attr}"
|
|
911
919
|
attr_node = style_node.find(path)
|
|
912
920
|
if attr_node is not None:
|
|
@@ -334,7 +334,7 @@ class IDMLPackage(zipfile.ZipFile):
|
|
|
334
334
|
if parent_style_node.get(attr) is not None and (applied_style_node is None or not applied_style_node.get(attr)):
|
|
335
335
|
style_range_node.set(attr, parent_style_node.get(attr))
|
|
336
336
|
|
|
337
|
-
for attr in ("Leading", "AppliedFont"):
|
|
337
|
+
for attr in ("Leading", "AppliedFont", "ParagraphShadingColor", "ParagraphBorderColor"):
|
|
338
338
|
path = f"Properties/{attr}"
|
|
339
339
|
parent_attr_node = parent_style_node.find(path)
|
|
340
340
|
attr_node = applied_style_node.find(path) is not None if applied_style_node is not None else None
|
|
@@ -358,7 +358,10 @@ class IDMLPackage(zipfile.ZipFile):
|
|
|
358
358
|
return
|
|
359
359
|
|
|
360
360
|
for sibling in siblings:
|
|
361
|
-
|
|
361
|
+
try:
|
|
362
|
+
last_content_node.addnext(sibling)
|
|
363
|
+
except ValueError: # "cannot add ancestor as sibling, please break cycle first"
|
|
364
|
+
pass
|
|
362
365
|
story.synchronize()
|
|
363
366
|
|
|
364
367
|
def _import_new_node(source_node, at=None, element_id=None, story=None):
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{SimpleIDML-1.1.6a2 → SimpleIDML-1.1.8}/src/scripts/simpleidml_indesign_close_all_documents.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{SimpleIDML-1.1.6a2 → SimpleIDML-1.1.8}/src/simple_idml/indesign/scripts/close_all_documents.jsx
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{SimpleIDML-1.1.6a2 → SimpleIDML-1.1.8}/src/simple_idml/indesign/scripts/package_to_print.jsx
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{SimpleIDML-1.1.6a2 → SimpleIDML-1.1.8}/tests/regressiontests/IDML/4-pages-layers-with-guides.idml
RENAMED
|
File without changes
|
{SimpleIDML-1.1.6a2 → SimpleIDML-1.1.8}/tests/regressiontests/IDML/4-pages-layers-with-guides.indd
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{SimpleIDML-1.1.6a2 → SimpleIDML-1.1.8}/tests/regressiontests/IDML/article-1photo/XML/Mapping.xml
RENAMED
|
File without changes
|
{SimpleIDML-1.1.6a2 → SimpleIDML-1.1.8}/tests/regressiontests/IDML/article-1photo/XML/Tags.xml
RENAMED
|
File without changes
|
{SimpleIDML-1.1.6a2 → SimpleIDML-1.1.8}/tests/regressiontests/IDML/article-1photo/designmap.xml
RENAMED
|
File without changes
|
|
File without changes
|
{SimpleIDML-1.1.6a2 → SimpleIDML-1.1.8}/tests/regressiontests/IDML/article-1photo-package.zip
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{SimpleIDML-1.1.6a2 → SimpleIDML-1.1.8}/tests/regressiontests/IDML/article-1photo_import-xml.idml
RENAMED
|
File without changes
|
{SimpleIDML-1.1.6a2 → SimpleIDML-1.1.8}/tests/regressiontests/IDML/article-1photo_import-xml.indd
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{SimpleIDML-1.1.6a2 → SimpleIDML-1.1.8}/tests/regressiontests/IDML/article-1photo_imported-xml.idml
RENAMED
|
File without changes
|
{SimpleIDML-1.1.6a2 → SimpleIDML-1.1.8}/tests/regressiontests/IDML/article-1photo_imported-xml.indd
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{SimpleIDML-1.1.6a2 → SimpleIDML-1.1.8}/tests/regressiontests/IDML/magazineA-bloc-notes.idml
RENAMED
|
File without changes
|
{SimpleIDML-1.1.6a2 → SimpleIDML-1.1.8}/tests/regressiontests/IDML/magazineA-bloc-notes.indd
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{SimpleIDML-1.1.6a2 → SimpleIDML-1.1.8}/tests/regressiontests/IDML/media/Jacques-Yves_Cousteau.jpg
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{SimpleIDML-1.1.6a2 → SimpleIDML-1.1.8}/tests/regressiontests/XML/article-1photo_import-xml.xml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|