2019-05-29 16:32:58 +03:00
|
|
|
#ifndef LRPREPAREDPAGESINTF_H
|
|
|
|
#define LRPREPAREDPAGESINTF_H
|
|
|
|
#include "lrglobal.h"
|
|
|
|
namespace LimeReport {
|
2024-09-04 17:31:16 +03:00
|
|
|
class LIMEREPORT_EXPORT IPreparedPages {
|
2019-05-29 16:32:58 +03:00
|
|
|
public:
|
2024-09-04 17:31:16 +03:00
|
|
|
virtual ~IPreparedPages() {};
|
2019-05-29 16:32:58 +03:00
|
|
|
virtual bool loadFromFile(const QString& fileName) = 0;
|
|
|
|
virtual bool loadFromString(const QString data) = 0;
|
|
|
|
virtual bool loadFromByteArray(QByteArray* data) = 0;
|
|
|
|
virtual bool saveToFile(const QString& fileName) = 0;
|
2024-09-04 17:31:16 +03:00
|
|
|
virtual QString saveToString() = 0;
|
|
|
|
virtual QByteArray saveToByteArray() = 0;
|
2019-05-29 16:32:58 +03:00
|
|
|
virtual void clear() = 0;
|
|
|
|
};
|
2024-09-04 17:31:16 +03:00
|
|
|
} // namespace LimeReport
|
2019-05-29 16:32:58 +03:00
|
|
|
#endif // LRPREPAREDPAGESINTF_H
|