[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [lmi] master 830e1fd 130/156: Manually break column titles
From: |
Greg Chicares |
Subject: |
[lmi-commits] [lmi] master 830e1fd 130/156: Manually break column titles into lines |
Date: |
Tue, 30 Jan 2018 17:22:31 -0500 (EST) |
branch: master
commit 830e1fd8ede77053aecaddfb4520c328aecf042c
Author: Vadim Zeitlin <address@hidden>
Commit: Vadim Zeitlin <address@hidden>
Manually break column titles into lines
Explicitly insert new lines into the supplemental report columns titles
as PDF generation code doesn't wrap headers automatically.
---
ledger_evaluator.cpp | 122 +++++++++++++++++++++++++--------------------------
1 file changed, 61 insertions(+), 61 deletions(-)
diff --git a/ledger_evaluator.cpp b/ledger_evaluator.cpp
index f7df63d..83ea4ef 100644
--- a/ledger_evaluator.cpp
+++ b/ledger_evaluator.cpp
@@ -166,68 +166,68 @@ ledger_evaluator Ledger::make_evaluator() const
// they are defined only on a current basis--experience-rating
// columns, e.g.
- title_map["AVGenAcct_CurrentZero" ] = "Curr Charges Account
Value Gen Acct";
- title_map["AVGenAcct_GuaranteedZero" ] = "Guar Charges Account
Value Gen Acct";
- title_map["AVRelOnDeath_Current" ] = "Account Value
____Released on Death";
- title_map["AVSepAcct_CurrentZero" ] = "Curr Charges 0% Account
Value Sep Acct";
- title_map["AVSepAcct_GuaranteedZero" ] = "Guar Charges 0% Account
Value Sep Acct";
- title_map["AcctVal_Current" ] = " _____________ Curr
Account Value";
- title_map["AcctVal_CurrentZero" ] = "Curr Charges 0% Account
Value";
- title_map["AcctVal_Guaranteed" ] = " _____________ Guar
Account Value";
- title_map["AcctVal_GuaranteedZero" ] = "Guar Charges 0% Account
Value";
- title_map["AnnGAIntRate_Current" ] = " _____________ Curr Ann
Gen Acct Int Rate";
- title_map["AnnSAIntRate_Current" ] = " _____________ Curr Ann
Sep Acct Int Rate";
- title_map["AttainedAge" ] = " _____________
_____________ End of __Year Age";
- title_map["BaseDeathBft_Current" ] = " _____________ Curr Base
Death Benefit";
- title_map["BaseDeathBft_Guaranteed" ] = " _____________ Guar Base
Death Benefit";
- title_map["COICharge_Current" ] = " _____________
_____________ Curr COI Charge";
- title_map["COICharge_Guaranteed" ] = " _____________
_____________ Guar COI Charge";
- title_map["CSVNet_Current" ] = " _____________ Curr Net
Cash Surr Value";
- title_map["CSVNet_CurrentZero" ] = "Curr Charges 0% Net Cash
Surr Value";
- title_map["CSVNet_Guaranteed" ] = " _____________ Guar Net
Cash Surr Value";
- title_map["CSVNet_GuaranteedZero" ] = "Guar Charges 0% Net Cash
Surr Value";
- title_map["ClaimsPaid_Current" ] = " _____________ _______
Curr ___Claims ___Paid";
- title_map["CorridorFactor" ] = " _____________
_____________ Corridor Factor";
- title_map["DeathProceedsPaid_Current" ] = " _____________ Curr Death
Proceeds Paid";
- title_map["EOYDeathBft_Current" ] = " _____________ Curr EOY
Death Benefit";
- title_map["EOYDeathBft_Guaranteed" ] = " _____________ Guar EOY
Death Benefit";
- title_map["EeGrossPmt" ] = " _____________ ______ EE
Gross Payment";
- title_map["EeModalMinimumPremium" ] = "EE Modal Minimum Premium";
- title_map["ErGrossPmt" ] = " _____________ ______ ER
Gross Payment";
- title_map["ErModalMinimumPremium" ] = "ER Modal Minimum Premium";
- title_map["ExperienceReserve_Current" ] = " _____________ Experience
Rating Reserve";
- title_map["GrossIntCredited_Current" ] = "Curr Gross Int Credited";
- title_map["GrossPmt" ] = " _____________
_____________ Premium Outlay";
- title_map["InforceLives" ] = " _____________ ______BOY
_______Lives _______Inforce";
- title_map["IrrCsv_Current" ] = " _____________
_____________ Curr IRR on CSV";
- title_map["IrrCsv_Guaranteed" ] = " _____________
_____________ Guar IRR on CSV";
- title_map["IrrDb_Current" ] = " _____________
_____________ Curr IRR on DB";
- title_map["IrrDb_Guaranteed" ] = " _____________
_____________ Guar IRR on DB";
- title_map["KFactor_Current" ] = " _____________ Experience
_______Rating K Factor";
- title_map["LoanIntAccrued_Current" ] = " _____________ ____Curr
Loan Int __Accrued";
+ title_map["AVGenAcct_CurrentZero" ] = "Curr Charges\nAccount
Value\nGen Acct";
+ title_map["AVGenAcct_GuaranteedZero" ] = "Guar Charges\nAccount
Value\nGen Acct";
+ title_map["AVRelOnDeath_Current" ] = "Account Value\nReleased
on Death";
+ title_map["AVSepAcct_CurrentZero" ] = "Curr Charges\n0% Account
Value\nSep Acct";
+ title_map["AVSepAcct_GuaranteedZero" ] = "Guar Charges\n0% Account
Value\nSep Acct";
+ title_map["AcctVal_Current" ] = "Curr Account\nValue";
+ title_map["AcctVal_CurrentZero" ] = "Curr Charges\n0% Account
Value";
+ title_map["AcctVal_Guaranteed" ] = "Guar Account\nValue";
+ title_map["AcctVal_GuaranteedZero" ] = "Guar Charges\n0% Account
Value";
+ title_map["AnnGAIntRate_Current" ] = "Curr Ann\nGen Acct\nInt
Rate";
+ title_map["AnnSAIntRate_Current" ] = "Curr Ann\nSep Acct\nInt
Rate";
+ title_map["AttainedAge" ] = "End of\nYear Age";
+ title_map["BaseDeathBft_Current" ] = "Curr Base\nDeath Benefit";
+ title_map["BaseDeathBft_Guaranteed" ] = "Guar Base\nDeath Benefit";
+ title_map["COICharge_Current" ] = "Curr COI\nCharge";
+ title_map["COICharge_Guaranteed" ] = "Guar COI\nCharge";
+ title_map["CSVNet_Current" ] = "Curr Net\nCash\nSurr
Value";
+ title_map["CSVNet_CurrentZero" ] = "Curr Charges\n0% Net
Cash\nSurr Value";
+ title_map["CSVNet_Guaranteed" ] = "Guar Net\nCash\nSurr
Value";
+ title_map["CSVNet_GuaranteedZero" ] = "Guar Charges\n0% Net
Cash\nSurr Value";
+ title_map["ClaimsPaid_Current" ] = "Curr\nClaims\nPaid";
+ title_map["CorridorFactor" ] = "Corridor Factor";
+ title_map["DeathProceedsPaid_Current" ] = "Curr Death\nProceeds
Paid";
+ title_map["EOYDeathBft_Current" ] = "Curr EOY\nDeath Benefit";
+ title_map["EOYDeathBft_Guaranteed" ] = "Guar EOY\nDeath Benefit";
+ title_map["EeGrossPmt" ] = "EE Gross\nPayment";
+ title_map["EeModalMinimumPremium" ] = "EE
Modal\nMinimum\nPremium";
+ title_map["ErGrossPmt" ] = "ER Gross\nPayment";
+ title_map["ErModalMinimumPremium" ] = "ER
Modal\nMinimum\nPremium";
+ title_map["ExperienceReserve_Current" ] =
"Experience\nRating\nReserve";
+ title_map["GrossIntCredited_Current" ] = "Curr Gross\nInt Credited";
+ title_map["GrossPmt" ] = "Premium Outlay";
+ title_map["InforceLives" ] = "BOY\nLives\nInforce";
+ title_map["IrrCsv_Current" ] = "Curr IRR\non CSV";
+ title_map["IrrCsv_Guaranteed" ] = "Guar IRR\non CSV";
+ title_map["IrrDb_Current" ] = "Curr IRR\non DB";
+ title_map["IrrDb_Guaranteed" ] = "Guar IRR\non DB";
+ title_map["KFactor_Current" ] = "Experience\nRating K
Factor";
+ title_map["LoanIntAccrued_Current" ] = "Curr Loan\nInt\nAccrued";
title_map["ModalMinimumPremium" ] = "Modal Minimum Premium";
- title_map["NetCOICharge_Current" ] = "Experience _______Rating
_______Net COI Charge";
- title_map["NetClaims_Current" ] = " _____________
_____________ Curr Net Claims";
- title_map["NetDeathBenefit" ] = " _____________ __Net
__Death Benefit";
- title_map["NetIntCredited_Current" ] = " _____________ Curr Net
Int Credited";
- title_map["NetWD" ] = " _____________
_____________ _____________ Withdrawal";
- title_map["NewCashLoan" ] = " _____________
_____________ Annual Loan";
- title_map["Outlay" ] = " _____________
_____________ ____Net Outlay";
- title_map["PolicyFee_Current" ] = "Curr ____Policy Fee";
- title_map["PolicyYear" ] = " _____________
_____________ Policy __Year";
- title_map["ProjectedCoiCharge_Current" ] = "Experience Rating
Projected COI Charge";
- title_map["RiderCharges_Current" ] = " _____________
_____________ Curr Rider Charges";
- title_map["SepAcctCharges_Current" ] = "Curr Sep Acct Charges";
- title_map["SpecAmt" ] = " _____________
_____________ Specified Amount";
- title_map["SpecAmtLoad_Current" ] = " _____________ Curr Spec
Amt Load";
- title_map["SupplDeathBft_Current" ] = " _____________ Curr Suppl
Death Benefit";
- title_map["SupplDeathBft_Guaranteed" ] = " _____________ Guar Suppl
Death Benefit";
- title_map["SupplSpecAmt" ] = " _____________ Suppl
Specified Amount";
- title_map["TermPurchased_Current" ] = " _____________ Curr Term
Amt Purchased";
- title_map["TermPurchased_Guaranteed" ] = " _____________ Guar Term
Amt Purchased";
- title_map["TermSpecAmt" ] = " _____________ Term
Specified Amount";
- title_map["TotalLoanBalance_Current" ] = " _____________ Curr Total
Loan Balance";
- title_map["TotalLoanBalance_Guaranteed" ] = " _____________ Guar Total
Loan Balance";
+ title_map["NetCOICharge_Current" ] = "Experience\nRating\nNet
COI Charge";
+ title_map["NetClaims_Current" ] = "Curr Net\nClaims";
+ title_map["NetDeathBenefit" ] = "Net\nDeath Benefit";
+ title_map["NetIntCredited_Current" ] = "Curr Net\nInt Credited";
+ title_map["NetWD" ] = "Withdrawal";
+ title_map["NewCashLoan" ] = "Annual Loan";
+ title_map["Outlay" ] = "Net Outlay";
+ title_map["PolicyFee_Current" ] = "Curr\nPolicy Fee";
+ title_map["PolicyYear" ] = "Policy\nYear";
+ title_map["ProjectedCoiCharge_Current" ] =
"Experience\nRating\nProjected\nCOI Charge";
+ title_map["RiderCharges_Current" ] = "Curr Rider\nCharges";
+ title_map["SepAcctCharges_Current" ] = "Curr Sep\nAcct Charges";
+ title_map["SpecAmt" ] = "Specified Amount";
+ title_map["SpecAmtLoad_Current" ] = "Curr Spec\nAmt Load";
+ title_map["SupplDeathBft_Current" ] = "Curr Suppl\nDeath
Benefit";
+ title_map["SupplDeathBft_Guaranteed" ] = "Guar Suppl\nDeath
Benefit";
+ title_map["SupplSpecAmt" ] = "Suppl Specified Amount";
+ title_map["TermPurchased_Current" ] = "Curr Term\nAmt Purchased";
+ title_map["TermPurchased_Guaranteed" ] = "Guar Term\nAmt Purchased";
+ title_map["TermSpecAmt" ] = "Term Specified Amount";
+ title_map["TotalLoanBalance_Current" ] = "Curr Total\nLoan Balance";
+ title_map["TotalLoanBalance_Guaranteed" ] = "Guar Total\nLoan Balance";
// TODO ?? Titles ought to be read from an external file that
// permits flexible customization. Compliance might require that
- [lmi-commits] [lmi] master 34c088c 073/156: Move footer contents into an external template too, (continued)
- [lmi-commits] [lmi] master 34c088c 073/156: Move footer contents into an external template too, Greg Chicares, 2018/01/30
- [lmi-commits] [lmi] master 0ba1c32 146/156: Consistently use "curr" as abbreviation of "current", Greg Chicares, 2018/01/30
- [lmi-commits] [lmi] master 29865fc 133/156: Add supplemental report to NASD illustrations too, Greg Chicares, 2018/01/30
- [lmi-commits] [lmi] master 919d796 001/156: Remove old XSL-FO-based PDF generation code, Greg Chicares, 2018/01/30
- [lmi-commits] [lmi] master cc7fc05 143/156: Change template file extension from .mustache to .mst, Greg Chicares, 2018/01/30
- [lmi-commits] [lmi] master 08984bb 148/156: Recognize Mustache files in the coding rules test, Greg Chicares, 2018/01/30
- [lmi-commits] [lmi] master de5a5c7 151/156: Fix interpolate_string_test build, Greg Chicares, 2018/01/30
- [lmi-commits] [lmi] master bb5693e 136/156: Harmonize spacing in header in reg_d_group illustrations too, Greg Chicares, 2018/01/30
- [lmi-commits] [lmi] master 0c85a7a 154/156: Avoid using directive for the "html" namespace, Greg Chicares, 2018/01/30
- [lmi-commits] [lmi] master 463e8ca 138/156: Fix bug with page numbers in subsequent illustrations, Greg Chicares, 2018/01/30
- [lmi-commits] [lmi] master 830e1fd 130/156: Manually break column titles into lines,
Greg Chicares <=
- [lmi-commits] [lmi] master 43859a6 053/156: Add support for "measure only" output mode to wx_table_generator, Greg Chicares, 2018/01/30
- [lmi-commits] [lmi] master 772f4a4 139/156: Refactor: use get_fixed_page_contents_template_name(), Greg Chicares, 2018/01/30
- [lmi-commits] [lmi] master 81ccdc8 129/156: Remove the never used elements of the columns title map, Greg Chicares, 2018/01/30
- [lmi-commits] [lmi] master 2478fbc 010/156: Start implementing PDF illustrations directly, Greg Chicares, 2018/01/30
- [lmi-commits] [lmi] master 9d24cd9 024/156: Compilation fix for C++11 but not C++14 compilers, Greg Chicares, 2018/01/30
- [lmi-commits] [lmi] master 1229745 020/156: Make add_body_paragraph() even more convenient to use, Greg Chicares, 2018/01/30
- [lmi-commits] [lmi] master 14aca9e 142/156: Replace underscores in title map with explicit line breaks, Greg Chicares, 2018/01/30
- [lmi-commits] [lmi] master 5241f0f 045/156: Fix some typos in wx_table_generator::add_column() comment, Greg Chicares, 2018/01/30
- [lmi-commits] [lmi] master 47bddbf 155/156: Merge branch 'vz-no-xslfo' into gwc-no-xslfo, Greg Chicares, 2018/01/30
- [lmi-commits] [lmi] master a1342a9 106/156: Fix supplemental NASD illustration page for split premiums, Greg Chicares, 2018/01/30