[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [lmi] master a525e18 08/10: Reformat a block comment
From: |
Greg Chicares |
Subject: |
[lmi-commits] [lmi] master a525e18 08/10: Reformat a block comment |
Date: |
Fri, 27 Jul 2018 17:03:56 -0400 (EDT) |
branch: master
commit a525e187f0b739b0e18dfd9d56b375a3f2a0d983
Author: Gregory W. Chicares <address@hidden>
Commit: Gregory W. Chicares <address@hidden>
Reformat a block comment
---
report_table.hpp | 76 ++++++++++++++++++++++++++++----------------------------
1 file changed, 38 insertions(+), 38 deletions(-)
diff --git a/report_table.hpp b/report_table.hpp
index e337f6e..9ba01c6 100644
--- a/report_table.hpp
+++ b/report_table.hpp
@@ -30,44 +30,44 @@
#include <string>
#include <vector>
-// Elasticity and clipping
-//
-// Most columns are inelastic: they have a fixed minimum width and
-// are not clipped lest crucial information (e.g., part of a number)
-// be lost. The archetypal elastic column is a personal name, whose
-// width is practically unlimited and might even exceed the total page
-// width; it is better to truncate one extremely long personal name
-// than to present an error message and produce no report at all.
-//
-// An ideal report generator might call GetTextExtent() on every row
-// of data to determine a column's ideal width, but this one favors
-// speed by setting a presumptive maximum width for each column.
-// Therefore, it treats a personal-name column as having no natural
-// width at all. Its minimum width might be set equal to its header
-// width, but such a refinement is needless in the problem domain. In
-// the most extreme case, all inelastic columns would fit, but there
-// would be not a single pixel available for elastic columns, which
-// would all in effect be dropped; again, in the problem domain, that
-// would actually be preferable to failing to produce any output.
-//
-// Therefore, elastic columns are clipped, and inelastic ones are not.
-// All other column properties are independent, and specified by
-// arguments, but clipping depends on the elasticity argument. It is
-// distinguished only because clipping is a distinct layout operation.
-//
-// - is_hidden(): Data for every row of all potential columns are
-// passed into this class; hidden columns are suppressed so that
-// they don't appear in the output at all.
-//
-// - is_elastic(): An elastic column has no innate fixed or preferred
-// width. After all inelastic columns have claimed their required
-// widths, any remaining width available is prorated among elastic
-// columns, which therefore may be wider than their widest contents
-// or narrower than their narrowest. As a consequence, elastic
-// columns are clipped--vide supra.
-//
-// - is_clipped(): A clipped column is truncated to fit its allotted
-// space. Only elastic columns are clipped--vide supra.
+/// Elasticity and clipping
+///
+/// Most columns are inelastic: they have a fixed minimum width and
+/// are not clipped lest crucial information (e.g., part of a number)
+/// be lost. The archetypal elastic column is a personal name, whose
+/// width is practically unlimited and might even exceed the total page
+/// width; it is better to truncate one extremely long personal name
+/// than to present an error message and produce no report at all.
+///
+/// An ideal report generator might call GetTextExtent() on every row
+/// of data to determine a column's ideal width, but this one favors
+/// speed by setting a presumptive maximum width for each column.
+/// Therefore, it treats a personal-name column as having no natural
+/// width at all. Its minimum width might be set equal to its header
+/// width, but such a refinement is needless in the problem domain. In
+/// the most extreme case, all inelastic columns would fit, but there
+/// would be not a single pixel available for elastic columns, which
+/// would all in effect be dropped; again, in the problem domain, that
+/// would actually be preferable to failing to produce any output.
+///
+/// Therefore, elastic columns are clipped, and inelastic ones are not.
+/// All other column properties are independent, and specified by
+/// arguments, but clipping depends on the elasticity argument. It is
+/// distinguished only because clipping is a distinct layout operation.
+///
+/// - is_hidden(): Data for every row of all potential columns are
+/// passed into this class; hidden columns are suppressed so that
+/// they don't appear in the output at all.
+///
+/// - is_elastic(): An elastic column has no innate fixed or preferred
+/// width. After all inelastic columns have claimed their required
+/// widths, any remaining width available is prorated among elastic
+/// columns, which therefore may be wider than their widest contents
+/// or narrower than their narrowest. As a consequence, elastic
+/// columns are clipped--vide supra.
+///
+/// - is_clipped(): A clipped column is truncated to fit its allotted
+/// space. Only elastic columns are clipped--vide supra.
class LMI_SO table_column_info
{
- [lmi-commits] [lmi] master updated (da8e769 -> caaecd8), Greg Chicares, 2018/07/27
- [lmi-commits] [lmi] master e30fcc9 01/10: Transplant code that adds bilateral column margins, Greg Chicares, 2018/07/27
- [lmi-commits] [lmi] master 1430c70 03/10: Consolidate documentation, Greg Chicares, 2018/07/27
- [lmi-commits] [lmi] master 521d3c4 04/10: Improve documentation, Greg Chicares, 2018/07/27
- [lmi-commits] [lmi] master 3b4357b 05/10: Consolidate documentation, Greg Chicares, 2018/07/27
- [lmi-commits] [lmi] master 6d64140 02/10: Rename class wx_table_generator::column_info --> table_column_info, Greg Chicares, 2018/07/27
- [lmi-commits] [lmi] master caaecd8 10/10: Fix defect introduced 20180723T1356Z: passkey not updated, Greg Chicares, 2018/07/27
- [lmi-commits] [lmi] master a525e18 08/10: Reformat a block comment,
Greg Chicares <=
- [lmi-commits] [lmi] master 74183c6 09/10: Augment unit test, Greg Chicares, 2018/07/27
- [lmi-commits] [lmi] master f89e234 06/10: Replace a member with a free function, Greg Chicares, 2018/07/27
- [lmi-commits] [lmi] master f950086 07/10: Split some code into new source files, adding an inchoate unit test, Greg Chicares, 2018/07/27