]> git.lyx.org Git - lyx.git/blobdiff - src/insets/ExternalSupport.h
The speed patch: redraw only rows that have changed
[lyx.git] / src / insets / ExternalSupport.h
index 1e5bbc5583852f9b23ec176bc32f8f098b2bdf92..9967c5dbad49b43eec664f41b7fb01248196ce71 100644 (file)
@@ -34,6 +34,12 @@ void editExternal(InsetExternalParams const & params,
                  Buffer const & buffer);
 
 
+enum Substitute {
+       ALL,
+       PATHS,
+       ALL_BUT_PATHS
+};
+
 /** Substitute meta-variables in string \p s, making use of \p params and
     \p buffer.
     If \p external_in_tmpdir is true, all files are assumed to be in the
@@ -44,12 +50,14 @@ void editExternal(InsetExternalParams const & params,
 std::string const doSubstitution(InsetExternalParams const & params,
                                 Buffer const & buffer,
                                  std::string const & s,
-                                 bool external_in_tmpdir = false);
+                                 bool use_latex_path,
+                                bool external_in_tmpdir = false,
+                                 Substitute what = ALL);
 
 
 /** Write the output for a specific file format
     and generate any external data files.
-    If \param external_in_tmpdir == true, then the generated file is
+    If \p external_in_tmpdir == true, then the generated file is
     place in the buffer's temporary directory.
 */
 int writeExternal(InsetExternalParams const &,