I am working on Sharepoint 2016 and unfortunately in Sharepoint Designer 2013 there is no design view hence need to depend on code to format column header.
I have a list having 3 columns. I want to format them with below formatting:
alignment - center
background color - Blue
Text color - white
font family - calibri
size - medium
cell boardr color - white
I will add a script editor webpart, and need code to put there.
You can actually run Designer 2010 and 2013 at the same time. Just make sure that they are both the same editions (32 or 64 bit). You also need to install 2013 first so that's perfect for you.
This tool: https://divtable.com/table-styler/ can help you learn how to use CSS to style your tables.
Related
I have a field that I'm displaying on a report that is a combination of text and codes that represent an image. Some of those icons have ascii symbols that I've used a replace formula to display them as their ascii version. For two or three of the images, I have no luck and have to display a mini picture for the representation.
The codes being sent are something like:
^he^ = ♥ ^st^ = ⭐ ^cl^ = 🍀 etc...
So for the clover leaf, there is no emoji support in my version of Crystal for clover leaves, and the ascii icon I found online for it just shows the empty square icon when an emoji isn't supported.
My workaround for this is to have a formula that converts all my icons to the appropriate ascii where supported, and to leave two blank spaces for the unsupported icons.
>stringvar gift_msg;
>gift_msg:= {DataTable1.gift_field};
>gift_msg := replace(gift_msg,"^CL^"," ");
>gift_msg := replace(gift_msg,"^HE^","♥");
>gift_msg := replace(gift_msg,"^ST^","★");
>gift_msg
I then put a suppression formula on each image that looks like this:
>mid({DataTable1.gift_field},2,4)<>"^CL^"
So I duplicated the image along the length of the field and increment the mid formula to match the field. I also set the font to Consolas so that it's fixed width to remove any surprises in spacing. My issue is that this still creates very strange spacing, and I'm almost certain there's a much easier way to do this.
One option is to use a free service such as Calligraphr.com to convert your image to a font.
Given that your image relies on several colors, the font option might not work.
Another option is to build the expression as html with image source directives where you need them. You would then need a create or use a 3rd-party UFL to convert the full expression to an image that you can load on the fly using the Graphic Location expression. At least one of the UFLs listed by Ken Hamady here provides such a function.
I have a crystal report with 45 fields, i was added fields in single text field because i want to export crystal report in to plain text format, but whenever i export to plain text it show only 197 character in single line but i want all 350 characters in same line. So i was use Crystal Report 10 to run report and it gives correct output. I have DNN portal and i was put that rpt on portal that uses crystal report (version 10.2) dll, but whenever i trying to run that report again it show only 197 characters in single line but i want all 350 characters in same line. So what should i need to do, plz help
I did a lot of testing in this area a few years ago and found that v10 allowed the widest exports, but v11 can go up to 600 characters if you do it just right. The two main factors are the width of the object and the "Characters Per Inch" setting used during export. Try making the text object 20 inches wide, and when you export set the CPI to 26. If you can do those you should get all of your characters. The only part of this I don't have experience with is the DNN portal, which might introduce some other unknown issues.
I'm using Jasper Report and iReport 5.5.1. I created a grid using rectangles and inserted static text fields. My problem is that the PDF output created with Java is different from the iReport preview. Below you can see the three screenshots, first from the editor, the second is the preview and the third is the pdf output. We can see the overlap of the text and furthermore the bold title is not printed bold.
It looks like a font issue.
To achieve the common behavior across all the outputs, Open the Ireport designer and apply below properties:
Font Name = "Arial Unicode MS".
PDF font name = This property is deprecated, so leave it blank.
PDF Encoding = 'Identity-H (Unicode with horizontal writing)'.
Hope this help you.
Regards,
Srikanth Kattam
I have a question to iReport/JasperReports experts.
I just started to learn JasperReports and iReport.
It looks promising, when you want to print some table reports based on some datasource.
But I have little different requirement.
I have templates prepared in Microsoft Word (typical agreement printout).
Mostly static text with lots of formating like:
lists,
enumerations,
bolding,
italic,
different size fonts,
margins,
indentions,
alignments
and so on
with very few dynamic fields to fill like name, surname, identity number, ...
I can`t find easy way to implement such rich text editor templates in iReport.
Is it possible?
Is it managable?
Is iReport/JasperReports suitable for such rich text editor like printouts?
Thanks
iReport really just defines the template and formatting of the data printed in the report, so you can use it to set font sizes, styles, margins, indentations, etc. If you're using things like a bulleted list or a numbered list, you may have to improvise some using subreports, but for the most part this type of setup is exactly what iReport does.
I am trying to make part of array text into superscript inside my formula field. I tried rendering the field as HTML with a tag but it seems it is not supported. Following did not work
numberVar array arr:=["1<sup>st</sup>"];
Is there a way round this problem ?
It turns out Crystal Reports works with superscript, only the same way as Visual Studio does. Just copy/paste one of these: ¹²³⁴⁵⁶⁷⁸⁹⁰
As far as I'm aware, Crystal Reports doesn't support superscript at all, not for HTML (see here for supported tags if interested), or for RTF.
Off the top of my head, you would need two separate textboxes to achieve this effect, with the "st" text at a higher Y-position than the "1" to get "1st".