+ /** Returns the path where the document was last saved.
+ * It may be different from filePath() if the document was later
+ * manually moved to a different location.
+ * It is always an absolute path.
+ */
+ std::string originFilePath() const;
+
+ /** Returns the path where a local layout file lives.
+ * An empty string is returned for standard system and user layouts.
+ * If possible, it is always relative to the buffer path.
+ */
+ std::string layoutPos() const;
+
+ /** Set the path to a local layout file.
+ * This must be an absolute path but, if possible, it is always
+ * stored as relative to the buffer path.
+ */
+ void setLayoutPos(std::string const & path);
+