Numbering table caption in Appendix (style based on Heading 1) - ms-word

For an appendix in Word I've created a separate style "Appendix 1", based on Heading 1 because it has to show in the right order in the navigation pane. The appendix chapter is numbered using characters: A, B etc.
In the table caption I use a StyleRef field to "Appendix 1" in order to show the character "number" of the chapter. So far so good. For the numbering I used an SEQ field.
But ... there is my problem: the table caption doesn't restart at 1 at the beginning of a new appendix chapter. It continues the numbering.
The fieldcode switches \r or \r1 do reset, but I want to automate it with a button in the Ribbon to insert the table caption as an autotext. The \r is only necessary for the first table caption in the chapter. And what if the user decides to insert a table before the first table afterwards?
I can't figure out how to solve this. Does anyone have an idea how to approach this? Thank you in advance.
I've googled for this problem and every solution for numbering the appendices says that I have to use Heading 6 or 7. But then it doesn't show up correctly in the navigation pane.
I used this to get the result Table A.1, Table A.2 etc.
Table {STYLEREF "Appendix 1" \s} {SEQ AppendixTable \* ARABIC \s "Appendix 1"}
Problem: First table in Appendix B = Table B.3 but has to be B.1
I would like the table caption to restart at 1 every time a new chapter begins.

Related

How to add formatted row automatically to a table Word

I would like to know:
How to add automatically a formatted end row to all tables in a Word document?
I mean I have a Word document with a lot of tables. Some of them are spread over two or more pages. When a table is spread over several pages, I want to add **automatically ** a formatted end row like : "continued..." to each part of the table
I provide a example in attachment.enter image description here
https://www.intel.com/content/www/us/en/docs/programmable/683023/21-4/f-tile-channel-placement-tool.html
If anyone can help me.
Cotton
I want to add automatically a formatted end row like : "continued..." to each part of the table

How to Keep First Row and Second Row of Ms. Word Table in one page in BI Publisher Report?

My institution is using BI Publisher (Ms.Word add on) with Peoplesoft.
Now, I'm doing a report that will print a name and it's description in table format repeatedly. In some cases, the first and second row of the table will be separated in different page. I already tried to check the "Keep Lines Together" and deselect "allow row to break across pages" setting, but only worked with static table, not with table contains BI Publisher fields.
This is the screen shot (look at the red arrow).
First and second row of table are separated in different page
Anyone able to solve this issue? Thanks.
it was done..just create 1x1 table and set it to not allow break across pages. Then, put the the main table into that 1x1 table. Place the repeating tags outside the 1x1 table.
I solve this problem by this way.
Insert any filed into the bottom of the table,then change the filed property as
<?split-by-page-break:?>

Table in word cut off the text at bottom of it?

I have problem with table cut off the text at the bottom of the table. I have tried all the solutions from checking warping, and other table properties, but nothing worked.
Usually the "Allow row to break across pages" would solve your issue but is probably obstructed by the splitted cells in column one. I'd merge the cells in column one to get equal number of cells in column one and uncheck the "Allow row to break across pages" options on the Table Properties Row Tab.
Copy/paste the text to another part of the document outside of the table.
Then select the text and set Paragraph --> Indents/Spacing --> Line Spacing: Single
Copy/paste back to the table.

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.

Jasper Reports - How to group elements with a table so they only print if at least one row of the table has

I'm just wondering how I can set Jasper up with something along the lines of...
"Print this stuff first, BUT only if the subsequent table at least starts on the same page"
Note: "Title" and "Summary" aren't jasper title / summary bands. But just text that describes the data in the table.
This next picture is what I want to avoid:
I've tried placing everything in the same band and setting split to prevent, but I do want the table to split immediately. It would sometimes do this (even though there was enough room for the text, and some of the table):