Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

Problem with image....

Avatar

Level 1

Hello, I know absolutly nothing about LiveCycyle but I have a coworker who makes fillable PDFs for our department. She would like to have a custom border that fits within our branding.

I made a border in Illustrator and exported it as an EPS. It imports into LiveCycle but the corners within the image look like they are pixelated. Corner.jpg

Am I making it in the wrong program? Is there a better file format I should try? Should I try to make it in LiveCycle?

Any help is appreciated.

1 Accepted Solution

Avatar

Correct answer by
Level 10

Well,

this is also possible even if the UI of Designer doesn't offer a way to do this.

Here's a short explaination.

1. Create a rectangle on the master page.

2. Set the border thickness and corner style and radius in the object palette.

3. Switch into the XML source > You'll see the XML structure of the rectangle.

<draw name="Rectangle" y="3.175mm" x="3.175mm" w="203.2mm" h="288.925mm">

               <value>

                  <rectangle>

                     <edge thickness="1.25mm"/>

                     <corner radius="3mm" thickness="1.25mm" join="round"/>

                  </rectangle>

               </value>

            </draw>

4. Now add 3 more corner elements and modify them. A rectangle has 4 of them and Designer only simplyfies the xml source, if all 4 are the same.

The corner order is clockwise from top left > top right > bottom right > bottom left.

To make a square corner just remove every attribute but the thickness.

<draw name="Rectangle" y="3.175mm" x="3.175mm" w="203.2mm" h="288.925mm">

               <value>

                  <rectangle>

                     <edge thickness="1.25mm"/>

                     <corner thickness="1.25mm" join="round" radius="3mm"/>

                     <corner thickness="1.25mm"/>

                     <corner thickness="1.25mm"/>

                     <corner thickness="1.25mm" join="round" radius="3mm"/>

                  </rectangle>

               </value>

            </draw>

5. In the preview it should look this way now.

Shape.png

View solution in original post

5 Replies

Avatar

Level 10

Hi,

Designer renders everything with 72dpi so it always looks poor.

But you can create such borders also in Designers border palette.

Screenshot_1.png

Avatar

Level 1

But that's only around an object.

The coworker is wanting a border around the entire document. Two corners are rounded while the other two are straight corners.

Avatar

Level 7

Your entire page can be the "object." If you select the page under the hierarchy tab, you can select a border around the entire form. It'll stop wherever you put your margin.

Avatar

Correct answer by
Level 10

Well,

this is also possible even if the UI of Designer doesn't offer a way to do this.

Here's a short explaination.

1. Create a rectangle on the master page.

2. Set the border thickness and corner style and radius in the object palette.

3. Switch into the XML source > You'll see the XML structure of the rectangle.

<draw name="Rectangle" y="3.175mm" x="3.175mm" w="203.2mm" h="288.925mm">

               <value>

                  <rectangle>

                     <edge thickness="1.25mm"/>

                     <corner radius="3mm" thickness="1.25mm" join="round"/>

                  </rectangle>

               </value>

            </draw>

4. Now add 3 more corner elements and modify them. A rectangle has 4 of them and Designer only simplyfies the xml source, if all 4 are the same.

The corner order is clockwise from top left > top right > bottom right > bottom left.

To make a square corner just remove every attribute but the thickness.

<draw name="Rectangle" y="3.175mm" x="3.175mm" w="203.2mm" h="288.925mm">

               <value>

                  <rectangle>

                     <edge thickness="1.25mm"/>

                     <corner thickness="1.25mm" join="round" radius="3mm"/>

                     <corner thickness="1.25mm"/>

                     <corner thickness="1.25mm"/>

                     <corner thickness="1.25mm" join="round" radius="3mm"/>

                  </rectangle>

               </value>

            </draw>

5. In the preview it should look this way now.

Shape.png

Avatar

Level 1

That's exactly what I'm looking for. Awesome! Thanks.