1. Rahul Kumar Shaw
  2. PowerBuilder
  3. Wednesday, 23 August 2017 10:14 AM UTC

 In the DW Painter, set the data window property is reverting back to XML every time I set it as NativePDF! I did several times but when I opens the datawindow is backl to XML again.

Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Wednesday, 23 August 2017 13:04 PM UTC
  2. PowerBuilder
  3. # 1

Hi Rahul;

   This is not a bug!

   I thought that this was a bug too when I initially saw this during beta testing but was informed by Engineering that this is the default reporting state that PB 12.6 used when you return to the DW Painter. The DW painter always shows you the XML Setting first. You can see the actual PDF setting if you reselect the PDF state from the Format to Configure dropdown setting in the properties pane. Then the DW Painter will then show you the actual rendering method in effect.

 

 The actual NativePDF! setting is adhered to internally within the DWO source code.   So another way to verify your PDF settings is to look in the DWO source code for the  "Method=n" setting. You can see this and also verify your PDF settings by editing the DWO source code, as follows:

  • If the DW is using XLSFO! then the export statement will be ...

export.pdf(method=1 distill.custompostscript="0" xslfop.print="0" nativepdf.customsize=2 nativepdf.customorientation=2 )

  •   If the DWO is using GhostScript (aka Distill!) then the export statement will be ...

export.pdf(method=0 distill.custompostscript="0" xslfop.print="0" nativepdf.customsize=2 nativepdf.customorientation=2 )

  •  If you have chosen the NativePDF! option for data export, then the export statement will be ...

export.pdf(method=2 distill.custompostscript="0" xslfop.print="0" nativepdf.customsize=2 nativepdf.customorientation=2 )

 

    Again, the default for the DW Painter is to show you the XML property setting upon return ( which makes it confusing when you close & the re-open the DW Painter). Just remember when you return any DWO to re-select the PDF setting in the property's Data Export pane to see what the actual feature is that the DW is using for PDF processing.

 

HTH

Regards ... Chris

Comment
  1. Mark Lee @Appeon
  2. Thursday, 24 August 2017 06:31 AM UTC
The DWO source code is correct.

  1. Helpful
  1. Brad Mettee
  2. Thursday, 24 August 2017 13:02 PM UTC
Chris / Appeon devs:



As a developer, I can't imagine giving users an option, then having a default option show up when they re-open an options page, leaving them with no way to know what's what. This isn't a good design feature, it's horribly confusing, and leaves the dev with no way to know, without looking at source, what the actual setting is.



It may not technically be a bug, but it sure as heck looks like one from out here.



 

  1. Helpful
  1. Mark Lee @Appeon
  2. Monday, 28 August 2017 03:13 AM UTC
Hi,



Thanks for your valuable suggestion. We will record

it as a requirement in our CR pool, I will get back to you once we have a plan

to support this feature.



Regards,



Mark Lee



 

  1. Helpful
There are no comments made yet.
Roland Smith Accepted Answer Pending Moderation
  1. Wednesday, 23 August 2017 10:43 AM UTC
  2. PowerBuilder
  3. # 2

I think that it is just a DataWindow bug, the source code is actually correct. If you can verify that, please submit a bug report.

https://www.appeon.com/standardsupport/search

Comment
  1. Roland Smith
  2. Wednesday, 23 August 2017 12:34 PM UTC
I meant to say DataWindow Painter bug.

  1. Helpful
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.
We use cookies which are necessary for the proper functioning of our websites. We also use cookies to analyze our traffic, improve your experience and provide social media features. If you continue to use this site, you consent to our use of cookies.