Specifically I would like to know if the component toString() in class Inset is
overridden.

To solution for #12783 would be ATM the attached, but I'd like to have it done 
for
other insets too.

        Kornel
diff --git a/src/Paragraph.cpp b/src/Paragraph.cpp
index b8819fdf1b..6ce3ce08ff 100644
--- a/src/Paragraph.cpp
+++ b/src/Paragraph.cpp
@@ -4312,11 +4312,11 @@ docstring Paragraph::asString(pos_type beg, pos_type end, int options, const Out
 		    || (c == '\n' && (options & AS_STR_NEWLINES)))
 			os.put(c);
 		else if (c == META_INSET && (options & AS_STR_INSETS)) {
 			if (c == META_INSET && (options & AS_STR_PLAINTEXT)) {
 				LASSERT(runparams != nullptr, return docstring());
-				if (runparams->find_effective())
+				if (runparams->find_effective() && !getInset(i)->isTable())
 					getInset(i)->toString(os);
 				else
 					getInset(i)->plaintext(os, *runparams);
 			} else if (c == META_INSET && (options & AS_STR_MATHED)
 				   && getInset(i)->lyxCode() == REF_CODE) {

Attachment: pgpPIDoXUgwEY.pgp
Description: Digitale Signatur von OpenPGP

-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel

Reply via email to