Comments (3)
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.
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.
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)
- Table cell background colours aren't showing in HTML exports
- release version 1.0.0
- Table nested in a table td doesn't respect the containing td's align value HOT 2
- NuGet package, swxben.reporting.System.Web
- Rename to Crispin
- Get PDF as byte[]
- DTD for the XRPT format
- Upgrade IKVM to 8.x
- Add support for unordered lists HOT 1
- Add support for ordered lists HOT 1
- Add support for definition lists HOT 1
- If incoming report markup has white space before the <?xml tag the parser fails
- Left padding a table causes layout issues in a PDF
- <a> tags aren't made into links in PDFs
- <a> tags aren't made into links in the HTML converter
- Byte order marks are killing XML loading
- Mix-in for reports that allows opening as a PDF HOT 1
- Reporting service to allow opening a report as a PDF
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from crispin.