Hi, We would like to automate a Mozilla based web browser to create screenshots of certain web pages. Therefore we are looking for somebody to implement an ActiveX wrapper for Mozilla, that offers custom interfaces.
The ToDos are: 1. Build the Mozilla ActiveX Control ( http://www.iol.ie/~locka/mozilla/mozilla.htm ) with the latest Mozilla Sources 2. Add code pieces we already implemented ( it's just a few lines of code but isn't included in the original code ) 3. Add some function (see below) 4. Rebuild the Mozilla ActiveX Control and deliver it to us 5. (Optional: Do some research to figure out if it's possible to include Flash objects into a screenshot of a page) If you are looking for a project based developer contract and if you think, you can handle these requirements, please let me know. Any recommendation is highly appreciated as well. The ActiveX Control should expose the following funtionality: LONG GetScrollWidth( void ) ---------------------------- returns the scroll width of the browser's view in pixels ( non-visible area included ) if errors occur, the return value is -1. LONG GetScrollHeight( void ) ----------------------------- returns the scroll height of the browser's view in pixels ( non- visible area included ) if errors occur, the return value is -1. BOOL ScrollXAxis( LONG x ) -------------------------- scrolls the view x pixels from the left of the view. if the x value is greater than the scroll width the return value is FALSE. on any other errors the return value is FALSE . TRUE is given back if the scrolling was successful. BOOL ScrollYAxis( LONG y ) -------------------------- scrolls the view y pixels from the top of the view. if the x value is greater than the scroll height the return value is FALSE. on any other errors the return value is FALSE . TRUE is given back if the scrolling was successful. BOOL SetUserAgent( const CString& uid = "", const CString& timeStamp = "" ) --------------------------------------------------------------------------- sets the user agent with the userid and the timestamp string. default values are given. SetUserAgent(); should remove the user agent entry. returns TRUE on success, FALSE for errors. BOOL SetAutoProxyURL( const CString& url = "" ) ----------------------------------------------- sets the auto proxy url for the proxy server. default value is given. SetAutoProxyURL(); should disable the proxy server. returns TRUE on success, FALSE for errors. CBitmap* TakeScreenshot( BOOL fullScreen = TRUE ) ------------------------------------------------- takes a screenshot. fullScreen flag TRUE: from the full browser content (non-visible area included). fullScreen flag FALSE: from the visible area. CreateCompatibleDC() and CreateCompatibleBitmap() should be used for snapshotting. returns a pointer to a CBitmap object which contains the screenshot. returns NULL if errors occured. Additionally the Control should pass the events - BeforeNavigate - NavigateComplete - DocumentComplete - NavigateError Nikolaus Pohle nurago GmbH Kurt-Schumacher-Strasse 24 30659 Hannover Germany _______________________________________________ dev-embedding mailing list [email protected] https://lists.mozilla.org/listinfo/dev-embedding
