I want to write the current page number of a page that contains a picture as text. and I want it to be updated if the page number changes.
Example:
Picture1 is on page 1.
On page 2 I'll write something like "look at my picture1 on page 1".
Then I add text at the beginning of page 1.
So Picture1 moves to page 2 and my text moves to page 3.
Now, I want to read on page 3 "look at my picture1 on page2".
Is it possible to generate a page number of a picture by using field functions?
Now I solved my problem by using cross-references.
Related
I'm making a Crystal Reports template. The template has some text in the header and then it has an image. If the text has a few lines, the image is normal and allowed in the first page, but if the text has many lines the image will be cut off in the first page and second page. Could it have ways to prevent the image from being cut off to the second page, such as auto-rescaling the image size?
I tried can grow and other settings in Crystal Reports 10, but it didn't work.
Report Design Picture
Make sure Keep Object Together in the properties of the image is checked. This will prevent CR to split your image across pages.
Best option in this case would be Create another section and place the image in that section instead of text and image in same section, This will force the image to go to another page if it doens't fit in first page.
For E.g, if data in report header, create one more section Report Header a and place text in that section and Report Header b and place image in this section
Apologize for my Chinese English.
i made a demo.
the list contains 3 data and can show in one page.
if i design template like this, it will show in one page.
show in one page
if i design template like this.it will show in two pages,
and the second page is blank.the height of detail band is same as paper's height.
show in two pages
i found the answer after searched with google for a long time.
i thinked i used list element in a wrong way.
properties of jasperreports list element have settings of cell height and cell width.i set the properity to be equal to the size of jasperreports list element first and it go wrong.
settings of jasperreports list element
this is the website i found answer.
https://community.jaspersoft.com/questions/541989/print-horizontal-list
I build report by using cross tab in crystal report in the first page i have title page that take area about 1/4 of the page consist with logo and report name and filter detail So on the second page it shown up the same position as the first page something that I want is to remove the report header section and move up the page header section and detail section to top on the 2nd page Thanks you for answer and i want to know Is this need to do ?? because some aspect of user tell that Its' okay don't move 2nd page up its should be like this same position same line its easy to read and compare the pages some aspect think that it's lost the area of the head of page 2 it's useless what should I do from here
To cojimarmiami,
i tried your suggestion formula but it' doesn't work when i preview it show just a page in horizantal by the vertical space separate it for 2 Block (not page) and when i printed its' come out 2 pages in A4 paper What should i do for the next step Thank you
you will have to place your logo, report name and filter on Page Header, then go to that Section Expert and place this formula on Suppress pagenumber <> 1. That is going to suppress that section if your are not on the first page.
How can I add a different text to each header and footer of each page in LibreOffice Writer? If I edit the header of a page, the text automatically changes on the others. I want them to behave independently.
EDIT: What I would like to achieve is this: let's say I have 7 pages, the first one doesn't have neither a header or a footer, it's just a simple page with an image.
The second page should have an "INDEX" header and a footer at the bottom of the page with the page number "2" on the right. The third page should have another header, or better a header with a different text, different text-size and with italic style, and the footer should have the page number "3", and so on.
If I click Insert->Fields->Number of pages I get the total of the pages of my document and this is not what I am looking for. But also clicking on Insert->Fields->Number of page doesn't help cause if I have e.g. the "INDEX" page and I click on Insert->Fields->Number of page, I get the number "3" instead of the number "2". Also I have noticed that my footer style is different on some pages, how can I make it the same for every page?
For different page numbering, you will have to use page styles. If your document contains a front page, one or more index pages, and the main content pages, you could create three different page styles (frontmatter, index, maincontent). To change from one page style to the next one, you need to set manual page breaks, telling LibreOffice which page style to use after the page break: Menu Insert -> Manual Break:
Using the "Style" ComboBox, you can select the page style to use for the pages following the break.
For each page style, you can set different headers / footers, e.g. to hide page numbering on the front page. Also, you can set the page numbering to start with 1 instead of the "physical" page number (for example, if the front page doesn't count as page 1, you could set the following page style to start with 1 instead 2).
The most important point is diving the document in logical units using page styles. After this is done, you can set different paragraph styles for each page element (header, footer), allowing to set a different text size only for the header of the "index" part of your document.
First off, I am using a version of iReport 2.0.0.
A customer has asked for a 2 page report. This report contains a header (which is shown on both pages with the page number and then some static information), one block of information that is queried from the Oracle server, and then about 7 static images that cover up the rest of the front page and the second.
The problem is, there is no way to create a second page in iReports. So to work around this, I tried doubling the page size for 2 pages and inserting a page break where the first page would end. While this looks great in iReports, when I execute it in PDF format, I get the first page with all the right information, and then 11 inches of white space, and then the page all correct, except with 11 inches of white space.
I tried shrinking the page back down to 11 inches again, however, when I do that I get a build error saying my details section is out of the margins and it just overlaps all my images and I basically just have one page again.
Does anyone have a solution for multiple pages like this? Thanks.
Put the page number and page header stuff in a page header band, then the database-driven data and the images in the detail band. Jasper should flow the images into the second page when it runs out of room on the first.