Regionalizing Report PDF Options

InetSoft's reporting software has extensive customization options that allow users to regionalize their report pdf options to suit diverse needs and uphold data security. View the information below to learn more about the Style Intelligence solution.

To support CJK characters:

• The location (folder path) of the CJK font files must be specified under the heading TrueType/CID Font Path.

• The font mapping from the CJK-TrueType font to a CJK-CID font needs to be defined in the font mapping table. It is recommended that you select 'true' for embedding the font and the cmap in the PDF file.

#1 Ranking: Read how InetSoft was rated #1 for user adoption in G2's user survey-based index Read More

Note: CJK fonts often use separate font files for the plain and bold versions of the font. It is therefore possible to map a CJK font to a different file depending on its weight. For example, the following setting maps all plain MS Mincho instances to a normal-weight version of the KozMin font-family, and maps all bold MS Mincho instances to a bold-weight version of the same font-family:

  • pdf.font.mapping=MS Mincho-plain\:KozMinProVI-Regular; MS Mincho-bold\:KozMinStd-Bold;
  • If the font weight is omitted, the default is '-plain'.

    To support CJK fonts not listed above, do the following:

    • Place the font files in the folder specified under TrueType/CID Font Path.

    • Extract the cjkmap.properties file from your build jar file (sree_pro.jar/ bisuite_pro.jar).

    • Place the cjkmap.properties file within your classpath under /inetsoft/reports/pdf, e.g., 'WEB-INF/classes/inetsoft/reports/pdf/cjkmap.properties'.

    • Make an entry for the CJK font as {font name}={encoding}, e.g., DFKMincho\ Std\ W5=kor. (Escape the white spaces using a backslash).

    Note: In many cases the actual font name may not be the same as the font file name. To make sure you enter the right name in the properties file. Use the utility TTFontInfo. The correct name will appear under the fontnames[3] heading.

    :\>java -cp sree_pro.jar inetsoft.report.pdf.TTFontInfo {FontFileName With Absolute Path}

    e.g. :\>java -cp sree_pro.jar inetsoft.report.pdf.TTFontInfo c:/CID/DFKMinchoStd-W5.otf

    Learn about the top 10 features of embedded business intelligence.

    Sample Output:

    Getting font names:[c:/CID/DFKMinchoStd-W5.otf]
    fontnames[0]=DFKMincho Std W5
    fontnames[1]=DFKMincho Std W5
    fontnames[2]=DFKMinchoStd-W5
    fontnames[3]=DFKMincho Std W5

    Notice how fontnames[3] yields the right font name to enter into the cjkmap.properties file.

    To add security encryption to a PDF file exported by Style Intelligence, use the following script in the onLoad handler of the report.

    docInfo.pdf.password.owner = '{owner_password}';
    // owner_password provides owner access to document

    docInfo.pdf.password.user = '{user_password}';
    // user_password provides user access to document

    docInfo.pdf.permission.print = true/false;
    // provides the ability to print

    docInfo.pdf.permission.copy = true/false;
    // provides the ability to copy from the document

    Customer Testimonial

    "The business case for this kind of self-service reporting software was clear given the bottleneck we had in our data access processes. We needed to reduce our reliance on IT for basic access to information that our staff depends on to serve our members. We evaluated several options including developing a solution internally, but given the reasonable initial investment, broad functionality, and ease of use of the software, we chose InetSoft. We were particularly interested in the data grid caching technology built into the application, and we are excited to see the system in action." - Kevin Watkins, Vice President of Engineering at PNGC Power.
    why select InetSoft
    “We evaluated many reporting vendors and were most impressed at the speed with which the proof of concept could be developed. We found InetSoft to be the best option to meet our business requirements and integrate with our own technology.”
    - John White, Senior Director, Information Technology at Livingston International

    Previous: Report PDF Characters