File indexing completed on 2024-06-23 03:45:57
0001 /**************************************************************************** 0002 ** Copyright (c) 2013-2014 Debao Zhang <hello@debao.me> 0003 ** All right reserved. 0004 ** 0005 ** Permission is hereby granted, free of charge, to any person obtaining 0006 ** a copy of this software and associated documentation files (the 0007 ** "Software"), to deal in the Software without restriction, including 0008 ** without limitation the rights to use, copy, modify, merge, publish, 0009 ** distribute, sublicense, and/or sell copies of the Software, and to 0010 ** permit persons to whom the Software is furnished to do so, subject to 0011 ** the following conditions: 0012 ** 0013 ** The above copyright notice and this permission notice shall be 0014 ** included in all copies or substantial portions of the Software. 0015 ** 0016 ** THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 0017 ** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 0018 ** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 0019 ** NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE 0020 ** LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION 0021 ** OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION 0022 ** WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 0023 ** 0024 ****************************************************************************/ 0025 #ifndef XLSXRICHSTRING_P_H 0026 #define XLSXRICHSTRING_P_H 0027 0028 // 0029 // W A R N I N G 0030 // ------------- 0031 // 0032 // This file is not part of the Qt Xlsx API. It exists for the convenience 0033 // of the Qt Xlsx. This header file may change from 0034 // version to version without notice, or even be removed. 0035 // 0036 // We mean it. 0037 // 0038 0039 #include "xlsxrichstring.h" 0040 0041 QT_BEGIN_NAMESPACE_XLSX 0042 0043 class RichStringPrivate : public QSharedData 0044 { 0045 public: 0046 RichStringPrivate(); 0047 RichStringPrivate(const RichStringPrivate &other); 0048 ~RichStringPrivate(); 0049 0050 QByteArray idKey() const; 0051 0052 QStringList fragmentTexts; 0053 QList<Format> fragmentFormats; 0054 QByteArray _idKey; 0055 bool _dirty; 0056 }; 0057 0058 QT_END_NAMESPACE_XLSX 0059 0060 #endif // XLSXRICHSTRING_P_H