From 073bec284d5ec38c4ea1444ac02e42b4bd33d96c Mon Sep 17 00:00:00 2001 From: Andreas Deininger Date: Thu, 29 Feb 2024 21:21:47 +0100 Subject: [PATCH] Fix typos --- DateTime/CMakeLists.txt | 2 +- HelloAndroid/XlsxTableModel.cpp | 2 +- HelloAndroid/XlsxTableModel.h | 2 +- HelloWorld/CMakeLists.txt | 2 +- HowToSetProject.md | 2 +- Pump/CMakeLists.txt | 2 +- QXlsx/header/xlsxchart_p.h | 2 +- QXlsx/header/xlsxcontenttypes_p.h | 2 +- QXlsx/header/xlsxdrawinganchor_p.h | 2 +- QXlsx/source/xlsxabstractsheet.cpp | 4 ++-- QXlsx/source/xlsxcell.cpp | 4 ++-- QXlsx/source/xlsxcellformula.cpp | 20 ++++++++++---------- QXlsx/source/xlsxconditionalformatting.cpp | 6 +++--- QXlsx/source/xlsxdatavalidation.cpp | 6 +++--- QXlsx/source/xlsxdocument.cpp | 6 +++--- QXlsx/source/xlsxdrawinganchor.cpp | 2 +- QXlsx/source/xlsxformat.cpp | 6 +++--- QXlsx/source/xlsxsharedstrings.cpp | 2 +- QXlsx/source/xlsxstyles.cpp | 8 ++++---- QXlsx/source/xlsxworkbook.cpp | 2 +- QXlsx/source/xlsxworksheet.cpp | 6 +++--- ShowConsole/fort.c | 4 ++-- ShowConsole/fort.h | 12 ++++++------ ShowConsole/fort.hpp | 6 +++--- TestExcel/readStyle.cpp | 4 ++-- ToTest.md | 2 +- WebServer/recurse.hpp | 2 +- WebServer/request.hpp | 2 +- WhatType/CMakeLists.txt | 2 +- 29 files changed, 62 insertions(+), 62 deletions(-) diff --git a/DateTime/CMakeLists.txt b/DateTime/CMakeLists.txt index 0d8a3c3c..eb7d89d0 100644 --- a/DateTime/CMakeLists.txt +++ b/DateTime/CMakeLists.txt @@ -1,6 +1,6 @@ # CMakeLists.txt for Console Application -# TODO: Set minumum cmake version +# TODO: Set minimum cmake version cmake_minimum_required(VERSION 3.14) # TODO: Set project name diff --git a/HelloAndroid/XlsxTableModel.cpp b/HelloAndroid/XlsxTableModel.cpp index bfb7a909..5b553135 100644 --- a/HelloAndroid/XlsxTableModel.cpp +++ b/HelloAndroid/XlsxTableModel.cpp @@ -91,7 +91,7 @@ QVariant XlsxTableModel::data(const QModelIndex &index, int role) const int col = index.column(); int row = index.row(); - // check boudaries + // check boundaries if (col < 0 || columnCount() <= col || row < 0 || rowCount() <= row) { qDebug() << "[Warning]" << " col=" << col << ", row=" << row; diff --git a/HelloAndroid/XlsxTableModel.h b/HelloAndroid/XlsxTableModel.h index 3257dd7f..d7efe115 100644 --- a/HelloAndroid/XlsxTableModel.h +++ b/HelloAndroid/XlsxTableModel.h @@ -32,7 +32,7 @@ class XlsxTableModel : public QAbstractTableModel public: QStringList customRoleNames(); -public: // constrcutor +public: // constructor XlsxTableModel(const QList &colTitle, QList data, QObject *parent = NULL); public: // virtual function of parent object diff --git a/HelloWorld/CMakeLists.txt b/HelloWorld/CMakeLists.txt index 63180066..294ba8b2 100644 --- a/HelloWorld/CMakeLists.txt +++ b/HelloWorld/CMakeLists.txt @@ -1,6 +1,6 @@ # CMakeLists.txt for Console Application -# TODO: Set minumum cmake version +# TODO: Set minimum cmake version cmake_minimum_required(VERSION 3.14) # TODO: Set project name diff --git a/HowToSetProject.md b/HowToSetProject.md index c8ac9446..f85577f7 100644 --- a/HowToSetProject.md +++ b/HowToSetProject.md @@ -89,7 +89,7 @@ include(./QXlsx.pri)

-:one::one: Set heaer files and namespace for sample. Then append hello world code. +:one::one: Set header files and namespace for sample. Then append hello world code. ![](markdown.data/11.jpg) diff --git a/Pump/CMakeLists.txt b/Pump/CMakeLists.txt index 3c58dc5e..435935bb 100644 --- a/Pump/CMakeLists.txt +++ b/Pump/CMakeLists.txt @@ -1,6 +1,6 @@ # CMakeLists.txt for Console Application -# TODO: Set minumum cmake version +# TODO: Set minimum cmake version cmake_minimum_required(VERSION 3.14) # TODO: Set project name diff --git a/QXlsx/header/xlsxchart_p.h b/QXlsx/header/xlsxchart_p.h index 0cb7eea7..8460229d 100644 --- a/QXlsx/header/xlsxchart_p.h +++ b/QXlsx/header/xlsxchart_p.h @@ -140,7 +140,7 @@ class ChartPrivate : public AbstractOOXmlFilePrivate bool majorGridlinesEnabled; bool minorGridlinesEnabled; - QString layout; // only for storing a readed file + QString layout; // only for storing a read file }; QT_END_NAMESPACE_XLSX diff --git a/QXlsx/header/xlsxcontenttypes_p.h b/QXlsx/header/xlsxcontenttypes_p.h index 35cead6a..32c86138 100644 --- a/QXlsx/header/xlsxcontenttypes_p.h +++ b/QXlsx/header/xlsxcontenttypes_p.h @@ -21,7 +21,7 @@ class ContentTypes : public AbstractOOXmlFile void addDefault(const QString &key, const QString &value); void addOverride(const QString &key, const QString &value); - // Convenient funcation for addOverride() + // Convenient function for addOverride() void addDocPropCore(); void addDocPropApp(); void addStyles(); diff --git a/QXlsx/header/xlsxdrawinganchor_p.h b/QXlsx/header/xlsxdrawinganchor_p.h index c6e7743d..a876da54 100644 --- a/QXlsx/header/xlsxdrawinganchor_p.h +++ b/QXlsx/header/xlsxdrawinganchor_p.h @@ -104,7 +104,7 @@ class DrawingAnchor // BELOW only for cxnSp shape QString cxnSp_filpV, cxnSp_macro; - // belwo for cxnsp and sp + // below for cxnsp and sp QString xsp_cNvPR_name, xsp_cNvPR_id; // x measns shape and cxnSp together using QString xbwMode; // same as above QString xIn_algn, xIn_cmpd, xIn_cap, xIn_w; // cxnSp only need xIn_w diff --git a/QXlsx/source/xlsxabstractsheet.cpp b/QXlsx/source/xlsxabstractsheet.cpp index c38f5836..bf243bfc 100644 --- a/QXlsx/source/xlsxabstractsheet.cpp +++ b/QXlsx/source/xlsxabstractsheet.cpp @@ -40,7 +40,7 @@ AbstractSheetPrivate::~AbstractSheetPrivate() \value SS_Visible \value SS_Hidden - \value SS_VeryHidden User cann't make a veryHidden sheet visible in normal way. + \value SS_VeryHidden User can't make a veryHidden sheet visible in normal way. */ /*! @@ -140,7 +140,7 @@ bool AbstractSheet::isVisible() const } /*! - * Make the sheet hiden or visible based on \a hidden. + * Make the sheet hidden or visible based on \a hidden. */ void AbstractSheet::setHidden(bool hidden) { diff --git a/QXlsx/source/xlsxcell.cpp b/QXlsx/source/xlsxcell.cpp index b756c853..7dba4e48 100644 --- a/QXlsx/source/xlsxcell.cpp +++ b/QXlsx/source/xlsxcell.cpp @@ -45,10 +45,10 @@ CellPrivate::CellPrivate(const CellPrivate *const cp) /*! \enum Cell::CellType \value BooleanType Boolean type - \value NumberType Number type, can be blank or used with forumula + \value NumberType Number type, can be blank or used with formula \value ErrorType Error type \value SharedStringType Shared string type - \value StringType String type, can be used with forumula + \value StringType String type, can be used with formula \value InlineStringType Inline string type */ diff --git a/QXlsx/source/xlsxcellformula.cpp b/QXlsx/source/xlsxcellformula.cpp index 01528ce0..c614e6b5 100644 --- a/QXlsx/source/xlsxcellformula.cpp +++ b/QXlsx/source/xlsxcellformula.cpp @@ -157,7 +157,7 @@ int CellFormula::sharedIndex() const return d && d->type == SharedType ? d->si : (-1); } -/* aca (Always Calculate Array) // not-implmented attribute +/* aca (Always Calculate Array) // not-implemented attribute * * Only applies to array formulas. * @@ -175,7 +175,7 @@ int CellFormula::sharedIndex() const * boolean datatype. */ -/* bx (Assigns Value to Name) // not-implmented attribute +/* bx (Assigns Value to Name) // not-implemented attribute * * Specifies that this formula assigns a value to a name. * @@ -183,7 +183,7 @@ int CellFormula::sharedIndex() const * Schema boolean datatype. */ -/* del1 (Input 1 Deleted) // not-implmented attribute +/* del1 (Input 1 Deleted) // not-implemented attribute * * Whether the first input cell for data table has been deleted. * Applies to data table formula only. Written on master cell of data table @@ -193,7 +193,7 @@ int CellFormula::sharedIndex() const * boolean datatype. */ -/* del2 (Input 2 Deleted) // not-impplmented attribute +/* del2 (Input 2 Deleted) // not-implemented attribute * * Whether the second input cell for data table has been deleted. * Applies to data table formula only. Written on master cell of data @@ -203,18 +203,18 @@ int CellFormula::sharedIndex() const * boolean datatype. */ -/* dt2D (Data Table 2-D) // not-implmented attribute +/* dt2D (Data Table 2-D) // not-implemented attribute * - * Data table is two-dimentional. Only applies to the data tables function. + * Data table is two-dimensional. Only applies to the data tables function. * Written on master cell of data table formula only. * * The possible values for this attribute are defined by the W3C XML Schema * boolean datatype. */ -/* dtr (Data Table Row) // not-implmented attribute +/* dtr (Data Table Row) // not-implemented attribute * - * true if one-dimentional data table is a row, otherwise it's a column. + * true if one-dimensional data table is a row, otherwise it's a column. * Only applies to the data tables function. Written on master cell of data * table formula only. * @@ -222,7 +222,7 @@ int CellFormula::sharedIndex() const * boolean datatype. */ -/* r1 (Data Table Cell 1) // not-implmented attribute +/* r1 (Data Table Cell 1) // not-implemented attribute * * First input cell for data table. Only applies to the data tables array * function "TABLE()". Written on master cell of data table formula only. @@ -231,7 +231,7 @@ int CellFormula::sharedIndex() const * simple type (ยง18.18.7). */ -/* r2 (Input Cell 2) // not-implmented attribute +/* r2 (Input Cell 2) // not-implemented attribute * * Second input cell for data table when dt2D is '1'. Only applies to the * data tables array function "TABLE()".Written on master cell of data table diff --git a/QXlsx/source/xlsxconditionalformatting.cpp b/QXlsx/source/xlsxconditionalformatting.cpp index 78b54e4f..932fce85 100644 --- a/QXlsx/source/xlsxconditionalformatting.cpp +++ b/QXlsx/source/xlsxconditionalformatting.cpp @@ -160,7 +160,7 @@ ConditionalFormatting::~ConditionalFormatting() } /*! - * Add a hightlight rule with the given \a type, \a formula1, \a formula2, + * Add a highlight rule with the given \a type, \a formula1, \a formula2, * \a format and \a stopIfTrue. * Return false if failed. */ @@ -301,7 +301,7 @@ bool ConditionalFormatting::addHighlightCellsRule(HighlightRuleType type, /*! * \overload * - * Add a hightlight rule with the given \a type \a format and \a stopIfTrue. + * Add a highlight rule with the given \a type \a format and \a stopIfTrue. */ bool ConditionalFormatting::addHighlightCellsRule(HighlightRuleType type, const Format &format, @@ -318,7 +318,7 @@ bool ConditionalFormatting::addHighlightCellsRule(HighlightRuleType type, /*! * \overload * - * Add a hightlight rule with the given \a type, \a formula, \a format and \a stopIfTrue. + * Add a highlight rule with the given \a type, \a formula, \a format and \a stopIfTrue. * Return false if failed. */ bool ConditionalFormatting::addHighlightCellsRule(HighlightRuleType type, diff --git a/QXlsx/source/xlsxdatavalidation.cpp b/QXlsx/source/xlsxdatavalidation.cpp index 7c63af01..a7d41270 100644 --- a/QXlsx/source/xlsxdatavalidation.cpp +++ b/QXlsx/source/xlsxdatavalidation.cpp @@ -318,7 +318,7 @@ void DataValidation::setPromptMessage(const QString &prompt, const QString &titl } /*! - Enable/disabe blank allow based on \a enable. + Enable/disable blank allow based on \a enable. */ void DataValidation::setAllowBlank(bool enable) { @@ -326,7 +326,7 @@ void DataValidation::setAllowBlank(bool enable) } /*! - Enable/disabe prompt message visible based on \a visible. + Enable/disable prompt message visible based on \a visible. */ void DataValidation::setPromptMessageVisible(bool visible) { @@ -334,7 +334,7 @@ void DataValidation::setPromptMessageVisible(bool visible) } /*! - Enable/disabe error message visible based on \a visible. + Enable/disable error message visible based on \a visible. */ void DataValidation::setErrorMessageVisible(bool visible) { diff --git a/QXlsx/source/xlsxdocument.cpp b/QXlsx/source/xlsxdocument.cpp index f3424d4f..9b586752 100644 --- a/QXlsx/source/xlsxdocument.cpp +++ b/QXlsx/source/xlsxdocument.cpp @@ -656,7 +656,7 @@ QVariant Document::read(int row, int col) const /*! * Insert an \a image to current active worksheet at the position \a row, \a column - * Returns ture if success. + * Returns true if success. */ int Document::insertImage(int row, int column, const QImage &image) { @@ -739,7 +739,7 @@ bool Document::setColumnWidth(const CellRange &range, double width) } /*! - Sets format property of columns with the gien \a range and \a format. + Sets format property of columns with the given \a range and \a format. Returns true on success. */ bool Document::setColumnFormat(const CellRange &range, const Format &format) @@ -1034,7 +1034,7 @@ Cell *Document::cellAt(int row, int col) const * * \param name The defined name. * \param formula The cell or range that the defined name refers to. - * \param scope The name of one worksheet, or empty which means golbal scope. + * \param scope The name of one worksheet, or empty which means global scope. * \return Return false if the name invalid. */ bool Document::defineName(const QString &name, diff --git a/QXlsx/source/xlsxdrawinganchor.cpp b/QXlsx/source/xlsxdrawinganchor.cpp index 50a19ad3..9922f30b 100644 --- a/QXlsx/source/xlsxdrawinganchor.cpp +++ b/QXlsx/source/xlsxdrawinganchor.cpp @@ -1131,7 +1131,7 @@ bool DrawingTwoCellAnchor::loadFromXml(QXmlStreamReader &reader) //{{ liufeijin QXmlStreamAttributes attrs = - reader.attributes(); // for absolute twocell aadd by liufeijin 20181024 + reader.attributes(); // for absolute twocell added by liufeijin 20181024 editASName = attrs.value(QLatin1String("editAs")).toString(); //}} diff --git a/QXlsx/source/xlsxformat.cpp b/QXlsx/source/xlsxformat.cpp index ff9f0997..3aef8383 100644 --- a/QXlsx/source/xlsxformat.cpp +++ b/QXlsx/source/xlsxformat.cpp @@ -632,7 +632,7 @@ int Format::rotation() const } /*! - * Set the text roation with the given \a rotation. Must be in the range [0, 180] or 255. + * Set the text rotation with the given \a rotation. Must be in the range [0, 180] or 255. */ void Format::setRotation(int rotation) { @@ -1272,7 +1272,7 @@ bool Format::dxfIndexValid() const } /*! - Returns ture if the \a format is equal to this format. + Returns true if the \a format is equal to this format. */ bool Format::operator==(const Format &format) const { @@ -1280,7 +1280,7 @@ bool Format::operator==(const Format &format) const } /*! - Returns ture if the \a format is not equal to this format. + Returns true if the \a format is not equal to this format. */ bool Format::operator!=(const Format &format) const { diff --git a/QXlsx/source/xlsxsharedstrings.cpp b/QXlsx/source/xlsxsharedstrings.cpp index be8e3979..d2b20aa6 100644 --- a/QXlsx/source/xlsxsharedstrings.cpp +++ b/QXlsx/source/xlsxsharedstrings.cpp @@ -64,7 +64,7 @@ int SharedStrings::addSharedString(const RichString &string) void SharedStrings::incRefByStringIndex(int idx) { if (idx < 0 || idx >= m_stringList.size()) { - qDebug("SharedStrings: invlid index"); + qDebug("SharedStrings: invalid index"); return; } diff --git a/QXlsx/source/xlsxstyles.cpp b/QXlsx/source/xlsxstyles.cpp index 66134b7b..50d00d27 100644 --- a/QXlsx/source/xlsxstyles.cpp +++ b/QXlsx/source/xlsxstyles.cpp @@ -503,8 +503,8 @@ void Styles::writeFill(QXmlStreamWriter &writer, const Format &fill, bool isDxf) writer.writeStartElement(QStringLiteral("fill")); writer.writeStartElement(QStringLiteral("patternFill")); Format::FillPattern pattern = fill.fillPattern(); - // For normal fill formats, Excel prefer to outputing the default "none" attribute - // But for dxf, Excel prefer to omiting the default "none" + // For normal fill formats, Excel prefer to outputting the default "none" attribute + // But for dxf, Excel prefer to omitting the default "none" // Though not make any difference, but it make easier to compare origin files with generate // files during debug if (!(pattern == Format::PatternNone && isDxf)) @@ -585,7 +585,7 @@ void Styles::writeBorder(QXmlStreamWriter &writer, const Format &border, bool is border.property(FormatPrivate::P_Border_DiagonalColor).value()); if (isDxf) { - // writeSubBorder(wirter, QStringLiteral("vertical"), ); + // writeSubBorder(writer, QStringLiteral("vertical"), ); // writeSubBorder(writer, QStringLiteral("horizontal"), ); } @@ -773,7 +773,7 @@ bool Styles::readNumFmts(QXmlStreamReader &reader) const auto hasCount = attributes.hasAttribute(QLatin1String("count")); const auto count = hasCount ? attributes.value(QLatin1String("count")).toInt() : -1; - // Read utill we find the numFmts end tag or .... + // Read until we find the numFmts end tag or .... while (!reader.atEnd() && !(reader.tokenType() == QXmlStreamReader::EndElement && reader.name() == QLatin1String("numFmts"))) { reader.readNextStartElement(); diff --git a/QXlsx/source/xlsxworkbook.cpp b/QXlsx/source/xlsxworkbook.cpp index 4213e095..1a2fdcad 100644 --- a/QXlsx/source/xlsxworkbook.cpp +++ b/QXlsx/source/xlsxworkbook.cpp @@ -141,7 +141,7 @@ void Workbook::setDefaultDateFormat(const QString &format) * \param name The defined name * \param formula The cell or range that the defined name refers to. * \param comment - * \param scope The name of one worksheet, or empty which means golbal scope. + * \param scope The name of one worksheet, or empty which means global scope. * \return Return false if the name invalid. */ bool Workbook::defineName(const QString &name, diff --git a/QXlsx/source/xlsxworksheet.cpp b/QXlsx/source/xlsxworksheet.cpp index 36144eb6..9f153963 100644 --- a/QXlsx/source/xlsxworksheet.cpp +++ b/QXlsx/source/xlsxworksheet.cpp @@ -172,7 +172,7 @@ int WorksheetPrivate::checkDimensions(int row, int col, bool ignore_row, bool ig Worksheet::Worksheet(const QString &name, int id, Workbook *workbook, CreateFlag flag) : AbstractSheet(name, id, workbook, new WorksheetPrivate(this, flag)) { - if (!workbook) // For unit test propose only. Ignore the memery leak. + if (!workbook) // For unit test propose only. Ignore the memory leak. d_func()->workbook = new Workbook(flag); } @@ -456,7 +456,7 @@ bool Worksheet::write(int row, int column, const QVariant &value, const Format & } else if (value.userType() == QMetaType::QDateTime) // dev67 { // DateTime, Date - // note that, QTime cann't convert to QDateTime + // note that, QTime can't convert to QDateTime ret = writeDateTime(row, column, value.toDateTime(), format); } else if (value.userType() == QMetaType::QDate) // dev67 { @@ -2043,7 +2043,7 @@ bool Worksheet::setRowFormat(int rowFirst, int rowLast, const Format &format) } /*! - Sets the \a hidden proeprty of the rows including and between \a rowFirst and \a rowLast. + Sets the \a hidden property of the rows including and between \a rowFirst and \a rowLast. Rows are 1-indexed. If hidden is true rows will not be visible. Returns true if success. diff --git a/ShowConsole/fort.c b/ShowConsole/fort.c index 4cf906a3..d5c1c992 100644 --- a/ShowConsole/fort.c +++ b/ShowConsole/fort.c @@ -1756,7 +1756,7 @@ const char *ft_to_string(const ft_table_t *table) int (*snprint_n_strings_)(char *, size_t, size_t, const char *) = snprint_n_strings; assert(table); - /* Determing size of table string representation */ + /* Determining size of table string representation */ size_t height = 0; size_t width = 0; int status = table_geometry(table, &height, &width); @@ -1858,7 +1858,7 @@ const wchar_t *ft_to_wstring(const ft_table_t *table) assert(table); - /* Determing size of table string representation */ + /* Determining size of table string representation */ size_t height = 0; size_t width = 0; int status = table_geometry(table, &height, &width); diff --git a/ShowConsole/fort.h b/ShowConsole/fort.h index ea930ae3..cb626140 100644 --- a/ShowConsole/fort.h +++ b/ShowConsole/fort.h @@ -121,7 +121,7 @@ typedef int fort_status_t; #define FT_STR_2_CAT(arg1, arg2) FT_STR_2_CAT_(arg1, arg2) /** - * @interanl + * @internal */ static FT_INLINE int ft_check_if_string_helper(const char *str) { @@ -130,7 +130,7 @@ static FT_INLINE int ft_check_if_string_helper(const char *str) } /** - * @interanl + * @internal */ static FT_INLINE int ft_check_if_wstring_helper(const wchar_t *str) { @@ -331,7 +331,7 @@ void ft_set_cur_cell(ft_table_t *table, size_t row, size_t col); #if defined(FT_CLANG_COMPILER) || defined(FT_GCC_COMPILER) /** - * Write data formatted acording to the format string to a variety of table + * Write data formatted according to the format string to a variety of table * cells. * * @param table @@ -341,7 +341,7 @@ void ft_set_cur_cell(ft_table_t *table, size_t row, size_t col); * the data. The format string consists of ordinary characters (except % and |), * which are copied unchanged into the output stream, and conversion * specifications. Conversion specifications are the same as for standard - * printf function. Character '|' (wich can be changed with + * printf function. Character '|' (which can be changed with * {@link ft_set_default_printf_field_separator}) in the format string is treated as * a cell separator. * @param ... @@ -358,7 +358,7 @@ void ft_set_cur_cell(ft_table_t *table, size_t row, size_t col); int ft_printf(ft_table_t *table, const char *fmt, ...) FT_PRINTF_ATTRIBUTE_FORMAT(2, 3); /** - * Write data formatted acording to the format string to a variety of table + * Write data formatted according to the format string to a variety of table * cells and move current position to the first cell of the next line(row). * * @param table @@ -368,7 +368,7 @@ int ft_printf(ft_table_t *table, const char *fmt, ...) FT_PRINTF_ATTRIBUTE_FORMA * the data. The format string consists of ordinary characters (except % and |), * which are copied unchanged into the output stream, and conversion * specifications. Conversion specifications are the same as for standard - * printf function. Character '|' (wich can be changed with + * printf function. Character '|' (which can be changed with * {@link ft_set_default_printf_field_separator}) in the format string is treated as * a cell separator. * @param ... diff --git a/ShowConsole/fort.hpp b/ShowConsole/fort.hpp index e34933f9..dc543ff4 100644 --- a/ShowConsole/fort.hpp +++ b/ShowConsole/fort.hpp @@ -371,7 +371,7 @@ class table: public property_owner { } /** - * Copy contstructor. + * Copy constructor. */ table(const table& tbl) :property_owner(FT_ANY_ROW, FT_ANY_COLUMN, this), table_(NULL) @@ -390,7 +390,7 @@ class table: public property_owner
{ } /** - * Move contstructor. + * Move constructor. */ table(table&& tbl) :property_owner(FT_ANY_ROW, FT_ANY_COLUMN, this), table_(tbl.table_) @@ -488,7 +488,7 @@ class table: public property_owner
{ * std::ostream is used. * * @param arg - * Obect that would be inserted in the current cell. + * Object that would be inserted in the current cell. * @return * - Reference to the current table. */ diff --git a/TestExcel/readStyle.cpp b/TestExcel/readStyle.cpp index bc9e61e7..820df783 100644 --- a/TestExcel/readStyle.cpp +++ b/TestExcel/readStyle.cpp @@ -80,7 +80,7 @@ int readGoogleSpreadsheet() } } - /* Deug Output + /* Debug Output 1 QVariant(double, 1) , style: 1 "" 2 QVariant(QString, "2") , style: 2 "" 3 QVariant(double, 3) , style: 3 "" @@ -96,7 +96,7 @@ int readGoogleSpreadsheet() am/pm h:mm:ss" 13 QVariant(QString, "312:0:0") , style: 13 "" */ - /* Testing fo read google spreadsheet file (made by google docs) + /* Testing of read google spreadsheet file (made by google docs) https://github.com/j2doll/QXlsx/blob/master/image/LibreOffice-Google-XLSX.png 1 QVariant(double, 1) OK:it's auto style (1) diff --git a/ToTest.md b/ToTest.md index c999fd2b..259ef8a5 100644 --- a/ToTest.md +++ b/ToTest.md @@ -1,6 +1,6 @@ # To Test - The following tests should be performed. - - Microsoft Excel, Google Spreadsheet, LibreOffice Calc Spreasheet + - Microsoft Excel, Google Spreadsheet, LibreOffice Calc Spreadsheet - Unicode test (filename :cloud:, filepath :cloud:, data value :sunny:) diff --git a/WebServer/recurse.hpp b/WebServer/recurse.hpp index 593c8e21..e874998a 100644 --- a/WebServer/recurse.hpp +++ b/WebServer/recurse.hpp @@ -151,7 +151,7 @@ namespace Recurse //! //! \brief The HttpServer class - //! Http (unsecure) server class + //! Http (insecure) server class //! class HttpServer : public QObject { diff --git a/WebServer/request.hpp b/WebServer/request.hpp index ea321b16..43bf5cfa 100644 --- a/WebServer/request.hpp +++ b/WebServer/request.hpp @@ -52,7 +52,7 @@ class Request //! //! \brief secure - //! Shorthand for protocol == "HTTPS" to check if a requet was issued via TLS + //! Shorthand for protocol == "HTTPS" to check if a request was issued via TLS //! bool secure = protocol == "HTTPS"; diff --git a/WhatType/CMakeLists.txt b/WhatType/CMakeLists.txt index cf27f9b4..8ca258e8 100644 --- a/WhatType/CMakeLists.txt +++ b/WhatType/CMakeLists.txt @@ -1,6 +1,6 @@ # CMakeLists.txt for Console Application -# TODO: Set minumum cmake version +# TODO: Set minimum cmake version cmake_minimum_required(VERSION 3.14) # TODO: Set project name