> This Mail Merge code
>> const bool bMT_EMAIL = rMergeDescriptor.nMergeType ==
>> const bool bMT_SHELL = rMergeDescriptor.nMergeType ==
>> const bool bMT_PRINTER = rMergeDescriptor.nMergeType ==
>> const bool bMT_FILE = rMergeDescriptor.nMergeType ==
> appears in sw/source/uibase/dbui/dbmgr.cxx
> I'm mostly familiar with the EMAIL, PRINTER and FILE and when and how to
> test/use them.
> What I'm not familiar is SHELL. What is it in respect of Mail Merge and
> under what circumstances would I use if and how?
This is used LO internally or via UNO to directly display a single
merged FILE document (the document shell) used by the wizard or plugins,
So instead of writing the merged file and open it, mail merge returns a
reference to the generated document. This helps a lot with large
documents, because we don't have to open the document to display it to