I want to add a multiple page text to a report that is stored in the database as an HTML clob. I would like to split this text into two columns like this:
[part 1] [part 2]
[page break]
[part 3] [part 4]
[page break]
[part 5] ...
When I use a Dynamic Text item the HTML is rendered fine. But I cannot get it to split into two columns. I've tried making it small enough by setting the width property, adding it to the Detail area of a List item and setting the display property of the List and the Dynamic Text to all possible combinations of Block and Inline.
Is this even possible with BIRT?
Many thanks in advance.
Carsten
No, BIRT doesn't support a newspaper-like layout style.
Related
I have tried various HTML on the ckeditor demo page (https://docx-converter.cke-cs.com/demo) attempting to get a reliable 2 (Left, Right) or 3 column (Left, Center, Right) layout for the header, but am unable to get it work due to ckeditor docx conversion only supporting a limited number of css properties (https://ckeditor.com/docs/ckeditor5/latest/features/export-word.html#supported-css-properties)
So I thought perhaps a plain table layout would work. However, the table layout suffers from borders that I cannot seem to remove.
To make generating HTML easier, I found this ckeditor Import from word word-to-html converter (https://ckeditor.com/import-from-word/demo/#rest-api) so we can see what styles are actually accepted by creating a document in word and converting it to html. Then when it gets converted back to word we will know the html works.
Any thoughts or solutions would be greatly appreciated!
I'm on a project that uses CKEditor 4, and we're finding we have a need to change to an editor that stores its model data as a display-agnostic format. That is to say, I want to store the documents being created in a NON-HTML format, so that we're not subject to all the vagueries that HTML WYSIWYG editors come with.
Basically, we want to limit the document structure so that users can't create documents with very deep, difficult-to-parse/traverse HTML hierarchies, but produce simple documents where we control what's in them, and there's no possibility for "bad" HTML to get into them.
I know this can be accomplished somewhat with CKEditor 4, but even so, CKEditor 4 stores its documents as HTML. I would like something along the lines of what Google Docs seems to do - displays in HTML/JavaScript/CSS, etc. but works off a model that's not tied to these technologies.
Reading about CKEditor 5's model/view separation and transformations, it would seem like this is possible. However, creating transformations that suit us would be a huge project, so I'm wondering if there are already out there CKEditor plugins or other config options that would do what I need.
I'm just starting to search for an editor that does what I want, and CKEditor 5 was my first thought.
Is it possible to add two html string in one page ?
When the pdf is rendered, I can only see the second html. It seems that the first one is overwritten
The only way I have found that you can do this is to add each HTML to its own document then merge both documents together
theDoc.AddImageUrl(Url1);
theDoc2.AddImageUrl(Url2);
theDoc.Append(theDoc2);
I would like to have a two page Indesign document. First page has text + image and second page has 2 images. The images should come from a csv file that gets data merged with the Indesign document. Is this achievable. I have only been able to do a data merge when I have one page, but then all pages have the same layout. Is this possible and how do I do it? Thanks.
The solution is to work with XML files (File -> Import XML) instead of CSV. You can make any type of document and put XML objects in text fields, images, ... XML is much more flexible than CSV.
a CSV field that is named #photo1 will link to a file location
column F (for instance)
#photo1
c:\foldername\filename.jpg
c:\folder2name\subfolder\otherfile.png
f:\file3.tiff
What is the best practice to list all H1 titles in markup language in sorted list?
If I use [TOC] - order is somehow random. Is there a better way to do it than manually write all links in file?
I am using creole as markup language on BitBucket.
The syntax there is
<<toc />>
which shows all the H1,H2 etc on the pages.
To sort the pages I am putting 1_,2_,3_,... in front of the page titles (not the H1 but the page title). In this way the page names are also numbered and organised.
You can also move files inside different directories and then create a table of content for each directory <>