Preserve canonical preference attribute order

This commit is contained in:
Dylan M. Taylor committed 2026-11-13 09:05:20 -05:00
1 parent 6103d6bbab
commit 03c6ae67a1
1 file changed
+3 -1
+3 -1
View File
@@ -109,11 +109,13 @@ impl DocumentPreferences {
}
if let Some(value) = self.primary_text_frame {
attrs.push(("CreatePrimaryTextFrame".into(), bool_string(value)));
attrs.push(("MasterTextFrame".into(), bool_string(value)));
}
if let Some(value) = self.column_guides_locked {
attrs.push(("ColumnGuideLocked".into(), bool_string(value)));
}
if let Some(value) = self.primary_text_frame {
attrs.push(("MasterTextFrame".into(), bool_string(value)));
}
attrs.push(("SnippetImportUsesOriginalLocation".into(), "false".into()));
attrs
}