]> git.lyx.org Git - lyx.git/commitdiff
DocBook: missing support for customisation of layouts in inset arguments.
authorThibaut Cuvelier <tcuvelier@lyx.org>
Sun, 15 Nov 2020 01:11:11 +0000 (02:11 +0100)
committerThibaut Cuvelier <tcuvelier@lyx.org>
Sun, 15 Nov 2020 03:03:04 +0000 (04:03 +0100)
src/insets/InsetLayout.cpp

index 64f361dbdd14afdbd452f16b9b6d51223942c40c..c22aea9aeda252788486e6dd8fd54884af290268 100644 (file)
@@ -732,6 +732,15 @@ void InsetLayout::readArgument(Lexer & lex)
                } else if (tok == "freespacing") {
                        lex.next();
                        arg.free_spacing = lex.getBool();
+               } else if (tok == "docbooktag") {
+                       lex.next();
+                       arg.docbooktag = lex.getDocString();
+               } else if (tok == "docbookattr") {
+                       lex.next();
+                       arg.docbookattr = lex.getDocString();
+               } else if (tok == "docbooktagtype") {
+                       lex.next();
+                       arg.docbooktagtype = lex.getDocString();
                } else {
                        lex.printError("Unknown tag");
                        error = true;