since ‎16-04-2009
‎10-12-2019
MaFd0n
Level 1
Re: Merging multiple pdf files and linking between them.
Avatar

MaFd0n

MaFd0n
- Adobe LiveCycle
anyone?

Views

28

Likes

0

Replies

0
Merging multiple pdf files and linking between them.
Avatar

MaFd0n

MaFd0n
- Adobe LiveCycle
ProblemThere are two things I have to achieve. First I have to merge N documents to one single document. No problem there.Secondly I have to place links in this merged pdf file which "connects" the sub documents.In DDX terms: i need to create links between the source documents. Resulting in one single merged PDF file.Thus the links can be compared to pagejumpers.ExampleI have 7 PDF documents.Master documents A and BChild documents A1, A2, B1, B2 and B3Both Master and Child documents exist as ind...

Views

874

Likes

0

Replies

1
Re: Add text on every page
Avatar

MaFd0n

MaFd0n
- Adobe LiveCycle
Obviously this part is generated:Maximonummer: 6543210 IF 9876543210Comes from java project but that doesn't matter. It's dropped as a file and picked up by the LiveCycle process I wrote.

Views

151

Likes

0

Replies

0
Re: Add text on every page
Avatar

MaFd0n

MaFd0n
- Adobe LiveCycle
It is text provided in the StyledText:Complete example of the DDX i'm using: Maximonummer: 6543210 IF 9876543210

Views

171

Likes

0

Replies

0
Re: Add text on every page
Avatar

MaFd0n

MaFd0n
- Adobe LiveCycle
The table of content on page one is not processed by the DDX by the way, its just a pdf which already had that TOC even before there was text written on its side

Views

171

Likes

0

Replies

0
Re: Add text on every page
Avatar

MaFd0n

MaFd0n
- Adobe LiveCycle
This works indeed for any document i processed so far.By the way, do you happen to know how I can replace this text?As I said in the inital post the text I'm putting there can be comepared to an ID. This ID however is mutable.Obviously the client wants me to overwrite this text with the new ID...So I changed WaterMark to Background and used the attribute replaceExisting.The initial run goes perfect, it acts like the watermark. However, when I run it again with a different ID only the first page ...

Views

172

Likes

0

Replies

0
Re: Add text on every page
Avatar

MaFd0n

MaFd0n
- Adobe LiveCycle
Very nice, and even with a watermark :-).Please do note that this does not work if the pdf is a converted JPG with width-dimension lower than 250pt.

Views

165

Likes

0

Replies

0
Add text on every page
Avatar

MaFd0n

MaFd0n
- Adobe LiveCycle
Dear,I have PDF files and I need to add text on every page they have.The text can be compared to an ID.This is not a watermark(!) because a watermark spreads out over the center of the page. On the right margin of any page, I would like to add text rotated 90 degrees clockwise.What I mean is something a footer or header but on the side of a page instead of top/bottom.How am I supposed to do this? I assume making use of a DDX file may help me?I read something about PageOverlay but I cannot see ho...

Views

5.7K

Likes

0

Replies

10
Re: HOWTO: Disallow printing/saving/selection on generated PDF?
Avatar

MaFd0n

MaFd0n
- Adobe LiveCycle
Impossible due to restricted policies.

Views

12

Likes

0

Replies

0
Re: Addressing Node xpath fails
Avatar

MaFd0n

MaFd0n
- Adobe LiveCycle
Splitting things up in more variables / actions also works.You concat alot of things all at once.first make an action to get the first value, see if that works, then the second xpath actionthen finally combine them with copy-paste just to make sure you don't make typoe'sAnother thing you must know but certainly do: when using numbers ALWAYS surround your XPATH with the Number() action. Your counter must be surrounded by Number(). Off course only the part which is a Number but I guess you would h...

Views

74

Likes

0

Replies

0
HOWTO: Disallow printing/saving/selection on generated PDF?
Avatar

MaFd0n

MaFd0n
- Adobe LiveCycle
Hi,Situation:1) I have written a process which successfully converts X documents to X PDF files. (CreatePDF2 - service)2) The same process also successfully merges these generated PDF files to one single PDF. (InvokeDDX - service)Problem:I can print, save and select in the merged PDF (step 2 in situation).The end-user who receives this merged PDF file, may not be able to invoke any of these commands.Meaning the PDF Result of the InvokeDDX service must be: non-printable + non-selectable + non-sav...

Views

482

Likes

0

Replies

1
Re: Process to convert multiple supported files to 1 pdf file
Avatar

MaFd0n

MaFd0n
- Adobe LiveCycle
Solved. I dont need any more help as I figured it all out by myself in the meanwhile.Trial & error ftw!

Views

30

Likes

0

Replies

0
Re: Process to convert multiple supported files to 1 pdf file
Avatar

MaFd0n

MaFd0n
- Adobe LiveCycle
Ok i successfully generated my PDF files.Now I'm having difficulties merging them. I use a DDX file named LiveCycleInput.ddxWhat I do (everything in LiveCycle Workbench):1) FileReader to open the .ddx file as a document (successfully)2) Store the read document in a process variable (successfully)3) Assembler.invokeDDX with following arguments:Document DDX = process variable (read in 2)OutputResult = "AssemblerResult" processVariable which has type AssemblerResult as specified by the documentatio...

Views

26

Likes

0

Replies

0
Re: Process to convert multiple supported files to 1 pdf file
Avatar

MaFd0n

MaFd0n
- Adobe LiveCycle
You can put this issue "ON_HOLD".It appears our administrator has seperated Services over two different services. One to generate PDFs from other file formats and one to generate PDFs from xml data.I am now trying to only use the other service which does have the desired Service-call.Until further notice this issue may be ignored as I do have access to the GeneratePDF service together with the CreatePDF2 servicecall.Sorry for the inconvenience if any.Regards.

Views

26

Likes

0

Replies

0
Process to convert multiple supported files to 1 pdf file
Avatar

MaFd0n

MaFd0n
- Adobe LiveCycle
Hi all,Situation:I am working with a java backend - Flex frontend.The user will click a button pubish. This will initialize the java backend and do the following:This backend will save multiple files on the LiveCycle's server harddisk (NOT the watched folder). All supported formats for conversion.When the files are stored, an XML is generated which contains the path to this location and their filenames.This XML-file will be dropped in the input folder of the WatchedFolder.The LiveCycle process m...

Views

952

Likes

0

Replies

3
Re: Slow Performance or XDP File size very large
Avatar

MaFd0n

MaFd0n
- Adobe LiveCycle
If you don't have repeating lines I'm guessing you use alot of embedded images. I don't know anything else which would increase your size that heavily.As said before, please post your form if you require any further help.

Views

203

Likes

0

Replies

1
Re: Making a text box expand as you type into it?
Avatar

MaFd0n

MaFd0n
- Adobe LiveCycle
Well if it's not in designer itself, I wouldn't even think about programming this as each and every font has different widths and sizes. Meaning if you want to expand it correctly you'll need to know about everything about the fonts in the first place and well you know as well as I do ... it's a crazy man's job.

Views

288

Likes

0

Replies

0
Re: Slow Performance or XDP File size very large
Avatar

MaFd0n

MaFd0n
- Adobe LiveCycle
Hey!Depends if you have a java IDE like eg. eclipse or netbeans you mostlikely can just create a new project add the .java source code which iposted and run it.If you don't have an IDE install you should, but you don't have to, you canalso just do it with the java JDK. Use java.exe to compile the .java sourcecode to a .class file then run it using the java.exe executable, I don'tknow the commandline parameters of java.exe by heart so you will have tosearch for those on the net. But as these para...

Views

203

Likes

0

Replies

0
Unicode (numerical) character conversion
Avatar

MaFd0n

MaFd0n
- Adobe LiveCycle
What is the problem?Some characters written in unicode format do not get transformed to their appropriate font-character.ExampleNumerical version: ≥ is printed as ≥String version: ≥ is printed correctlyBoth have the same unicode, yet LiveCycle DS will only convert the "string"-version and not the numerical version.QuestionIs there a way to make LiveCycle convert the numerical unicode representation of special characters aswell? If so how do I do this using LiveCycle Designer. I am working with t...

Views

489

Likes

0

Replies

0
Re: Locking "input"-fields
Avatar

MaFd0n

MaFd0n
- Adobe LiveCycle
How exactly did you generate the PDF?2ways:my own way I programmed a servlet which contacts the liveCycle dataSource which combines the xdp & xml data to create a temp PDF. through a process in Workbench ES, using watched folders for XML filesBoth work perfectly and generate fully working PDF files as expected.If you look at the XML Source, for any one of the text fields is there an attribute 'access="readOnly"' on the field node?Yes.Simplification of what my goal is:I just don't want to be able...

Views

63

Likes

0

Replies

0
Controlling height of dummy subforms
Avatar

MaFd0n

MaFd0n
- Adobe LiveCycle
HiProblemI have a Table, with a headerRow a BodyRow (can pageBreak) and a FooterRow.More specificallyheaderrow = column specification bodyrow = product-datafooterrow = total-sectionGoalWe want the footerrow to be positioned at the bottom of the currentPage if there is enough space and no pageBreak occursWe want the footerrow to be positioned at the top of the page if no preceding bodyrows occur on the same page.SolutionWe tried working with a dummy subform to modify it's height based on calculat...

Views

358

Likes

0

Replies

1
Re: How can I validate date to be half year later than current date?
Avatar

MaFd0n

MaFd0n
- Adobe LiveCycle
In essence time in javascript is stored as a long (just like in java) this means that increasing this number by 1000 increases the date by 1second.We know that 1 day = 24 hours = 1440 mins = 86400 seconds (*1000 for ms)So what you need to do is calculate the number of days you have during those months and multiply this by 86400000 and add this to the date.I would also suggest calculating the max time (date + 6months) up in front, if the user specifies a higher date (userdate - currentdate > date...

Views

17

Likes

0

Replies

0
Re: LoveCycle?
Avatar

MaFd0n

MaFd0n
- Adobe LiveCycle
It appears you've posted this right after getting frustrated by the program.I do agree with the essence of what you write concerning documentation and the overall "working" of the program which from time to time really makes one want to smash things. On the other hand, this still is the only suite that provides the ability to design pdfs and generate them using only a few simple steps.On the other hand you're overreacting bigtime

Views

85

Likes

0

Replies

0
Locking "input"-fields
Avatar

MaFd0n

MaFd0n
- Adobe LiveCycle
Hi all,IntakeI generate pdfs like it's supposed to be generated. Only one issue is remaining. I can edit the data, which should not be possible in the first place.ProblemThe pdf is generated using XML data, like prices etc, when the pdf is generated all text-fields can be modified, selecting the field and pressing delete or backspace.ReasoningI've read in another post in these discussions that it's possible to save these PDFs if you have some licenses installed. Because I generate financial docu...

Views

759

Likes

0

Replies

3
Re: Optional Page
Avatar

MaFd0n

MaFd0n
- Adobe LiveCycle
As you could have read I solved this issue myself, but thanks for the offer anyway, I had loads of help from your comments through-out this discussion. Please close this thread.

Views

28

Likes

0

Replies

0
Re: Optional Page
Avatar

MaFd0n

MaFd0n
- Adobe LiveCycle
I had to put the script in the Footer subform instead of the Document (= parent of Footer)Why the 2 files behave in another way is beyond my knowledge but I got it working and I'm happy with the final result.Never change a working program... this wont get edited for a loooooooooong looooong time.Thanks for all the support I received here, although I found the solution myself you guys were the ones that put me on the right track! Thanks

Views

38

Likes

0

Replies

0
Re: Optional Page
Avatar

MaFd0n

MaFd0n
- Adobe LiveCycle
Ok I found an alternative way of not displaying the page, but it comes with a very strange side-affect.I made a copy of my original to play with, and I wrote this piece of code only:Orderform.Document::initialize - (FormCalc, both)if($record.CommonMetaData.Environment <> "PROD") then $.Footer.instanceManager.removeInstance(0)endifThis works in the copy-version, yet if I write this in the orignal I get the error "Error: accessor '$.Footer.instanceManager.removeInstance("0")"I do NOT understand th...

Views

36

Likes

0

Replies

0
Re: Optional Page
Avatar

MaFd0n

MaFd0n
- Adobe LiveCycle
Starting to give up hope. I tried what you said and it also partly works.I put the Orderform.Document.Footer on default precense hidden.Initialize event of a subForm on the MasterPages itself executes the following code:if ($record.CommonMetaData.Environment == "PROD") then Orderform.Document.Footer.presence = "visible"endifThis works, yet it makes all my other scripts fail, it claims that $record.CommonMetaData.Environment is invalid, yet it does not complain one bit if I write $.presence = "hi...

Views

35

Likes

0

Replies

0
Re: Binding XML file Dynamically
Avatar

MaFd0n

MaFd0n
- Adobe LiveCycle
I'm really busy today, but you can make 2 workbench processes and each bind them to a different xpd file. It wouldn't surprise me if you could make it select a different depending on the xml data provided, but I have no time to verify at this very moment, I might later on the day.Good luck

Views

78

Like

1

Replies

0
Re: Optional Page
Avatar

MaFd0n

MaFd0n
- Adobe LiveCycle
Hey,We're closing in on a success here!I was able to manage and hide this page as you mentioned however it appears that my script partly does not work.> Orderform>> PageSet>>> LastPage>>>> subform>>>>> script:if ($record.CommonMetadata.Environment == "PROD") then $.presence = "hidden"; // WORKS Orderform.Document.Footer.presence = "hidden"; // DOES NOT WORKendifI also tried scripting the initialze of the footer itself:if ($record.CommonMetadata.Environment == "PROD") then $.presence = "hidden"; ...

Views

31

Likes

0

Replies

0
Likes given to
Likes from