Changeset View
Changeset View
Standalone View
Standalone View
kmymoney/mymoney/mymoneyreport.cpp
Context not available. | |||||
57 | m_tax(false), | 57 | m_tax(false), | ||
---|---|---|---|---|---|
58 | m_investments(false), | 58 | m_investments(false), | ||
59 | m_loans(false), | 59 | m_loans(false), | ||
60 | m_hideTransactions(false), | ||||
60 | m_reportType(kTypeArray[eExpenseIncome]), | 61 | m_reportType(kTypeArray[eExpenseIncome]), | ||
61 | m_rowType(eExpenseIncome), | 62 | m_rowType(eExpenseIncome), | ||
62 | m_columnType(eMonths), | 63 | m_columnType(eMonths), | ||
Context not available. | |||||
106 | m_tax(false), | 107 | m_tax(false), | ||
107 | m_investments(false), | 108 | m_investments(false), | ||
108 | m_loans(false), | 109 | m_loans(false), | ||
110 | m_hideTransactions(false), | ||||
109 | m_reportType(kTypeArray[_rt]), | 111 | m_reportType(kTypeArray[_rt]), | ||
110 | m_rowType(_rt), | 112 | m_rowType(_rt), | ||
111 | m_columnsAreDays(false), | 113 | m_columnsAreDays(false), | ||
Context not available. | |||||
347 | e.setAttribute("tax", m_tax); | 349 | e.setAttribute("tax", m_tax); | ||
348 | e.setAttribute("investments", m_investments); | 350 | e.setAttribute("investments", m_investments); | ||
349 | e.setAttribute("loans", m_loans); | 351 | e.setAttribute("loans", m_loans); | ||
352 | e.setAttribute("hidetransactions", m_hideTransactions); | ||||
350 | e.setAttribute("rowtype", kRowTypeText[m_rowType]); | 353 | e.setAttribute("rowtype", kRowTypeText[m_rowType]); | ||
351 | e.setAttribute("datelock", kDateLockText[m_dateLock]); | 354 | e.setAttribute("datelock", kDateLockText[m_dateLock]); | ||
352 | e.setAttribute("datalock", kDataLockText[m_dataLock]); | 355 | e.setAttribute("datalock", kDataLockText[m_dataLock]); | ||
Context not available. | |||||
383 | e.setAttribute("dataMinorTick", m_dataMinorTick); | 386 | e.setAttribute("dataMinorTick", m_dataMinorTick); | ||
384 | e.setAttribute("dataLock", m_dataLock); | 387 | e.setAttribute("dataLock", m_dataLock); | ||
385 | e.setAttribute("skipZero", m_skipZero); | 388 | e.setAttribute("skipZero", m_skipZero); | ||
389 | e.setAttribute("detail", kDetailLevelText[m_detailLevel]); | ||||
386 | 390 | | |||
387 | if (m_reportType == ePivotTable) { | 391 | if (m_reportType == ePivotTable) { | ||
388 | e.setAttribute("type", "pivottable 1.15"); | 392 | e.setAttribute("type", "pivottable 1.15"); | ||
389 | e.setAttribute("detail", kDetailLevelText[m_detailLevel]); | | |||
390 | e.setAttribute("columntype", kColumnTypeText[m_columnType]); | 393 | e.setAttribute("columntype", kColumnTypeText[m_columnType]); | ||
391 | e.setAttribute("showrowtotals", m_showRowTotals); | 394 | e.setAttribute("showrowtotals", m_showRowTotals); | ||
392 | } else if (m_reportType == eQueryTable) { | 395 | } else if (m_reportType == eQueryTable) { | ||
Context not available. | |||||
405 | e.setAttribute("querycolumns", columns.join(",")); | 408 | e.setAttribute("querycolumns", columns.join(",")); | ||
406 | } else if (m_reportType == eInfoTable) { | 409 | } else if (m_reportType == eInfoTable) { | ||
407 | e.setAttribute("type", "infotable 1.0"); | 410 | e.setAttribute("type", "infotable 1.0"); | ||
408 | e.setAttribute("detail", kDetailLevelText[m_detailLevel]); | | |||
409 | e.setAttribute("showrowtotals", m_showRowTotals); | 411 | e.setAttribute("showrowtotals", m_showRowTotals); | ||
410 | } | 412 | } | ||
411 | 413 | | |||
Context not available. | |||||
649 | m_tax = e.attribute("tax", "0").toUInt(); | 651 | m_tax = e.attribute("tax", "0").toUInt(); | ||
650 | m_investments = e.attribute("investments", "0").toUInt(); | 652 | m_investments = e.attribute("investments", "0").toUInt(); | ||
651 | m_loans = e.attribute("loans", "0").toUInt(); | 653 | m_loans = e.attribute("loans", "0").toUInt(); | ||
654 | m_hideTransactions = e.attribute("hidetransactions", "0").toUInt(); | ||||
652 | m_includeSchedules = e.attribute("includeschedules", "0").toUInt(); | 655 | m_includeSchedules = e.attribute("includeschedules", "0").toUInt(); | ||
653 | m_columnsAreDays = e.attribute("columnsaredays", "0").toUInt(); | 656 | m_columnsAreDays = e.attribute("columnsaredays", "0").toUInt(); | ||
654 | m_includeTransfers = e.attribute("includestransfers", "0").toUInt(); | 657 | m_includeTransfers = e.attribute("includestransfers", "0").toUInt(); | ||
Context not available. |