skip to main content
10.1145/1096601.1096626acmconferencesArticle/Chapter ViewAbstractPublication PagesdocengConference Proceedingsconference-collections
Article

Constrained XSL formatting objects for adaptive documents

Published: 02 November 2005 Publication History

Abstract

The pagination strategy of XSL Formatting Objects (XSL:FO) is based on a "break if no fit" approach that often produces one last page with only one printable object due to a lack of space on the previous page. On a batch, high volume, personalized document production scenario, this fact can represent a high cost on extra sheets of paper with a lot of free space and a document with a poor look. In this paper, we describe a new approach to solve the pagination problem of XSL:FO documents where space use efficiency and aesthetic aspects are considered. The approach is based on constraint satisfaction using Mixed Integer Linear Programming (MILP) models. The starting point was the FO part of XSL specification, where we added a Constrained XSL:FO extension (referred to as CXSL:FO) that delivers tags used to declare constraints on size and font adjustments of target FO objects. This extension is added to our reengineered FOP formatter that builds and solves an MILP model to find the global optimal solution corresponding to a document with the minimum number of pages, each one being maximally filled. We show its effectiveness in the generation of personalized welcome letters.

References

[1]
Extensible Stylesheet Language (XSL), Version 1.0, W3C Recommendation, 2001. http://www.w3.org/TR/xsl/
[2]
FOP, Formatting Objects Processor, Apache's XML Graphics project. http://xml.apache.org/fop/.
[3]
Eikland, K., Notebaert, P. and Berkelaar, M. LpSolve, Mixed Integer Programming Solver.
[4]
Brados, G.J., Borning, A. and Stuckey, P.J. 1999. Constraint Cascading Style Sheets for the Web. Proceedings of UIST'99, 73--82.
[5]
Pisinger, D. and Sigur, M. 2001. Using Decomposition Techniques and Constraint Programming for Solving the Two-Dimensional Bin Packing Problem.

Cited By

View all
  • (2011)High-quality pagination for publishingSoftware: Practice and Experience10.1002/spe.109642:6(733-751)Online publication date: 13-Jul-2011
  • (2009)Review of automatic document formattingProceedings of the 9th ACM symposium on Document engineering10.1145/1600193.1600217(99-108)Online publication date: 16-Sep-2009
  • (2006)Minimum sized text containment shapesProceedings of the 2006 ACM symposium on Document engineering10.1145/1166160.1166165(3-12)Online publication date: 10-Oct-2006

Recommendations

Comments

Information & Contributors

Information

Published In

cover image ACM Conferences
DocEng '05: Proceedings of the 2005 ACM symposium on Document engineering
November 2005
252 pages
ISBN:1595932402
DOI:10.1145/1096601
Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

Sponsors

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 02 November 2005

Permissions

Request permissions for this article.

Check for updates

Author Tags

  1. MILP
  2. XSL:FO
  3. adaptive documents
  4. constraints
  5. pagination

Qualifiers

  • Article

Conference

DocEng05
Sponsor:
DocEng05: ACM Symposium on Document Engineering
November 2 - 4, 2005
Bristol, United Kingdom

Acceptance Rates

Overall Acceptance Rate 194 of 564 submissions, 34%

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)0
  • Downloads (Last 6 weeks)0
Reflects downloads up to 15 Feb 2025

Other Metrics

Citations

Cited By

View all
  • (2011)High-quality pagination for publishingSoftware: Practice and Experience10.1002/spe.109642:6(733-751)Online publication date: 13-Jul-2011
  • (2009)Review of automatic document formattingProceedings of the 9th ACM symposium on Document engineering10.1145/1600193.1600217(99-108)Online publication date: 16-Sep-2009
  • (2006)Minimum sized text containment shapesProceedings of the 2006 ACM symposium on Document engineering10.1145/1166160.1166165(3-12)Online publication date: 10-Oct-2006

View Options

Login options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Figures

Tables

Media

Share

Share

Share this Publication link

Share on social media