Welcome to Pintexx Forum Sign in | Join | Faq

pinEdit WP

Started by Fly Geek at 01-04-2007 10:19 . Topic has 6 replies.

Print Search
Sort Posts:    
   01-04-2007, 10:19
Fly Geek is not online. Last active: 04.01.2007 19:40:35 Fly Geek

Top 150 Posts
Joined on 01-04-2007
Posts 6
How do I remove the the grey background/border around the main editable document area?
Reply Quote

Hello!

I'm using the pinEdit 5.2 (WP) evaluation product.  I'm trying to upgrade from an older version so that I can take advantage of the new spell checking add-on. 

My application is very sensitive to changes in margin real estate in both the vertical and horizontal directions.  Our older version of pinEdit does not include the grey (9099AE) background/border around the document.  As a result of this background, we loose about 20px in all directions.  I would prefer to remove this background using the server side API.  Do you currently have a function that supports removing this border?  If not, could you add it to the next wish list?

I've thought about using the client script model to retrieve the document object (obj.editGetDocument()).  I could use script to find the parent cell (<TD>) and remove the padding to get back my original dimensions.  However, this method will receive criticism at my workplace because the next version of pinEdit could easily break my hack.  If you have any other ideas, please let me know.

 

Thanks.


   Report 
   01-05-2007, 9:19
Pintexx Support is not online. Last active: 12.01.2012 07:36:39 Pintexx Support

Top 10 Posts
Joined on 08-30-2005
Posts 1.910
Re: How do I remove the the grey background/border around the main editable document area?
Reply Quote
Hi,

this feature is called "DocumentView".
There should be a property/method to turn it off.

Regards,
Hans-Peter
   Report 
   01-05-2007, 5:58
Fly Geek is not online. Last active: 04.01.2007 19:40:35 Fly Geek

Top 150 Posts
Joined on 01-04-2007
Posts 6
Re: How do I remove the the grey background/border around the main editable document area?
Reply Quote

Thanks for the quick reply.

I've tried toggling the documentView property in my code.  It doesn't seem to change anything.  I've also tried your web samples (Step 2. Define View).  I'm not seeing anything happen as this property is modified.  Is there anything else I should look into? 


   Report 
   01-05-2007, 7:28
Pintexx Support is not online. Last active: 12.01.2012 07:36:39 Pintexx Support

Top 10 Posts
Joined on 08-30-2005
Posts 1.910
Re: How do I remove the the grey background/border around the main editable document area?
Reply Quote
Hi,

could you please download the latest fix from pinedit.pintexx.com --> support --> fix (core) and overcopy the files.

Then please try again.

Best Regards,
Hans-Peter
   Report 
   01-05-2007, 8:46
Fly Geek is not online. Last active: 04.01.2007 19:40:35 Fly Geek

Top 150 Posts
Joined on 01-04-2007
Posts 6
Re: How do I remove the the grey background/border around the main editable document area?
Reply Quote

Thanks again for the quick reply.

I've updated both the "editor" subdirectory and the pinedit.dll file.  I still see the same problem in both the local demo and my application.


   Report 
   01-06-2007, 10:23
Pintexx Support is not online. Last active: 12.01.2012 07:36:39 Pintexx Support

Top 10 Posts
Joined on 08-30-2005
Posts 1.910
Re: How do I remove the the grey background/border around the main editable document area?
Reply Quote
Hi,

we will check what goes wrong.
Meanwhile you could edit
editor/config/config.js and set

var globalDocumentMargin = "1";

Regards,
Hans-Peter

   Report 
   01-08-2007, 8:53
Fly Geek is not online. Last active: 04.01.2007 19:40:35 Fly Geek

Top 150 Posts
Joined on 01-04-2007
Posts 6
Re: How do I remove the the grey background/border around the main editable document area?
Reply Quote
Thanks.  That works.
   Report 
Pintexx Forum » Developer Produ... » pinEdit WP » Re: How do I remove the the grey background/border around the main editable document area?