File indexing completed on 2024-06-23 03:45:57
0001 // xlsxutility_p.h 0002 0003 #ifndef XLSXUTILITY_H 0004 #define XLSXUTILITY_H 0005 0006 #include <QtGlobal> 0007 #include <QObject> 0008 #include <QString> 0009 #include <QPoint> 0010 #include <QString> 0011 #include <QStringList> 0012 #include <QColor> 0013 #include <QDateTime> 0014 #include <QDate> 0015 #include <QTime> 0016 #include <QVariant> 0017 0018 #include "xlsxglobal.h" 0019 0020 QT_BEGIN_NAMESPACE_XLSX 0021 0022 class CellReference; 0023 0024 bool parseXsdBoolean(const QString &value, bool defaultValue=false); 0025 0026 QStringList splitPath(const QString &path); 0027 QString getRelFilePath(const QString &filePath); 0028 0029 double datetimeToNumber(const QDateTime &dt, bool is1904=false); 0030 QVariant datetimeFromNumber(double num, bool is1904=false); 0031 double timeToNumber(const QTime &t); 0032 0033 QString createSafeSheetName(const QString &nameProposal); 0034 QString escapeSheetName(const QString &sheetName); 0035 QString unescapeSheetName(const QString &sheetName); 0036 0037 bool isSpaceReserveNeeded(const QString &string); 0038 0039 QString convertSharedFormula(const QString &rootFormula, const CellReference &rootCell, const CellReference &cell); 0040 0041 QT_END_NAMESPACE_XLSX 0042 #endif // XLSXUTILITY_H