Thanks for the assistance.

Regards,
Vaibhav Dhawan
[cid:[email protected]]

From: Maxim Solodovnik [mailto:[email protected]]
Sent: Tuesday, June 20, 2017 5:43 PM
To: Dhawan, Vaibhav (MIND)
Cc: Openmeetings user-list
Subject: Warning!!!PossibleSpam Re: OpenMeeting issue

Maybe your pdf file failed to be converted? (Has conversion errors)
Pdf file is converted to series of images in 4.0.0, these images are set to 
background

I can double-check next week only
WBR, Maxim
(from mobile, sorry for the typos)

On Jun 20, 2017 19:09, "Dhawan, Vaibhav (MIND)" 
<[email protected]<mailto:[email protected]>> 
wrote:
Hi,

I am trying to drag a pdf file on whiteboard but I am unable to drag it but if 
I am trying to drag image files with .jpeg, png etc , it is successfully 
dragged, I am trying to debug it. I found a piece of code which I am sharing 
below.

In WbPanel.java     :( .put("type", "image") is this hardcoded value of type  
restricting to drag pdf file .


                     default:
                           {
                                  JSONObject file = new JSONObject()
                                                .put("fileId", fi.getId())
                                                .put("fileType", 
fi.getType().name())
                                                .put("count", fi.getCount())
                                                .put("type", "image")
                                                .put("left", UPLOAD_WB_LEFT)
                                                .put("top", UPLOAD_WB_TOP)
                                                .put("width", fi.getWidth() == 
null ? DEFAULT_WIDTH : fi.getWidth())
                                                .put("height", fi.getHeight() 
== null ? DEFAULT_HEIGHT : fi.getHeight())
                                                .put("uid", wuid)
                                                .put("slide", wb.getSlide())
                                                ;
                                  final String ruid = wbs.getUid();
                                  if (clean) {
                                         clearAll(wb);
                                  }
                                  wb.put(wuid, file);
                                  WebSocketHelper.sendRoom(
                                                roomId
                                                , new JSONObject().put("type", 
"wb")
                                                , null
                                                , (o, c) -> {
                                                              return 
o.put("func", String.format("WbArea.%s(%s);"
                                                                           , 
Action.createObj.name()
                                                                           , 
getObjWbJson(wb.getId(), addFileUrl(ruid, file, fi, c)).toString())
                                                                     
).toString();
                                                       }
                                                );
                           }
                                  break;


Please Assist

Regards,
Vaibhav Dhawan

[cid:[email protected]]

________________________________

The information contained in this electronic message and any attachments to 
this message are intended for the exclusive use of the addressee(s) and may 
contain proprietary, confidential or privileged information. If you are not the 
intended recipient, you should not disseminate, distribute or copy this e-mail. 
Please notify the sender immediately and destroy all copies of this message and 
any attachments. WARNING: Computer viruses can be transmitted via email. The 
recipient should check this email and any attachments for the presence of 
viruses. The company accepts no liability for any damage caused by any 
virus/trojan/worms/malicious code transmitted by this email. 
www.motherson.com<http://www.motherson.com>


________________________________

The information contained in this electronic message and any attachments to 
this message are intended for the exclusive use of the addressee(s) and may 
contain proprietary, confidential or privileged information. If you are not the 
intended recipient, you should not disseminate, distribute or copy this e-mail. 
Please notify the sender immediately and destroy all copies of this message and 
any attachments. WARNING: Computer viruses can be transmitted via email. The 
recipient should check this email and any attachments for the presence of 
viruses. The company accepts no liability for any damage caused by any 
virus/trojan/worms/malicious code transmitted by this email. www.motherson.com

Reply via email to