Abstract
Automatic layout of tables is required in online applications because of the need to tailor the layout to the viewport width, choice of font, and dynamic content. However, if the table contains text, minimizing the height of the table for a fixed maximum width is NP-hard. Thus, more efficient heuristic algorithms are required. We evaluate the HTML table layout recommendation and find that while it generally produces quite compact layout it is brittle and can lead to quite uncompact layout. We present an alternate heuristic algorithm. It uses a greedy strategy that starts from the widest reasonable layout and repeatedly chooses to narrow the column for which narrowing leads to the least increase in table height. The algorithm is simple, fast enough to be used in online applications, and gives significantly more compact layout than is obtained with HTML’s recommended table layout algorithm.
Funder
Australian Research Council
Publisher
Association for Computing Machinery (ACM)
Subject
Computer Networks and Communications
Reference19 articles.
1. The table layout problem
2. Constraint cascading style sheets for the Web
3. Beach R. J. 1985. Setting tables and illustrations with style. Ph.D. dissertation University of Waterloo. Beach R. J. 1985. Setting tables and illustrations with style. Ph.D. dissertation University of Waterloo.
4. FITTING A TABLE TO A PAGE USING NONLINEAR OPTIMIZATION
5. A new model for automated table layout
Cited by
4 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献