aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/sdp/ao_object_setter.d
diff options
context:
space:
mode:
Diffstat (limited to 'src/sdp/ao_object_setter.d')
-rw-r--r--src/sdp/ao_object_setter.d20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/sdp/ao_object_setter.d b/src/sdp/ao_object_setter.d
index 96932eb..bb7a17e 100644
--- a/src/sdp/ao_object_setter.d
+++ b/src/sdp/ao_object_setter.d
@@ -10,8 +10,8 @@ template ObjectSetter() {
int lev_collapsed_number = 9;
}
struct ParaAttrib {
- int indent_first = 0;
- int indent_second = 0;
+ int indent_start = 0;
+ int indent_rest = 0;
bool bullet = false;
}
struct BlockAttrib {
@@ -78,14 +78,14 @@ template ObjectSetter() {
in bool bullet
) {
ObjComposite object_set;
- object_set.use = "content";
- object_set.of = "para";
- object_set.is_a = "para";
- object_set.object = object;
- object_set.obj_cite_number = (obj_cite_number==0) ? "" : to!string(obj_cite_number);
- object_set.para_attrib.indent_first = 0; // indent["first"];
- object_set.para_attrib.indent_second = 0; // indent["second"];
- object_set.para_attrib.bullet = false;
+ object_set.use = "content";
+ object_set.of = "para";
+ object_set.is_a = "para";
+ object_set.object = object.strip;
+ object_set.obj_cite_number = (obj_cite_number==0) ? "" : to!string(obj_cite_number);
+ object_set.para_attrib.indent_start = 0; // indent["hang_position"];
+ object_set.para_attrib.indent_rest = 0; // indent["base_position"];
+ object_set.para_attrib.bullet = false;
// object_set.node_structure.node = node;
return object_set;
}