aboutsummaryrefslogtreecommitdiffhomepage
path: root/org/ao_defaults.org
diff options
context:
space:
mode:
Diffstat (limited to 'org/ao_defaults.org')
-rw-r--r--org/ao_defaults.org40
1 files changed, 21 insertions, 19 deletions
diff --git a/org/ao_defaults.org b/org/ao_defaults.org
index 4f9777c..39cfff8 100644
--- a/org/ao_defaults.org
+++ b/org/ao_defaults.org
@@ -392,26 +392,28 @@ template SiSUrgxInitFlags() {
#+name: ao_defaults_templates
#+BEGIN_SRC d
template SiSUnode() {
- string[string][string] node_metadata() {
- auto node_ = [
- "object" : [
- "is" : "",
- "heading_ptr" : "",
- "doc_object_ptr" : "",
- "obj_cite_number" : "",
- "segment_anchor_tag" : "",
- "parent_obj_cite_number" : "",
- "parent_lev_markup_number" : "",
- ],
- "heading" : [
- "html_segnames_ptr" : "",
- "lev_markup_number" : "",
- "lev_collapsed_number" : "",
- // "ancestors" : "",
- // "open_headings_to_close" : "",
- ],
+ string[string] node_metadata_str() {
+ auto _node = [
+ "is" : "",
+ "ocn" : "",
+ "marked_up_lev" : "",
+ "segment_anchor_tag" : "",
+ "attrib" : "",
+ ];
+ return _node;
+ }
+ int[string] node_metadata_int() {
+ auto _node = [
+ "ocn" : 0, // decide whether to use or keep?
+ "ptr_doc_object" : 0,
+ "ptr_html_segnames" : 0,
+ "ptr_heading" : 0,
+ "heading_lev_markup" : 9,
+ "heading_lev_collapsed" : 9,
+ "parent_ocn" : 0,
+ "parent_lev_markup" : 9,
];
- return node_;
+ return _node;
}
}
#+END_SRC