APEX Office Print (AOP) - aop-region-as attribute

APEX Office Print (AOP) is a great document printing library for Oracle APEX. While using AOP to print IR or Chart regions into document, you may like to use "aop-region-as" attribute to inform AOP printing engine to print output in different formats.

Following are the attribute values, you may set:

client_svg: This will create SVG object in the div. You may use it as {%region}.
client_canvas: This will create CANVAS object in the div. You may use it as {%region}.
server_html: This will put exact html of region inside a div. You may use it as {_region}.
client_html: This will put browser html of region inside a div. You may use it as {_region}.
client_screenshot: This will capture region screenshot rendered in client browser window. You may use it as {%region}.

To use this tag, while you are setting regions to be printed into your AOP template, you provide static ID of that region. Along with that enter one of the following attribute into Custom Attribute section of that region.

aop-region-as="client_svg"
aop-region-as="client_canvas"
aop-region-as="server_html"
aop-region-as="client_html"
aop-region-as="client_screenshot"

Hope this helps!

Regards,
Jaydip Bosamiya
jbosamiya@gmail.com

Comments

My photo
Jaydip Bosamiya
I am Oracle APEX Consultant, Blogger and Integrator. All-rounder in building small, medium and enterprise applications. Extensive knowledge in various area of web-driven applications in Back-end (PL/SQL, SQL, Java), Front-end (Oracle APEX, HTML, JavaScript, CSS, jQuery, OracleJET, ReactJS), RESTful APIs, Third-party library integrations (Apex Office Print (AOP), Payment Gateways, Syncfusion, HighCharts) and APEX Plugins (HighChart, StarRating)

Popular posts from this blog

Oracle APEX - Interactive Report - Scrollbars on Top

Make your RESTful APIs Secured with OAuth2 - Basic, Simple and Easy Steps

How to create your own customized nested report regions using jQuery