X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ffactory.cpp;h=f17b91dd49c6a81dc95b94a5225b232e6c3fe382;hb=f1f63fcad0a5512dc277fd8e401ac6cd5736c699;hp=737039b0b6011fe8941e2a669fa726930d80c3c3;hpb=f5a03ab60186e9c53d50946d859c7c99d6566bb5;p=lyx.git diff --git a/src/factory.cpp b/src/factory.cpp index 737039b0b6..f17b91dd49 100644 --- a/src/factory.cpp +++ b/src/factory.cpp @@ -38,6 +38,7 @@ #include "insets/InsetInclude.h" #include "insets/InsetIndex.h" #include "insets/InsetInfo.h" +#include "insets/InsetIPA.h" #include "insets/InsetLabel.h" #include "insets/InsetLine.h" #include "insets/InsetMarginal.h" @@ -184,6 +185,9 @@ Inset * createInsetHelper(Buffer * buf, FuncRequest const & cmd) return new InsetIndex(buf, InsetIndexParams(arg)); } + case LFUN_IPA_INSERT: + return new InsetIPA(buf); + case LFUN_NOMENCL_INSERT: { InsetCommandParams icp(NOMENCL_CODE); icp["symbol"] = cmd.argument(); @@ -615,6 +619,8 @@ Inset * readInset(Lexer & lex, Buffer * buf) inset.reset(new InsetFloatList(buf)); } else if (tmptok == "Info") { inset.reset(new InsetInfo(buf)); + } else if (tmptok == "IPA") { + inset.reset(new InsetIPA(buf)); } else if (tmptok == "Preview") { inset.reset(new InsetPreview(buf)); } else {