- ///
- string getScreenLabel() const;
- ///
- string getMasterFilename() const;
- ///
- string getFileName() const;
-
- /// In "input" mode uses \input instead of \include.
- bool isInput() const { return flag == InsetInclude::INPUT; }
- /// If this is true, the child file shouldn't be loaded by lyx
- bool isNoLoad() const { return noload; }
-
- /** A verbatim file shouldn't be loaded by LyX
- * No need to generate LaTeX code of a verbatim file
- */
- bool isVerb() const;
- ///
- bool isVerbVisibleSpace() const {
- return flag == InsetInclude::VERBAST;
- }
- ///
- bool isInclude() const { return flag == InsetInclude::INCLUDE;}
- ///
- void setInput();
- ///
- void setNoLoad(bool);
- ///
- void setInclude();
- ///
- void setVerb();
- ///
- void setVisibleSpace(bool b);
+
+ /// return the filename stub of the included file
+ string const getRelFileBaseName() const;
+
+ /// return true if the included file is not loaded
+ bool isIncludeOnly() const;
+