Skip to content

Add a support for the section-report format#106

Merged
hidakatsuya merged 20 commits intothinreports:masterfrom
misoca:section-report-for-pr
Nov 29, 2020
Merged

Add a support for the section-report format#106
hidakatsuya merged 20 commits intothinreports:masterfrom
misoca:section-report-for-pr

Conversation

@hidakatsuya
Copy link
Member

@hidakatsuya hidakatsuya commented Oct 6, 2020

Introduction

This pull request is one of the activities to support a new report type called section-report format. See Issue: Implement "New Report Type: Section Report" for the details.

Summary

This pull request adds a support for the section-report format proposed at the Issue: New Report Type: SectionReport to the generator.

Getting Started

Prerequisites

To generate PDF with the section-report format, you need a template (tlf) file for the section-report format. You have to use the new Thinreports Editor to create a template file for the section-report format.

Examples

Some example codes (Ruby codes, templates, and output PDFs) are listed at the Issue: Implement "New Report Type: Section Report".

Implementation Status

Here is the current implementation status based on the feature concept in Issue: New Report Type: SectionReport.

Not Implemented

  • fixed at the bottom property for footer sections
  • page-number item

Additional Features

  • stack-view item
  • offset_x and offset_y parameters for item position translation
    • See Item Parameter for details
    • Limitation: Only supports image-block items
  • automatic shrink
  • follow-stretch property, which specifies how to change the layout of an item according to the stretch of the section or the stack-view-row

Known Issues

  • performance problem
    • The height calculations of sections or stack-view-rows are called several times

sunflat and others added 20 commits October 6, 2020 15:17
- affect-bottom-margin
- follow-stretch

Co-authored-by: kosappi <kosaka.ryuichi@misoca.jp>
Co-authored-by: Katsuya HIDAKA <hidakatsuya@gmail.com>
Co-authored-by: kosappi <kosaka.ryuichi@misoca.jp>
Co-authored-by: Katsuya HIDAKA <hidakatsuya@gmail.com>
- Backword compatibility is kept.
- Drawing size of image block and text block can be got.
- Some attributes of an item can be changed at drawing.

Co-authored-by: kosappi <kosaka.ryuichi@misoca.jp>
Co-authored-by: Katsuya HIDAKA <hidakatsuya@gmail.com>
Co-authored-by: kosappi <kosaka.ryuichi@misoca.jp>
Co-authored-by: Katsuya HIDAKA <hidakatsuya@gmail.com>
Co-authored-by: kosappi <kosaka.ryuichi@misoca.jp>
Co-authored-by: Katsuya HIDAKA <hidakatsuya@gmail.com>
Co-authored-by: Katsuya HIDAKA <hidakatsuya@gmail.com>
Co-authored-by: Katsuya HIDAKA <hidakatsuya@gmail.com>
Co-authored-by: Katsuya HIDAKA <hidakatsuya@gmail.com>
Co-authored-by: Katsuya HIDAKA <hidakatsuya@gmail.com>
Co-authored-by: Katsuya HIDAKA <hidakatsuya@gmail.com>
Co-authored-by: Katsuya HIDAKA <hidakatsuya@gmail.com>
Co-authored-by: Katsuya HIDAKA <hidakatsuya@gmail.com>
Co-authored-by: Katsuya HIDAKA <hidakatsuya@gmail.com>
Co-authored-by: Katsuya HIDAKA <hidakatsuya@gmail.com>
Co-authored-by: Katsuya HIDAKA <hidakatsuya@gmail.com>
Co-authored-by: Katsuya HIDAKA <hidakatsuya@gmail.com>
Co-authored-by: Katsuya HIDAKA <hidakatsuya@gmail.com>
Co-authored-by: Katsuya HIDAKA <hidakatsuya@gmail.com>
Co-authored-by: Katsuya HIDAKA <hidakatsuya@gmail.com>
@hidakatsuya hidakatsuya force-pushed the section-report-for-pr branch from 5d3eb39 to da03fac Compare October 6, 2020 06:18
@hidakatsuya hidakatsuya merged commit 375435a into thinreports:master Nov 29, 2020
@hidakatsuya hidakatsuya deleted the section-report-for-pr branch November 29, 2020 16:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants