Forcing each paragraph of a list in a different page
Hi everyone,
It is possible to "force" an overflow in a paragraph list for each paragraph? Here the details...
My scenario:
- Documaker 12.1
- XML input like this...
<CONTAINER SEQUENCE_NUMBER="1" TOTAL="200000.00000" CT_DATE="2013-04-01T00:00:00">
<DOCUMENT DOC_DATE="2012-10-12T00:00:00" FORM_NUMBER="DOC-GEN-001">
<DOCUMENT ID="123123" />
</DOCUMENT>
</CONTAINER>
<CONTAINER SEQUENCE_NUMBER="2" TOTAL="100000.00000" CT_DATE="2013-04-11T00:00:00">
<DOCUMENT DOC_DATE="2012-10-12T00:00:00" FORM_NUMBER="DOC-GEN-002">
<DOCUMENT ID="321321" />
</DOCUMENT>
</CONTAINER>
Also, I have a form with 3 sections: a header, a body, and the footer...
In the header section I need the SEQUENCE_NUMBER and CT_DATE
In the footer section I need the FORM_NUMBER and a classical current page/total label.
In the body section I have a field with the paragraph list, but what I need is that each paragraph in this element appears in a different page, so they can have it's own header and footer with the corresponding data.
Page 1: (first occurence of CONTAINER_SEQUENCE)
Header: Document number: 1 / Date: 2013-04-01
Body: Here the content of the triggered paragraph
Footer: Form number: DOC-GEN-001 / Page 1 of 2
Page 2: (second occurence of CONTAINER_SEQUENCE)
Header: Document number: 2 / Date: 2013-04-11
Body: Here the content of the triggered paragraph
Footer: Form number: DOC-GEN-002 / Page 2 of 2
</br>
Can be done something like this using paragraph lists?
Thanks in advance!
Max.
Thanks, but I already have a lot of legacy documents working through paragraph selection, so it would be a huge effort change everything.
I already fixed this issue, it's done with iterative XDD triggering, where each paragraph is being triggered by a DAL function who match a condition with the value of the current iteration field. If anyone need more details just ask me.
Max.
Similar Messages
-
Select List with Submit refreshes page to top force users to scroll down
Hello All,
I have Dependent Select List where this functionality driving select list submit values to a subsequent select list.
The "Select List with Submit" refreshes page where the unintended by-product is page refresh, which returns to top of page and therefore force users to scroll back down.
In other words: I have a long form page where I have a Dependent Select List. So when you change the value of the 1st select list it refreshes the 2nd. This is all fine, but when the refresh occurs, the Form-focus returns to the top of page. This makes the users scroll back down to the lower end of the Form where they left off. This would make usability problems for users.
Anyway we can make the Form return where to the area(Item or Region) where the user was during the selection of the Select List?
Thanks in advance,
KonstantineHURRAY!! I got it to work perfectly using anchors. I am adding this message to help future ApEx developers.
I have been searching the Forum for 3 days and have read numerous postings. There was a lot of good discussion on anchors and linking from page to page. But, nothing exactly like my situation.
Situation: Have a page, PG4, with a button, PG4_BUTTON, that redirects to a different page, PG7. PG4_BUTTON has its 'Display In Region' field set to PG4_REGION. When PG4 is run and the form displays, the PG4_BUTTON is located at the bottom. When the user would click PG4_BUTTON, the user would be taken to PG7. (this is good) The user enters some data in PG7 fields and then clicks a create button, PG7_BUTTON. PG7_BUTTON would submit data. An After Processing, Go To Page, Branch would be activated when this button was pressed and then the user would be returned to a refreshed PG4, at the top. This forces the user each time to have to scroll down to the bottom of PG4 to continue. (this is NOT good)
Solution: On PG4, I edited the region, PG4_REGION. For the region 'Title' I added an anchor before the actual name. So it looked like this:
{a name="REGION_TO_RETURN_TO"></a}PG4_REGION
please note: where I have the curly braces above '{' '}' you need to put < the pointed and '>'
Next, on PG7, I edited the Branch. On the 'Edit Branch' page, in the 'Action' region, I changed the 'Target type' field from 'Page in this Application' to 'URL'.
To the 'URL Target' text area field I added this:
f?p=&APP_ID.:4:&SESSION.::::::#REGION_TO_RETURN_TO
So, there you have it. If you still need to read other postings, here are a couple of the sites I read:
Re: Lists that go to items
Re: URL target on a button. What is the syntax??
How to use <a name="top">Hello I'm at the top </a> tags in apex url ?
Re: anchor or go to item from a branch
http://www.oracle.com/technology/products/database/application_express/howtos/howto_navigate_in_a_page-1.6.html
http://www.echoecho.com/htmllinks.htm
http://www.htmlcodetutorial.com/linking/linking.html
http://www.w3schools.com/HTML/html_links.asp
Thanks,
Maggie -
Paragraphs to Selectable List Script (optimized)
As this script may be of interest to some, I'm posting this version.
This appears to be a troublefree script for converting paragraphs of text to a selectable list while:
1) Getting rid of leading AND trailing white space
2) Preserving punctuation
3) It eliminates a problem where getting rid of trailing white space did not work if there was no leading white space to begin with
4) It is based on submissions by Yvan Koenig and Hiroto with modifications by osimp
It does NOT eliminate blank paragraphs
set myT to "PARAGRAPH 1, and ?!% for punctuation
PARAGRAPH 2
PARAGRAPH 3"
(*Add leading and trailing white space to each paragraph if
it doesn't show up in this post*)
set L to every paragraph of myT
repeat with i from 1 to (count L)
set para to item i of L
repeat while (para starts with space) or (para starts with tab)
set para to (rest of every character of para) as text
end repeat
--IMPORTANT: 1) THE TRY/END TRY BLOCK IS NECESSARY IN THE EVENT OF A BLANK LINE *if* 2) THE 'REPEAT WHILE LAST CHARACTER OF PARA IS " "' BLOCK (below) IS USED (to delete trailing white space). ALSO: positioning of the "end repeats" is crucial; if incorrect, the trailing white space block won't work if no paragraph has leading white space (etc.)! The arrangement shown here appears to be correct.
try
repeat while last character of para is " "
set para to characters 1 thru {(count characters of para) - (1)} of para as text
end repeat
end try
set item i of L to para
end repeat
set _ to choose from list L --with empty selection allowed
if _ is false then error number -128
set mySelection to _ as string
return mySelection
2.7G5 AND OTHERS Mac OS X (10.4.5)It does NOT eliminate blank paragraphs
set item i of L to para
It does NOT eliminate blank paragraphs, because you maintaining the structure of L.
If you want to get rid of blank line, you need to reconstruct L by changing the script a bit:
set myT to " PARAGRAPH 1, and ?!% for punctuation
PARAGRAPH 2
PARAGRAPH 3 "
(*Add leading and trailing white space to each paragraph if
it doesn't show up in this post*)
set L to {}
repeat with para in every paragraph of myT
repeat while (para starts with space) or (para starts with tab)
set para to (rest of every character of para) as text
end repeat
--IMPORTANT: 1) THE TRY/END TRY BLOCK IS NECESSARY IN THE EVENT OF A BLANK LINE *if* 2) THE 'REPEAT WHILE LAST CHARACTER OF PARA IS " "' BLOCK (below) IS USED (to delete trailing white space). ALSO: positioning of the "end repeats" is crucial; if incorrect, the trailing white space block won't work if no paragraph has leading white space (etc.)! The arrangement shown here appears to be correct.
try
repeat while last character of para is " "
set para to characters 1 thru {(count characters of para) - (1)} of para as text
end repeat
end try
if para as string is not "" then copy para to end of L
end repeat
set _ to choose from list L --with empty selection allowed
if _ is false then error number -128
set mySelection to _ as string
return mySelection -
i have imported three gmail accounts into mac's mail client. can i do anything to distinguish between them? e.g., can i have each one appear in the mail list in a different color? I don't want to do it by sender, but by email account.
Welcome to the Apple Community.
Enter the details of her second account at system preferences> mail, contacts & calendars. -
How to create a background image for each item in a List object
Hello.
I am trying to create a background image that displays whenever a user posts something to a list. For example when a user posts text it would appear in a list. The new item in the list would contain a specific background image with the users text appearing on top of the background image. I do not want a background image for the entire list, rather each item within the list.
I am not sure how clear this is so I added an image below. When a user enters text in and clicks the "post-it" button their text would appear below with the sticky note background.
I am not sure which list type would be best for this problem or how to create insert the image, so I am open to suggestions.
Thank you for your help. Any advice or guidance will be greatly appreciated!Hi
the easiest way would be with itemRenderer.
You have to do two things:
1. In your list declaration use a item renderer: <mx:List itemRenderer="myRenderer"/>
2. create a flex component myRenderer that will be the single item. This can be a canvas with a background image and a text field on it.
When you add a new item to the list, a new myRenderer item will be created and the data property will be passed to it. So you have to put "data" in your textField.
If you need more help try looking at Tour de Flex samples, they're pretty easy.
Andrei -
Need to 5 spaces before each paragraph and 5 lines between paragraphs
Hello,
I need to write a program to insert 5 spaces (indent) before each 1st line of the paragraph and 5 spaces between each paragraph....I am new to java so I don't understand everything I write and I try and use what is out of the book...so far have done well until this assignment. My program below does create a new history.d2 file but it is blank....anyone have any input to offer or can you help me understand where I am going wrong in the program....thank you kindly.
I am playing with the program now just to see if I can find my error but of course don't fully understand the function of every line so having trouble finding my error.....at the end of my program is the file of what I am trying to edit into the new file history.d2.
import java.io.*; //import class we need in order to read from a file
import java.util.Scanner; //import class we need in order to read from a file
public class History //class History
public static Scanner inFile;
public static PrintWriter outFile;
public static void main(String[] args) //main method
throws IOException //a pre-defined Java exception - if file history.d1 not found, throws IOException error
String inputString;
// int index;
Scanner inFile= new Scanner(new FileReader("history.d1")); //it opens history.d1
PrintWriter outFile= new PrintWriter(new FileWriter("history.d2")); //instantiates an output file with the name "history.d2"
while (inFile.hasNextLine())
inputString=inFile.nextLine();
// index=inputString.indexOf(' ');
// while (index != -1)
if (inputString.length()!= 1)
outFile.println(" ");
else if (inputString.length() == 1)
System.out.println();
System.out.println();
System.out.println();
System.out.println();
System.out.println();
outFile.close();
inFile.close();
history.d1 file:
The Abacus (which appeared in the sixteenth century) was the
first calculator. In the middle of the seventeenth century
Blaise Pascal, a French mathematician, built and sold gear-
driven mechanical machines which performed whole number
addition and subtraction. (Yes, the language Pascal is named
for him.)
Later in the seventeenth century a German mathematician
Gottfried Wilhelm von Leibniz built the first mechanical
device designed to do all four whole number operations:
addition, subtraction, multiplication and division. The
state of mechanical gears and levers at that time was such
that the Leibniz machine was not very reliable.
It wasn't until the nineteenth century that the next major
step was taken, this time by a British mathematician.
Charles Babbage designed what he called his analytical
engine. His design was too complex for him to build with the
technology of his day, so his design was never implemented.
His vision, however, included the important components of
today's computers. His design was the first to include a
memory so that intermediate values did not have to be re-
entered. His design also included the input of both numbers
and mechanical steps on a type of punched card developed in
the late eighteenth century by Joseph Jacquard to be used
with a mechanical loom.
Ada Agusta, Countess of Lovelace, was a most romantic figure
in the history of computing. Ada, the daughter of Lord Byron
(the English poet), was herself quite a mathematician. She
became interested in Babbage's work on the analytical engine
and extended his ideas (and corrected some of his errors).
Ada is credited with being the first programmer. The concept
of the loop--a series of instructions that repeat--is
attributed to her. Ada, the language used by the Department
of Defense, is named for her.
During the later part of the nineteenth century and the
beginning of the twentieth century advances were made
rapidly. William Seward Burroughs produced and sold a
mechanical adding machine (that worked!). Dr. Herman
Hollerith developed the first electro-mechanical tabulator
which used a punched card. Data was represented by holes
punched on the card in certain positions. Descendants of
this card are still in use today. Dr. Hollerith formed a
company that is known today as IBM.
In 1936 a theoretical development took place that had nothing
to do with hardware per se but profoundly influenced the
field of Computer Science. Alan M. Turing, another British
mathematician, invented an abstract mathematical model called
a Turing machine, laying the foundation for a major area of
computing theory.. The most prestigious award given in
Computer Science (equivalent to the Fielding Medal in
Mathematics or a Nobel Prize in other sciences) is the Turing
Award, named for Alan Turing. A current Broadway play deals
with his life. Analysis of the capabilities of Turing
machines is a part of the theoretical studies of all Computer
Science students.
By the outbreak of World War II, several computers were under
design and construction. The Harvard Mark I and the ENIAC
are two of the more famous machines of the era. John von
Neumann (an American mathematician this time) who had been a
consultant on the ENIAC project started work on another
machine known as EDVAC which was completed in 1950. In 1951
the first commercial computer, UNIVAC I, was delivered to the
Bureau of the Census.
Von Neumann is credited with the development of two very
important concepts. The first is that the instructions that
operate the machine should be stored in the machine along
with the data to be operated on. The second is that data
(and instructions) should be represented in the binary number
system rather than the decimal number system.
The general organization of a computer has remained constant
over the last 40 years. This organization or architecture is based
on the ideas of von Neumann and bears his name. The
essence of this architecture is sequentiality. That is,
instructions (a program) are stored in sequential memory
locations in binary form and are executed in sequence, one
after the other.Each paragraph is terminated in your text file by a newline character. So effectively what scanner.readLine() is doing is reading a paragraph of text.
1. Read paragraph into String (readLine())
2. Print or prefix 5 spaces to String.
3. Print 5x newline character
Mel -
How can i insert the insertion point in each paragraph first
Hi all
Please find the below script, this script place the insertion point in end of the each paragraph, but i need to place the insertion point in first letter of the each paragraph. Please help.
var myDoc=app.documents.item(0)
var myLib=app.libraries.item(0)
app.findTextPreferences=null;
app.changeTextPreferences=null;
app.findChangeTextOptions.caseSensitive=false;
app.findChangeTextOptions.includeFootnotes=false;
app.findTextPreferences.appliedParagraphStyle="TX"
app.findTextPreferences.findWhat="^p"
var myFinds=myDoc.findText()
for(i=0; i<myFinds.length; i++)
var myIcon=myLib.assets.item("Para").placeAsset(myFinds[i].insertionPoints[0])[0]
myIcon.appliedObjectStyle=myDoc.objectStyles.item("Para No")
Thanks & Regards
Nithin@Nithin – inserting the anchor by placing the asset is changing the position of the next anchor, because the script's for-loop is running from the first found instance to the last found one.
If you go through all the found instances from back to forth would be one solution.
var myDoc=app.documents.item(0)
var myLib=app.libraries.item(0)
app.findGrepPreferences=null;
app.changeGrepPreferences=null;
app.findChangeGrepOptions.includeFootnotes=false;
app.findGrepPreferences.appliedParagraphStyle="TX"
app.findGrepPreferences.findWhat=".+\\r"
var myFinds=myDoc.findGrep()
for(i=myFinds.length-1; i>=0; i--)
var myIcon=myLib.assets.item("Para").placeAsset(myFinds[i].insertionPoints[0])[0]
myIcon.appliedObjectStyle=myDoc.objectStyles.item("Para No")
Another one would be doing the search from back to forth and not changing the for-loop:
var myFinds=myDoc.findGrep(true);
Array of Text findGrep ([reverseOrder: bool])
Finds text that matches the find what value.
Uwe -
Convert Web Page to PDF formatting problem - 1st line of each paragraph outdented
Hi Folks,
I get a formatting problem when I convert any web page to PDF using the 'Convert Web Page to PDF' option - the 1st line of each paragraph is outdented.
eg if i convert http://helpx.adobe.com/acrobat/using/whats-new-acrobat-xi.html I get this:
I get the same problem using IE 9, Chrome (latest) or Firefox 30.0. I don't get it converting a Word doc to PDF.
I'm using Adobe Acrobat XI Pro on a PC running Windows 7.
Is there a simple setting somewhere I am missing?
Any help much appreciated!Are you using "Adobe PDF" or "PDF or XPS?" I sounds like "Adobe PDF," but trying to be sure. Have you updated your Acrobat to the latest version? If not, try that.
-
Java 1.5 - Each Element of a List Cannot Be An Array?
I plan to create a List and each element of this List is a String Array.
First, I declared a List:
private static List<String> recursiveTextArray = new ArrayList<String>();And I want to build this List by adding one Array at a time:
recursiveTextArray.add( title );where
private String[] title;
title = new Array(3);I got syntax error saying: "The method add(String) in the type List<String> is not applicable for the arguments (String[]).
I cannot figure out what the compiler is complaining about. How do I fix the problem? Thanks in advance.I think that I have some idea about what is going on. Because Array is an object, I should:
private static List<Object> recursiveTextArray = new ArrayList<Object>();But the Java statement shown right above has a syntax error: "Syntax error on token ";", , expected"
I have no clue why there is such a syntax error. -
Each wiki group is listed 4 times
Hello All - I finally got the Wiki function working, but for some strange reason each wiki group is listed 4 times on the "Available Group Wikis" page.
EXAMPLE:
Available Group Wikis
Desktop
Desktop
Desktop
Desktop
WebDev
WebDev
WebDev
WebDev
Setup with services running:
MasterOD - Xserve 10.5.4 (AFP, OD, SMB)
ReplicaOD - PowerMac G5 10.5.4 (AFP, MySQL, NetBoot, OD, Software Update, Web)
I only have one website running and it's for the wikis. I left the domain name blank as suggested in another thread.
I checked /Library/Collabration/Groups and each group folder is only listed once. The URL to each of the repeated group wikis points to the same location. All functionality seems to be working, it just lists each wiki 4 times.
Any ideas or suggestions?
Thanks!
- JasonSame problem here, but I only have my groups listed twice (lucky?). I have no idea why this happend (software update?).
-
Where can i find info to identify use of symbols on each line of songs list?
Where can I find info to identify symbols on each line in songs list?
Take a look at this -> iTunes 11 for Windows: Symbols used in iTunes
-
IPad 1 Safari crashes frequently. I went to many Apple stores in different countries and each Apple staff member had their own different opinions with no help. I had upgraded my iOS to 5.1.1 and the Safari crashing started about one year after the upgrade and some Apple staff blame this- but this started one year later after the iOS upgrade. Recently at the Apple Store in Vancouver an Apple staff reset my computer (erased everything and sent to iCloud to reset the iPad) and I hoped this would fix the problem. IPad Safari still crashes. Short of booking an appointment for taking it for repair to Apple technicians which will cost me money can anyone help me to fix this Safari crashing.
Hi,
You might have a 3rd party plugin that isn't compatible with Safari 4.0.4. Go here for help...
Safari add-ons can cause performance issues or other situations
If you are using a USB hub, try disconnecting and restarting with just your keyboard and mouse connected.
From the Safari Menu Bar, click Safari / Empty Cache. When you are done with that...
from the Safari Menu Bar, click Safari / Reset Safari. Select the top 5 buttons and click Reset.
Mac OS: Web Browser Quits Unexpectedly or Stops Responding
Also, you could download and install the 10.5.8 combo update (PowerPC) available here.
http://support.apple.com/downloads/MacOS_X_10_5_8_ComboUpdate
It contains fixes that might help. Then repair disk permissions.
Quit any open applications/programs. Launch Disk Utility. (Applications/Utilities) Select MacintoshHD in the panel on the left, select the FirstAid tab. Click: Repair Disk Permissions. When it's finished from the Menu Bar, Quit Disk Utility and restart your Mac. If you see a long list of "messages" in the permissions window, it's ok. That can be ignored. As long as you see, "Permissions Repair Complete" when it's finished... you're done. Quit Disk Utility and restart your Mac.
Carolyn -
Teamviewer changing lists as navigate through pages-probl for anyone else?
Hi All,
We're using R/3 4.7, ESS 50.4 and MSS 6.1.20. After much correspondence with SAP we have discovered that the teamviewer does not behave the way we thought/want it to.
Basically as the teamviewer is applied on a page basis, each page gets their own teamviewer. In our teamviewer we have 3 distinct lists of employees. So if on one page you were looking at list 2 and you navigate to a different page, we expected to be on the same list. Unfortunately, if the teamviewer on the new page was previsouly looking at a different list, say list 3, the employees for list 3 would be displayed.
This is not what we want. In essence we want the teamviewer to work off the MY Staff workset, so that when you navigate between pages, the teamviewer will remain on the same employee in the same list. This to me is the most user friendly way and the way that makes the most sense.
If a manager wanted to view data for a single employee from a number of pages, (s)he could quite possibly have to reset the teamviewer on each page and select the employee again. This is totally unacceptable..
Has anyone else been bothered by this? Did anyone come up with a solution? I can't believe that this issue has not arisen before. I would be interested to hear similar stories.
Many Thanks,
Liz.After much correspondence with sap, this is infact the expected behaviour on the team viewer
-
Details of Each Vendor on Different Page
Dear Experts,
I have to develop a smartform in which I have to display Details of different vendors
each on New Page.
Vendor numbers are passed from driver program Selection Screen.
Each page dispays Vendor Name and Address in Secondary Windows and List of Purchase
Order Details for each Vendor in a Main Window.
I want to have page break as new vendor number is encountered to display it in next/different Page.
can anyone pls. tell how will it be done.
Thanks.
Regards
TanuHi tanu,
It is possible.its not a Big issue . Tell me you have to print only the Details of Vendor .
For mulltiple vendors , You have to define the condition in smartforms.
At the end of Secondary Window Rigth click on that Creat->flow Logic->Command->
In general attribute tick Go to new page and select the same. and at the same time write in condition when new dealer comes.
Hope it will solve ur problem.
Please confirm.
if not solve .
Edited by: Supriya Bhatt on Jul 4, 2009 3:55 PM
Edited by: Supriya Bhatt on Jul 4, 2009 4:13 PM -
Can I have a ringtone for people on my contact list and a different tone for unknown people?
I want to have a ringtone for people one my contact list and a different tone for people not on my contact list, which for me is always commercial that I do not even want to pick up.
To do this, you would have to assign the ringtone to each contact individually, and then set the default tone to something different under the Sounds menu in Settings.
Maybe you are looking for
-
Hi, I would like to show the live TV video on Flash player from my TV tunner. Is it possible to do it without FMS like using Webcam? It will not be running on the internet/network and only for a computer that have TV tunner. (Ideally: open a swf and
-
Azure Application insight server performance monitoring
HI, I am using Azure application insight and want to know how to handle below scenarios. 1) using Azure AppInsight across my application workflow which contains some non-asp.net components. I have a web role and a worker role, I can use AI in web rol
-
How to contact Apple about a carrier unlocking issue?
I pre-ordered my iPhone 5 from the online Apple Store and received it about 2 weeks later. It uses AT&T. I moved on to another phone and would like to repurpose my phone for my son. I contacted AT&T and they said they could not unlock it because t
-
I just signed the creative cloud, and I'm not getting to use the purchased software. thank you
-
Hi all, Iam using ODI 10g with planning 11.1.2.1 in 64bit platform, both the servers are intalled in the same machine. Im trying to load metadata to a planning application through ODI, but when trying to do reverse in Developer, its throwing error: o