XSharpPublic icon indicating copy to clipboard operation
XSharpPublic copied to clipboard

Some issues with report pro designer

Open cpyrgas opened this issue 5 years ago • 2 comments

https://www.xsharp.info/forum/public-product/2140-rp-2-35-expression-editor-line-breaks-solved

  1. there's a bug in the parsing of the expression editor. If e.g. i put this in: "23.09.2020 Flügelschlagquartett (2 Klaviere + 2 Schlagzeuger)" + CRLF + "11.11.2020 Trio con Brio (Klaviertrio aus Copenhagen)" written on one line, the checker says: "expression valid" If i enter a linebreak (using CTRL-Enter) after the "CRLF +" part, i get "error in the expression".

EDIT: got it, it follows the same rule as in source, after the "+" has to follow a semi-colon...

  1. if i want to make a new label report, it can't find "Label.sys" - my "Search everything" find's no such file on this computer, but the ol' 2.17k version works

  2. Have a look, how i have to overlap the fields in the design, to get somewhat decent output. If i reduce the fieldheight only minimaly, the second line gets stripped from output. Feels like some mismatch between font size in designer and output...

  3. if you remove "header and footer bands" from the section tab, "page properties" dissappears entirely

  4. label report, two columns, 1cm midway distanced, have a look: the right label-border in the designer is painted at the position, where the left border of the second column-label starts, i.e. wronlgy includes the horzizontal gap value

  5. i paint a field in design, -> align, center horizontally in margins - won't result in centering to the label width -> ok, if one reads margins as per paper - but there's no center in label.

rpSample.zip

cpyrgas avatar Sep 08 '20 15:09 cpyrgas

  1. The problem with these expressions is that CRLF is not found by the macro compiler. In X# this is defined as a preprocessor constant and not a GLOBAL. If you replace CRLF in the expressions with e"\r\n" or with chr(13)+chr(10) then the expressions work fine
  2. I will included labels.sys in the next distribution package
  3. I will see what I can do.
  4. This was coded explicitly. You should set the size through the Column/Labels Properties dialog. and there was an error opening this dialog.
  5. I can confirm this and will fix this.
  6. I can conform this and will try to fix this too.

RobertvanderHulst avatar Aug 16 '21 11:08 RobertvanderHulst

Updated forum post link: https://www.xsharp.eu/forum/topic?p=17107#p17107

cpyrgas avatar Jul 26 '24 10:07 cpyrgas