Changeset View
Changeset View
Standalone View
Standalone View
libs/odf/KoOdfReadStore.h
Show First 20 Lines • Show All 73 Lines • ▼ Show 20 Line(s) | 40 | public: | |||
---|---|---|---|---|---|
74 | * This gives you the content of the settings.xml file | 74 | * This gives you the content of the settings.xml file | ||
75 | */ | 75 | */ | ||
76 | KoXmlDocument settingsDoc() const; | 76 | KoXmlDocument settingsDoc() const; | ||
77 | 77 | | |||
78 | /** | 78 | /** | ||
79 | * Load and parse | 79 | * Load and parse | ||
80 | * | 80 | * | ||
81 | * This function loads and parses the content.xml, styles.xml and the settings.xml | 81 | * This function loads and parses the content.xml, styles.xml and the settings.xml | ||
82 | * file in the store. The sytles are already parsed. | 82 | * file in the store. The styles are already parsed. | ||
83 | * | 83 | * | ||
84 | * After this function is called you can access the data via | 84 | * After this function is called you can access the data via | ||
85 | * styles() | 85 | * styles() | ||
86 | * contentDoc() | 86 | * contentDoc() | ||
87 | * settingsDoc() | 87 | * settingsDoc() | ||
88 | * | 88 | * | ||
89 | * @param errorMessage The errorMessage is set in case an error is encounted. | 89 | * @param errorMessage The errorMessage is set in case an error is encountered. | ||
90 | * @return true if loading and parsing was successful, false otherwise. In case of an error | 90 | * @return true if loading and parsing was successful, false otherwise. In case of an error | ||
91 | * the errorMessage is updated accordingly. | 91 | * the errorMessage is updated accordingly. | ||
92 | */ | 92 | */ | ||
93 | bool loadAndParse(QString &errorMessage); | 93 | bool loadAndParse(QString &errorMessage); | ||
94 | 94 | | |||
95 | /** | 95 | /** | ||
96 | * Load a file from an odf store | 96 | * Load a file from an odf store | ||
97 | */ | 97 | */ | ||
Show All 14 Lines |