Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Drawing a rectangle with a diagonal cross

Avatar

Level 1

Hi,

I’m doing an evaluation of the Adobe LiveCycle Designer and I have a requirement that I haven’t be able to implement so far using the tool.

The requirement is the following:

I have a section of a document that must not have empty spaces. The lines of text will vary depending on the XML document that will be the data source.

The empty space must be filled by rectangle with a diagonal cross through it that grows according to the size of the gap between the lines of t with a diagonal cross ext and the bottom of the page.  I can’t find a way to create this type of rectangle using LiveCycle Designer. 

Can anyone help me with this problem?

Thanks

Ubi

0 Replies

Avatar

Level 10

Hi Ubi,

This is probably not exactly what you want but I think achieves a similar thing with a multiline textbox that expands to fit the content size that is then overlapping a subform with a background cross diagonal pattern.  I've attached an example.

I would guess you could get closer to what you want by resizing a readonly image field that was placed after your text field and was resized to take up the remaining space.  John Brinkman has an example form doing something like that at http://blogs.adobe.com/formfeed/2008/12/.

Bruce

Avatar

Level 1

Hi all,

I have solved the problem by creating a subform adding a retangle with a pattern cross to it and adding the following javascript to the subform:

form1.purchaseOrder.footer::ready:layout - (JavaScript, client)
var myH = (234.95 - xfa.layout.y(footer,"mm"));
this.Rectangle1.h = myH + "mm";
xfa.layout.relayout();

Cheers

Ubi