Skip to main content
1-Visitor
August 24, 2011
Solved

Styler CSS for rounded corner tables in PDF

  • August 24, 2011
  • 1 reply
  • 7704 views

Hi all,

We create documents using Arbortext Editor and css with Syler and have a request to have tables in PDF with rounded corner.

The quick way we are trying is just create a rounded rectangle SVG and use that as a background to the content, putting the table in front of it. It is easy but not seems to be the WAY...

Also we think on creating the table as a Scalable Vector Graphics(SVG) object, and include that as an external-image in our XML document. SVG supports rounded corners, and XML supports SVG. It seems to add more complexity...

So we are searching the WAY as an specific or modified function on the Styler to programe the CCS to publish directly rounded corner tables. Does anybody know if it is possible and/or whow to do it?

Thank you!!!!

    Best answer by DmitryTsarev

    Eduardo

    Now I have a question I should have asked before. What Arbortext version are you using?

    If you're on 6.0 or 5.4, you should be able to achieve the results with APP engine.

    I have attached a .pdf with samples of what can be achieved in regards to block 'boxing'. Check <Editor>\samples\APP folder for more details. This folder in Editor 6 has more info, but 5.4 also has the sample .style for block 'boxing'.

    Feel free to ask if you have more questions.

    1 reply

    17-Peridot
    August 25, 2011

    Eduardo, for which types of output you need to get the functionality (i.e. HTML only, PDF only, HTML + PDF)?

    Also, to make things clear, can you provide a sampe desired resulting output?

    emoral1-VisitorAuthor
    1-Visitor
    August 25, 2011

    Hi Dmitry,

    We need to publish on PDF. Other contents like HTML, PDA... are already "solved" by adding gifts at the table corners. Now, the tricky question is the PDF.

    I attach an example (sorry for the blurred content) which you can understand better the situation, it is one working instruction from a set of hundreds, but this scenario is applicable to other type of documents. Typically documents with contents -text and illustrations- enclosed in a square or a table with variable height and / or width, that you want to show into rounded forms.

    It is a question for other conversation... but talking about PDF created from Arbortext Suite I think PTC applications are far away from take real advantage of PDF enhanced visual capabilities (3D PDF catalogues, animated frames...).

    Thank you for your help.

    17-Peridot
    August 25, 2011

    Eduardo

    Now I have a question I should have asked before. What Arbortext version are you using?

    If you're on 6.0 or 5.4, you should be able to achieve the results with APP engine.

    I have attached a .pdf with samples of what can be achieved in regards to block 'boxing'. Check <Editor>\samples\APP folder for more details. This folder in Editor 6 has more info, but 5.4 also has the sample .style for block 'boxing'.

    Feel free to ask if you have more questions.