Code Monkey home page Code Monkey logo

Comments (3)

becdetat avatar becdetat commented on August 17, 2024

Awesome suggestions, thanks (and thanks for your email as well). I'll see what I can do when I have some free time. Meanwhile, please feel free to submit PRs if you want. Cheers :-)

from crispin.

becdetat avatar becdetat commented on August 17, 2024

Ok, I remember why it converts to CS. I didn't want a compile step to be part of the runtime story. This library is used by several rich client applications (WinForms and WPF). Runtime compilation of the reports has two problems in those scenarios:

  • Long lead time on startup
  • Need to bundle the source files with the system, adding to deployment complexity and giving end-users access to the runtime (potential security hole)

Situations where this isn't an issue - ie websites - you can just use a Razor view to generate the markup for the report directly, and cache it if needed. Note that you don't need to use Razor to use Crispin, you can just push the xrpt format straight in. I use RazorGenerator for the example application and library, and to generate a report DLL for the commercial applications that use Crispin.

from crispin.

becdetat avatar becdetat commented on August 17, 2024

Re points one and two, it would probably be easier to add a preliminary step to convert a HTML document to something supported, ie wrap it in the required /report/content/pageSequence tags and do other changes. I'll see what I can put together but it is likely to be fairly buggy but interesting. One of the big sticking points is CSS support (or lack thereof) which is why there are a heap of custom tags around styling the resulting XSL-FO.

from crispin.

Related Issues (19)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.