xlsxutility_p.h 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. // xlsxutility_p.h
  2. #ifndef XLSXUTILITY_H
  3. #define XLSXUTILITY_H
  4. #include <QtGlobal>
  5. #include <QObject>
  6. #include <QString>
  7. #include <QPoint>
  8. #include <QString>
  9. #include <QStringList>
  10. #include <QColor>
  11. #include <QDateTime>
  12. #include <QDate>
  13. #include <QTime>
  14. #include <QVariant>
  15. #include "xlsxglobal.h"
  16. QT_BEGIN_NAMESPACE_XLSX
  17. class CellReference;
  18. bool parseXsdBoolean(const QString &value, bool defaultValue=false);
  19. QStringList splitPath(const QString &path);
  20. QString getRelFilePath(const QString &filePath);
  21. double datetimeToNumber(const QDateTime &dt, bool is1904=false);
  22. QVariant datetimeFromNumber(double num, bool is1904=false);
  23. double timeToNumber(const QTime &t);
  24. QString createSafeSheetName(const QString &nameProposal);
  25. QString escapeSheetName(const QString &sheetName);
  26. QString unescapeSheetName(const QString &sheetName);
  27. bool isSpaceReserveNeeded(const QString &string);
  28. QString convertSharedFormula(const QString &rootFormula, const CellReference &rootCell, const CellReference &cell);
  29. QT_END_NAMESPACE_XLSX
  30. #endif // XLSXUTILITY_H