Moving text and tables between pages after exporting in docx - jasper-reports

I'd like to be able to edit my word document like said in the title. This is what my document look like after exporting to docx:
Structure: the table is generated with seven cells in a detail band. Every page have a footer and header of fixed length.
Problem: if i delete something on the first page, my text on the second page doesn't go up to the first. I managed to get text and tables moving in the same page but can't figure out how to do this with different pages. Jasper export to .docx using tables, you can see the gridlines in the picture. Table structure prevent the elements to float between pages. If i delete manually the "header" and "footer" tables from the document, my second page cells go up to the first. But it's a pain to edit manually every page of a 20 pages document everytime.
Desired solution: I want the text or tables to go up if i'm simply deleting something on the previous page.
Tried every combination of floating elements, subreport, stretc and so on. Nothing worked.
I know Jasper is not intended for massive editing after exporting but this is what i need now.

Related

How can I use Footnotes with Oracle BI Publisher

I am putting a footnote in an .rtf template, and before generating a report it seems ok,
but when I load an XML sample and preview the document (.pdf or .doc etc.)
the footnote content goes right into the body of my report (example is in the picture).
I've tried using text boxes, but it doesn't help.
I've also tried just making a paragraph look as a footnote, but since I have a lot of
tags in my template, the footnote-looking text doesn't stay at the
bottom of the page.
and I can't use footers/headers because I need only one footnote at one page.
Try to draw a borderless table with one column and two rows where the first row has fixed hight (exactly) of the size of body, and the second row fixed hight of the size you want to reserve for the footer. Then you place your xml data in those two rows of the table the same way as you put it on the page. I use that for different forms when the position of the data is fixed. There are also other table/row/column properties that you might want to use.

How do I paste data into a table using Confluence 5.7?

I have a pile of tabular data I need to paste onto a Confluence web page. The usual mechanisms are NOT working properly for me.
What "usual mechanisms?"
Copy the data to Excel then copy / paste into Confluence.
Format the content using wiki markup, meaning:
double bars before / between / after the column header cells
single bars before / between / after the data cells
and paste that into the Wiki page.
The first option gets me a table, but it doesn't show the grid lines, and the sorting doesn't work.
The second option plops the markup into the page, but does nothing with it. If I go to the first line and hit <return> after the last bar, it turns the line into a table with a header row (since it has double-bars). If I go to the second line and hit <return> after the last bar, it creates A SEPARATE TABLE with the data in it. I can go to the first table (created from the header row), tell Confluence to add a row below, then copy the data from the second table into that second row and it will do it. But I will need to repeat that sequence for EACH ROW OF DATA.
I've just lived with in this in the past. When there's only a few rows, no biggie. But I'm trying to create a table with 200+ rows. That sequence just isn't acceptable for this amount of work.
Suggestions on how to get this working?
I went a circuitous route to accomplish this:
Made a text file with my information and tab-separated the fields
Pasted this data in to Google Sheets
Copied the cells from Google Sheets
Pasted them in to the a pre-made table in Confluence
It was still faster than writing each field manually.
To insert large tables with the second option you need to first hit Ctrl + Shift + D and then paste in the table in wiki markup form.
Wrap the table in any macros required if you know the macro name and parms. This can be a serious PITA to do after a table has been created in the Confluence 5 GUI.
Click Insert and the resulting table will be converted to the new wiki format into the page.
According to this link, I'd assume it's a bug with the version of Confluence, at least as far as the sorting goes.
Looking through the Confluence JIRA, there appear to have been several issues with copy/pasting from Excel over the development. At least there's a workaround:
Workaround:
Go to the editor again
Cut out the (unsortable) table
Paste it again
Mark the first row as Header
Save the page
-> Now the table is sortable
If that does not work, please install the The confluence source editor, then edit the page to:
Remove the row " "
Replace all "td" tag to "th" tag for the first row of the table. For example, the column name "Number" will need to change from "Number" to "Number".
My Excel has 10 K rows and some rows are with background color. To maintain the Cell background color I followed this steps
Saved the Excel File as HTML File
Open the HTML code, Copy the Complete TABLE (HTML CODE)
In Confluence page Insert HTML Macro
Insert your codes and see the cell color will maintain.

Record headers on side of report page for column-wise reports

I'm making a report with "horizontal" records, so that data in each record displays in a single column, and columns are repeated across the length of the page, so the data comes out like this:
The fields really need labels at the left side of the page, however I can't see how to make a "header" at the side of the page. The original report in Excel has something like this:
While I got the colum-wise records working fine, I'm puzzled as to how I can make the rightmost column into a label/header area. It will need to repeat on each page as well. I'm using the "format with multiple columns" feature in Section Expert. I see no such "column" feature for the header sections and if I just insert a text object into the Details column to the left of the data, I get that text copied over to each record like this:
How can I make these "side" headers along the left/right side of the page in Crystal?

Export PDF and supress page breaks

When I export my report to pdf, appear me weird page breaks.
If a lengthy report, that happens to me is that if a table does not fit in the remaining space of a page, it automatically passes me to the page below, thus creating blanks spaces.
Already have enabled the property Keep Together, interactive size to 0 and i unchecked keep together on one page if possible in tablix properties.
However I think the problem is not in the table, because before that, I have a textbox with a title, and is between the table and the textbox that makes page break.
I have already put the textbox and table inside a rectangle, but still have this problem.
Any suggestions?
Q: is the table / text box that responsible for the page break issue is inside a Subreport ?
If so, then this is your problem (unless you make a call that this table will always be short enough to stay in single page).
You have to understand: the subreport is the cause for the breaking, the table will not split because it is presented by the sub-report that has to stay in one piece.
The options are:
Stay with the subreport - but make sure that the table Maximum length will still fit the Page that the sub-report is lay in it.
take out the table from the subreport and place it directly in the main report - that way when the table too long to stay in single page, it will split into two pages.

SSRS unusual Pagebreak in a long text

i am creating a report for SQL Server 2008.
i have a table with some rows. One of the row has a long text which will be displayed. If the text has a certain length, the whole row will be displayed on the second page and the half of the first page is empty.
If the text is a bit shorter, the text will be displayed correctly on the first page.
If the text is a bit longer, the text will also be displayed correctly (the first part of the text on the first page, the second part on the second page).
I cant find any settings for this problem.
Does anyone have a solution?
Thanks
Alex
You could look at the Keep together on one page if possible setting at the Tablix level.
You can also look at the KeepTogether property at the row level and at other levels, e.g. Group.
Another option is to insert any objects to be kept together in a parent Rectangle object; this will always keep items together where possible.