Important: The HTML Rendering Library is deprecated as of Mac OS X v10.4. A much more complete solution for displaying HTML and web content in your application is provided by the Web Kit. See Web Kit Objective-C Programming Guide for guidelines on using the Web Kit.
A function identified as deprecated has been superseded and may become unsupported in the future.
(Deprecated in Mac OS X v10.4. Use Web Kit instead; see Web Kit Objective-C Programming Guide.)
void DisposeHRNewCFURLUPP ( HRNewCFURLUPP userUPP );
Because the Web Kit takes a completely different approach to displaying HTML and web content from that used by the HTML Rendering Library, you cannot make a one-to-one substitution of Web Kit methods for HTML Rendering Library functions. However, the basic features of the Web Kit can be implemented very quickly, and Web Kit offers much greater capability than the HTML Rendering Library. Although the Web Kit is an Objective-C interface, you can call it from a Carbon application. See Accessing the Web Kit From Carbon Applications for details.
HTMLRendering.h
Disposes of a previously obtained UPP. (Deprecated in Mac OS X v10.4. Use Web Kit instead; see Web Kit Objective-C Programming Guide.)
void DisposeHRNewURLUPP ( HRNewURLUPP userUPP );
A Universal Procedure Pointer (UPP) that you previously obtained by calling the function NewHRNewURLUPP.
Because the Web Kit takes a completely different approach to displaying HTML and web content from that used by the HTML Rendering Library, you cannot make a one-to-one substitution of Web Kit methods for HTML Rendering Library functions. However, the basic features of the Web Kit can be implemented very quickly, and Web Kit offers much greater capability than the HTML Rendering Library. Although the Web Kit is an Objective-C interface, you can call it from a Carbon application. See Accessing the Web Kit From Carbon Applications for details.
HTMLRendering.h
(Deprecated in Mac OS X v10.4. Use Web Kit instead; see Web Kit Objective-C Programming Guide.)
void DisposeHRURLToFSRefUPP ( HRURLToFSRefUPP userUPP );
Because the Web Kit takes a completely different approach to displaying HTML and web content from that used by the HTML Rendering Library, you cannot make a one-to-one substitution of Web Kit methods for HTML Rendering Library functions. However, the basic features of the Web Kit can be implemented very quickly, and Web Kit offers much greater capability than the HTML Rendering Library. Although the Web Kit is an Objective-C interface, you can call it from a Carbon application. See Accessing the Web Kit From Carbon Applications for details.
HTMLRendering.h
Disposes of a previously obtained UPP. (Deprecated in Mac OS X v10.4. Use Web Kit instead; see Web Kit Objective-C Programming Guide.)
void DisposeHRURLToFSSpecUPP ( HRURLToFSSpecUPP userUPP );
A Universal Procedure Pointer (UPP) that you previously obtained by calling the function NewHRURLToFSSpecUPP.
Because the Web Kit takes a completely different approach to displaying HTML and web content from that used by the HTML Rendering Library, you cannot make a one-to-one substitution of Web Kit methods for HTML Rendering Library functions. However, the basic features of the Web Kit can be implemented very quickly, and Web Kit offers much greater capability than the HTML Rendering Library. Although the Web Kit is an Objective-C interface, you can call it from a Carbon application. See Accessing the Web Kit From Carbon Applications for details.
HTMLRendering.h
(Deprecated in Mac OS X v10.4. Use Web Kit instead; see Web Kit Objective-C Programming Guide.)
void DisposeHRWasCFURLVisitedUPP ( HRWasCFURLVisitedUPP userUPP );
Because the Web Kit takes a completely different approach to displaying HTML and web content from that used by the HTML Rendering Library, you cannot make a one-to-one substitution of Web Kit methods for HTML Rendering Library functions. However, the basic features of the Web Kit can be implemented very quickly, and Web Kit offers much greater capability than the HTML Rendering Library. Although the Web Kit is an Objective-C interface, you can call it from a Carbon application. See Accessing the Web Kit From Carbon Applications for details.
HTMLRendering.h
Disposes of a previously obtained UPP. (Deprecated in Mac OS X v10.4. Use Web Kit instead; see Web Kit Objective-C Programming Guide.)
void DisposeHRWasURLVisitedUPP ( HRWasURLVisitedUPP userUPP );
A Universal Procedure Pointer (UPP) that you previously obtained by calling the function NewHRWasURLVisitedUPP.
Because the Web Kit takes a completely different approach to displaying HTML and web content from that used by the HTML Rendering Library, you cannot make a one-to-one substitution of Web Kit methods for HTML Rendering Library functions. However, the basic features of the Web Kit can be implemented very quickly, and Web Kit offers much greater capability than the HTML Rendering Library. Although the Web Kit is an Objective-C interface, you can call it from a Carbon application. See Accessing the Web Kit From Carbon Applications for details.
HTMLRendering.h
Activates the window associated with a given HRReference. (Deprecated in Mac OS X v10.4. Use Web Kit instead; see Web Kit Objective-C Programming Guide.)
OSStatus HRActivate ( HRReference hrRef );
An HRReference value previously obtained by your application.
A result code. See “HTML Rendering Library Result Codes.”
Call this function whenever the window associated with a given HRReference becomes active. This allows the HTML Rendering Library to activate scrollbars and handle events as appropriate.
Because the Web Kit takes a completely different approach to displaying HTML and web content from that used by the HTML Rendering Library, you cannot make a one-to-one substitution of Web Kit methods for HTML Rendering Library functions. However, the basic features of the Web Kit can be implemented very quickly, and Web Kit offers much greater capability than the HTML Rendering Library. Although the Web Kit is an Objective-C interface, you can call it from a Carbon application. See Accessing the Web Kit From Carbon Applications for details.
HTMLRendering.h
Deactivates the window associated with a given HRReference. (Deprecated in Mac OS X v10.4. Use Web Kit instead; see Web Kit Objective-C Programming Guide.)
OSStatus HRDeactivate ( HRReference hrRef );
An HRReference value previously obtained by your application.
A result code. See “HTML Rendering Library Result Codes.”
Call this function whenever the window associated with a given HRReference becomes inactive.
Because the Web Kit takes a completely different approach to displaying HTML and web content from that used by the HTML Rendering Library, you cannot make a one-to-one substitution of Web Kit methods for HTML Rendering Library functions. However, the basic features of the Web Kit can be implemented very quickly, and Web Kit offers much greater capability than the HTML Rendering Library. Although the Web Kit is an Objective-C interface, you can call it from a Carbon application. See Accessing the Web Kit From Carbon Applications for details.
HTMLRendering.h
Disposes of a previously obtained HRReference. (Deprecated in Mac OS X v10.4. Use Web Kit instead; see Web Kit Objective-C Programming Guide.)
OSStatus HRDisposeReference ( HRReference hrRef );
An HRReference value previously obtained by your application.
A result code. See “HTML Rendering Library Result Codes.”
Because the Web Kit takes a completely different approach to displaying HTML and web content from that used by the HTML Rendering Library, you cannot make a one-to-one substitution of Web Kit methods for HTML Rendering Library functions. However, the basic features of the Web Kit can be implemented very quickly, and Web Kit offers much greater capability than the HTML Rendering Library. Although the Web Kit is an Objective-C interface, you can call it from a Carbon application. See Accessing the Web Kit From Carbon Applications for details.
HTMLRendering.h
Updates a specified region for a given HRReference. (Deprecated in Mac OS X v10.4. Use Web Kit instead; see Web Kit Objective-C Programming Guide.)
OSStatus HRDraw ( HRReference hrRef, RgnHandle updateRgnH );
An HRReference value previously obtained by your application.
A handle of type RgnHandle. This handle specifies the region that you want the HTML Rendering Library to update. Specify the region in the GrafPort’s local coordinates. If you pass NULL, the HTML Rendering Library updates the entire rectangle you previously specified with the function HRSetRenderingRect.
A result code. See “HTML Rendering Library Result Codes.”
Be sure to specify the dimensions of the rendering area by calling the function HRSetRenderingRect at least once before you call the HRDraw function.
Because the Web Kit takes a completely different approach to displaying HTML and web content from that used by the HTML Rendering Library, you cannot make a one-to-one substitution of Web Kit methods for HTML Rendering Library functions. However, the basic features of the Web Kit can be implemented very quickly, and Web Kit offers much greater capability than the HTML Rendering Library. Although the Web Kit is an Objective-C interface, you can call it from a Carbon application. See Accessing the Web Kit From Carbon Applications for details.
HTMLRendering.h
Updates a specified region for a given HRReference. (Deprecated in Mac OS X v10.4. Use Web Kit instead; see Web Kit Objective-C Programming Guide.)
OSStatus HRDrawInPort ( HRReference hrRef, RgnHandle updateRgnH, CGrafPtr grafPtr );
A reference to the renderer object.
The region to be updated.
A graf pointer to render HTML into.
A result code. See “HTML Rendering Library Result Codes.”
All the drawing will now happen in the specified port. This is the API you want to use to draw in an offscreen port, for example when printing. You could also use this API to draw in an on screen port.
Because the Web Kit takes a completely different approach to displaying HTML and web content from that used by the HTML Rendering Library, you cannot make a one-to-one substitution of Web Kit methods for HTML Rendering Library functions. However, the basic features of the Web Kit can be implemented very quickly, and Web Kit offers much greater capability than the HTML Rendering Library. Although the Web Kit is an Objective-C interface, you can call it from a Carbon application. See Accessing the Web Kit From Carbon Applications for details.
HTMLRendering.h
Forces all images to be drawn with QuickDraw. (Deprecated in Mac OS X v10.4. Use Web Kit instead; see Web Kit Objective-C Programming Guide.)
OSStatus HRForceQuickdraw ( HRReference hrRef, Boolean forceQuickdraw );
An HRReference value previously obtained by your application.
Pass a value of true in this parameter to force all images to be drawn with QuickDraw.
A result code. See “HTML Rendering Library Result Codes.”
This function may be useful when working with print drivers that require QuickDraw for image capturing.
Because the Web Kit takes a completely different approach to displaying HTML and web content from that used by the HTML Rendering Library, you cannot make a one-to-one substitution of Web Kit methods for HTML Rendering Library functions. However, the basic features of the Web Kit can be implemented very quickly, and Web Kit offers much greater capability than the HTML Rendering Library. Although the Web Kit is an Objective-C interface, you can call it from a Carbon application. See Accessing the Web Kit From Carbon Applications for details.
HTMLRendering.h
Attempts to release cache memory for use by your application. (Deprecated in Mac OS X v10.4. Use Web Kit instead; see Web Kit Objective-C Programming Guide.)
SInt32 HRFreeMemory ( Size inBytesNeeded );
A value indicating how many bytes of cache memory your application desires to obtain.
A value indicating how many bytes of cache memory the HTML Rendering Library makes available to your application.
Call the HRFreeMemory function to flush images and movies from the HTML Rendering Library cache. Be sure to check the function result to determine whether sufficient memory was made available to your application.
Because the Web Kit takes a completely different approach to displaying HTML and web content from that used by the HTML Rendering Library, you cannot make a one-to-one substitution of Web Kit methods for HTML Rendering Library functions. However, the basic features of the Web Kit can be implemented very quickly, and Web Kit offers much greater capability than the HTML Rendering Library. Although the Web Kit is an Objective-C interface, you can call it from a Carbon application. See Accessing the Web Kit From Carbon Applications for details.
HTMLRendering.h
Obtains the base URL of a given HTML page. (Deprecated in Mac OS X v10.4. Use Web Kit instead; see Web Kit Objective-C Programming Guide.)
OSStatus HRGetBaseURL ( HRReference hrRef, Handle baseURLH );
A HRReference value previously obtained by your application.
A handle. Make sure you allocate a valid handle with the NewHandle function. On return, this handle (which may be resized) references a C string containing the root URL of the given file. If the current page does not contain a BASE tag, the handle is empty.
A result code. See “HTML Rendering Library Result Codes.”
The URL returned by this function begins with 'file:///'.
Because the Web Kit takes a completely different approach to displaying HTML and web content from that used by the HTML Rendering Library, you cannot make a one-to-one substitution of Web Kit methods for HTML Rendering Library functions. However, the basic features of the Web Kit can be implemented very quickly, and Web Kit offers much greater capability than the HTML Rendering Library. Although the Web Kit is an Objective-C interface, you can call it from a Carbon application. See Accessing the Web Kit From Carbon Applications for details.
HTMLRendering.h
Obtains the base URL of a given HTML page. (Deprecated in Mac OS X v10.4. Use Web Kit instead; see Web Kit Objective-C Programming Guide.)
OSStatus HRGetBaseURLAsCFString ( HRReference hrRef, CFStringRef *baseString );
A HRReference value previously obtained by your application.
On return, this handle references a CFString containing the root URL of the given file.
A result code. See “HTML Rendering Library Result Codes.”
Use these API from a Carbon application instead of using HRGetRootURL, HRGetBaseURL, HRGetHTMLURL, HRGetTitleand HRGetHTMLFile. These APIs are same in behavior with their old counter parts. The only difference is that they take CFString, CFURLRef, and FSRef as parameters.
Because the Web Kit takes a completely different approach to displaying HTML and web content from that used by the HTML Rendering Library, you cannot make a one-to-one substitution of Web Kit methods for HTML Rendering Library functions. However, the basic features of the Web Kit can be implemented very quickly, and Web Kit offers much greater capability than the HTML Rendering Library. Although the Web Kit is an Objective-C interface, you can call it from a Carbon application. See Accessing the Web Kit From Carbon Applications for details.
HTMLRendering.h
Obtains a file system specification record for a given HTML page. (Deprecated in Mac OS X v10.4. Use Web Kit instead; see Web Kit Objective-C Programming Guide.)
OSStatus HRGetHTMLFile ( HRReference hrRef, FSSpec *fsspec );
An HRReference value previously obtained by your application.
A pointer to a file system specification record (FSSpec). On return, the FSSpec contains file specification data for the page specified in the hrRef parameter.
A result code. See “HTML Rendering Library Result Codes.”
Because the Web Kit takes a completely different approach to displaying HTML and web content from that used by the HTML Rendering Library, you cannot make a one-to-one substitution of Web Kit methods for HTML Rendering Library functions. However, the basic features of the Web Kit can be implemented very quickly, and Web Kit offers much greater capability than the HTML Rendering Library. Although the Web Kit is an Objective-C interface, you can call it from a Carbon application. See Accessing the Web Kit From Carbon Applications for details.
HTMLRendering.h
Obtains an FSRef for a given HTML page. (Deprecated in Mac OS X v10.4. Use Web Kit instead; see Web Kit Objective-C Programming Guide.)
OSStatus HRGetHTMLFileAsFSRef ( HRReference hrRef, FSRef *fref );
An HRReference value previously obtained by your application.
A pointer to an (FSRef). On return, the FSRef contains file specification data for the page specified in the hrRef parameter.
A result code. See “HTML Rendering Library Result Codes.”
Use these API from a Carbon application instead of using HRGetRootURL, HRGetBaseURL, HRGetHTMLURL, HRGetTitleand HRGetHTMLFile. These APIs are same in behavior with their old counter parts. The only difference is that they take CFString, CFURLRef, and FSRef as parameters.
Because the Web Kit takes a completely different approach to displaying HTML and web content from that used by the HTML Rendering Library, you cannot make a one-to-one substitution of Web Kit methods for HTML Rendering Library functions. However, the basic features of the Web Kit can be implemented very quickly, and Web Kit offers much greater capability than the HTML Rendering Library. Although the Web Kit is an Objective-C interface, you can call it from a Carbon application. See Accessing the Web Kit From Carbon Applications for details.
HTMLRendering.h
Identifies which version of the HTML Rendering Library is available. (Deprecated in Mac OS X v10.4. Use Web Kit instead; see Web Kit Objective-C Programming Guide.)
OSStatus HRGetHTMLRenderingLibVersion ( NumVersion *returnVers );
A pointer to a NumVersion structure. On return, this structure contains a value identifying the installed version of the HTML Rendering Library.
A result code. See “HTML Rendering Library Result Codes.”
Because the Web Kit takes a completely different approach to displaying HTML and web content from that used by the HTML Rendering Library, you cannot make a one-to-one substitution of Web Kit methods for HTML Rendering Library functions. However, the basic features of the Web Kit can be implemented very quickly, and Web Kit offers much greater capability than the HTML Rendering Library. Although the Web Kit is an Objective-C interface, you can call it from a Carbon application. See Accessing the Web Kit From Carbon Applications for details.
HTMLRendering.h
Obtains the URL for a given HTML page. (Deprecated in Mac OS X v10.4. Use Web Kit instead; see Web Kit Objective-C Programming Guide.)
OSStatus HRGetHTMLURL ( HRReference hrRef, Handle HTMLURLH );
An HRReference value previously obtained by your application.
A handle. Make sure you allocate a valid handle with the NewHandle function. On return, this handle (which may be resized) references a C string containing the URL of the given file.
A result code. See “HTML Rendering Library Result Codes.”
Because the Web Kit takes a completely different approach to displaying HTML and web content from that used by the HTML Rendering Library, you cannot make a one-to-one substitution of Web Kit methods for HTML Rendering Library functions. However, the basic features of the Web Kit can be implemented very quickly, and Web Kit offers much greater capability than the HTML Rendering Library. Although the Web Kit is an Objective-C interface, you can call it from a Carbon application. See Accessing the Web Kit From Carbon Applications for details.
HTMLRendering.h
Obtains the URL for a given HTML page. (Deprecated in Mac OS X v10.4. Use Web Kit instead; see Web Kit Objective-C Programming Guide.)
OSStatus HRGetHTMLURLAsCFURL ( HRReference hrRef, CFURLRef *theURL );
An HRReference value previously obtained by your application.
On return, this references a CFURL containing the URL of the given file.
A result code. See “HTML Rendering Library Result Codes.”
Use these API from a Carbon application instead of using HRGetRootURL, HRGetBaseURL, HRGetHTMLURL, HRGetTitleand HRGetHTMLFile. These APIs are same in behavior with their old counter parts. The only difference is that they take CFString, CFURLRef, and FSRef as parameters.
Because the Web Kit takes a completely different approach to displaying HTML and web content from that used by the HTML Rendering Library, you cannot make a one-to-one substitution of Web Kit methods for HTML Rendering Library functions. However, the basic features of the Web Kit can be implemented very quickly, and Web Kit offers much greater capability than the HTML Rendering Library. Although the Web Kit is an Objective-C interface, you can call it from a Carbon application. See Accessing the Web Kit From Carbon Applications for details.
HTMLRendering.h
Reports the size of the rendered image. (Deprecated in Mac OS X v10.4. Use Web Kit instead; see Web Kit Objective-C Programming Guide.)
OSStatus HRGetRenderedImageSize ( HRReference hrRef, Point *renderingSize );
An HRReference value previously obtained by your application.
A pointer to a value of type Point. On return, the HTML Rendering Library uses this value to report the size of the entire HTML page; that is, the smallest rectangle that fully encloses the entire rendered page (as drawn without scrollbars).
A result code. See “HTML Rendering Library Result Codes.”
The HTML Rendering Library attempts to limit the width of the rendered page to the width of the rectangle you specify by calling the function HRSetRenderingRect. The length of the page is calculated based on the resulting width.
Because the Web Kit takes a completely different approach to displaying HTML and web content from that used by the HTML Rendering Library, you cannot make a one-to-one substitution of Web Kit methods for HTML Rendering Library functions. However, the basic features of the Web Kit can be implemented very quickly, and Web Kit offers much greater capability than the HTML Rendering Library. Although the Web Kit is an Objective-C interface, you can call it from a Carbon application. See Accessing the Web Kit From Carbon Applications for details.
HTMLRendering.h
Reports the size of the rendered image. (Deprecated in Mac OS X v10.4. Use Web Kit instead; see Web Kit Objective-C Programming Guide.)
OSStatus HRGetRenderedImageSize32 ( HRReference hrRef, UInt32 *height, UInt32 *width );
A reference to the renderer object.
On return, the height of the image.
On return, the width of the image.
A result code. See “HTML Rendering Library Result Codes.”
Use this API when the rendered image could have coordinates larger than what SInt16 can hold.
Because the Web Kit takes a completely different approach to displaying HTML and web content from that used by the HTML Rendering Library, you cannot make a one-to-one substitution of Web Kit methods for HTML Rendering Library functions. However, the basic features of the Web Kit can be implemented very quickly, and Web Kit offers much greater capability than the HTML Rendering Library. Although the Web Kit is an Objective-C interface, you can call it from a Carbon application. See Accessing the Web Kit From Carbon Applications for details.
HTMLRendering.h
Obtains the root URL for all relative links on a given HTML page. (Deprecated in Mac OS X v10.4. Use Web Kit instead; see Web Kit Objective-C Programming Guide.)
OSStatus HRGetRootURL ( HRReference hrRef, Handle rootURLH );
An HRReference value previously obtained by your application.
A handle. Make sure you allocate a valid handle with the NewHandle function. On return, this handle (which may be resized) references a C string containing the root URL of the given file.
A result code. See “HTML Rendering Library Result Codes.”
The root URL is normally the URL of the page specified in the hrRef parameter, unless the page contains a <BASE> tag specifying a different root URL.
Because the Web Kit takes a completely different approach to displaying HTML and web content from that used by the HTML Rendering Library, you cannot make a one-to-one substitution of Web Kit methods for HTML Rendering Library functions. However, the basic features of the Web Kit can be implemented very quickly, and Web Kit offers much greater capability than the HTML Rendering Library. Although the Web Kit is an Objective-C interface, you can call it from a Carbon application. See Accessing the Web Kit From Carbon Applications for details.
HTMLRendering.h
Obtains the root URL for all relative links on a given HTML page. (Deprecated in Mac OS X v10.4. Use Web Kit instead; see Web Kit Objective-C Programming Guide.)
OSStatus HRGetRootURLAsCFString ( HRReference hrRef, CFStringRef *rootString );
An HRReference value previously obtained by your application.
On return, this references a CFString containing the root URL of the given file.
A result code. See “HTML Rendering Library Result Codes.”
Use these API from a Carbon application instead of using HRGetRootURL, HRGetBaseURL, HRGetHTMLURL, HRGetTitleand HRGetHTMLFile. These APIs are same in behavior with their old counter parts. The only difference is that they take CFString, CFURLRef, and FSRef as parameters.
Because the Web Kit takes a completely different approach to displaying HTML and web content from that used by the HTML Rendering Library, you cannot make a one-to-one substitution of Web Kit methods for HTML Rendering Library functions. However, the basic features of the Web Kit can be implemented very quickly, and Web Kit offers much greater capability than the HTML Rendering Library. Although the Web Kit is an Objective-C interface, you can call it from a Carbon application. See Accessing the Web Kit From Carbon Applications for details.
HTMLRendering.h
Obtains the title of a given HTML page. (Deprecated in Mac OS X v10.4. Use Web Kit instead; see Web Kit Objective-C Programming Guide.)
OSStatus HRGetTitle ( HRReference hrRef, StringPtr title );
An HRReference value previously obtained by your application.
A StringPtr. On return, the HTML Rendering Library stores the contents of the TITLE tag of the given page in the referenced string.
A result code. See “HTML Rendering Library Result Codes.”
This function converts any HTML entities into Mac OS characters before storing them in the string specified in the title parameter.
Because the Web Kit takes a completely different approach to displaying HTML and web content from that used by the HTML Rendering Library, you cannot make a one-to-one substitution of Web Kit methods for HTML Rendering Library functions. However, the basic features of the Web Kit can be implemented very quickly, and Web Kit offers much greater capability than the HTML Rendering Library. Although the Web Kit is an Objective-C interface, you can call it from a Carbon application. See Accessing the Web Kit From Carbon Applications for details.
HTMLRendering.h
Obtains the title of a given HTML page. (Deprecated in Mac OS X v10.4. Use Web Kit instead; see Web Kit Objective-C Programming Guide.)
OSStatus HRGetTitleAsCFString ( HRReference hrRef, CFStringRef *title );
An HRReference value previously obtained by your application.
A CFStringRef. On return, the HTML Rendering Library stores the contents of the TITLE tag of the given page in the referenced string.
A result code. See “HTML Rendering Library Result Codes.”
Use these API from a Carbon application instead of using HRGetRootURL, HRGetBaseURL, HRGetHTMLURL, HRGetTitleand HRGetHTMLFile. These APIs are same in behavior with their old counter parts. The only difference is that they take CFString, CFURLRef, and FSRef as parameters.
Because the Web Kit takes a completely different approach to displaying HTML and web content from that used by the HTML Rendering Library, you cannot make a one-to-one substitution of Web Kit methods for HTML Rendering Library functions. However, the basic features of the Web Kit can be implemented very quickly, and Web Kit offers much greater capability than the HTML Rendering Library. Although the Web Kit is an Objective-C interface, you can call it from a Carbon application. See Accessing the Web Kit From Carbon Applications for details.
HTMLRendering.h
Specifies an HTML anchor to scroll into view. (Deprecated in Mac OS X v10.4. Use Web Kit instead; see Web Kit Objective-C Programming Guide.)
OSStatus HRGoToAnchor ( HRReference hrRef, const char *anchorName );
An HRReference value previously obtained by your application.
A pointer to a C string containing the name of an anchor on the current HTML page.
A result code. See “HTML Rendering Library Result Codes.”
Note that anchors are case sensitive.
Because the Web Kit takes a completely different approach to displaying HTML and web content from that used by the HTML Rendering Library, you cannot make a one-to-one substitution of Web Kit methods for HTML Rendering Library functions. However, the basic features of the Web Kit can be implemented very quickly, and Web Kit offers much greater capability than the HTML Rendering Library. Although the Web Kit is an Objective-C interface, you can call it from a Carbon application. See Accessing the Web Kit From Carbon Applications for details.
HTMLRendering.h
Specifies an HTML anchor to scroll into view. (Deprecated in Mac OS X v10.4. Use Web Kit instead; see Web Kit Objective-C Programming Guide.)
OSStatus HRGoToAnchorCFString ( HRReference hrRef, CFStringRef anchorName );
A reference to the renderer object.
The name of the anchor to display.
A result code. See “HTML Rendering Library Result Codes.”
Use these functions instead of using the functions HRGoToFile, HRGoToURL, HRGoToAnchorand HRGoToPtr. These functions are the same in behavior with their old counter parts. The only difference is that they take FSRef, CFURLRef, CFString, and CFData as parameters.
Because the Web Kit takes a completely different approach to displaying HTML and web content from that used by the HTML Rendering Library, you cannot make a one-to-one substitution of Web Kit methods for HTML Rendering Library functions. However, the basic features of the Web Kit can be implemented very quickly, and Web Kit offers much greater capability than the HTML Rendering Library. Although the Web Kit is an Objective-C interface, you can call it from a Carbon application. See Accessing the Web Kit From Carbon Applications for details.
HTMLRendering.h
Renders a local file specified as a URL. (Deprecated in Mac OS X v10.4. Use Web Kit instead; see Web Kit Objective-C Programming Guide.)
OSStatus HRGoToCFURL ( HRReference hrRef, CFURLRef url, Boolean addToHistory, Boolean forceRefresh );
A reference to the renderer object.
A reference to the URL to render.
Pass true if this file URL should be added to the history.
Pass true if the rendering area should be refreshed.
A result code. See “HTML Rendering Library Result Codes.”
Use these functions instead of using the functions HRGoToFile, HRGoToURL, HRGoToAnchorand HRGoToPtr. These functions are the same in behavior with their old counter parts. The only difference is that they take FSRef, CFURLRef, CFString, and CFData as parameters.
Because the Web Kit takes a completely different approach to displaying HTML and web content from that used by the HTML Rendering Library, you cannot make a one-to-one substitution of Web Kit methods for HTML Rendering Library functions. However, the basic features of the Web Kit can be implemented very quickly, and Web Kit offers much greater capability than the HTML Rendering Library. Although the Web Kit is an Objective-C interface, you can call it from a Carbon application. See Accessing the Web Kit From Carbon Applications for details.
HTMLRendering.h
Specifies HTML data for rendering. (Deprecated in Mac OS X v10.4. Use Web Kit instead; see Web Kit Objective-C Programming Guide.)
OSStatus HRGoToData ( HRReference hrRef, CFDataRef data, Boolean addToHistory, Boolean forceRefresh );
A reference to the renderer object.
A reference to data in the memory to render.
Pass true if this file URL should be added to the history.
Pass true if the rendering area should be refreshed.
A result code. See “HTML Rendering Library Result Codes.”
Use these functions instead of using the functions HRGoToFile, HRGoToURL, HRGoToAnchorand HRGoToPtr. These functions are the same in behavior with their old counter parts. The only difference is that they take FSRef, CFURLRef, CFString, and CFData as parameters.
Because the Web Kit takes a completely different approach to displaying HTML and web content from that used by the HTML Rendering Library, you cannot make a one-to-one substitution of Web Kit methods for HTML Rendering Library functions. However, the basic features of the Web Kit can be implemented very quickly, and Web Kit offers much greater capability than the HTML Rendering Library. Although the Web Kit is an Objective-C interface, you can call it from a Carbon application. See Accessing the Web Kit From Carbon Applications for details.
HTMLRendering.h
Specifies an HTML file for rendering. (Deprecated in Mac OS X v10.4. Use Web Kit instead; see Web Kit Objective-C Programming Guide.)
OSStatus HRGoToFile ( HRReference hrRef, const FSSpec *fsspec, Boolean addToHistory, Boolean forceRefresh );
An HRReference value previously obtained by your application.
A pointer to a file system specification record (FSSpec) for the HTML file that you wish to have rendered by the HTML Rendering Library.
Pass true in this parameter if you wish to have this file added to the list of visited links.
Pass true in this parameter if you wish to force a screen update.
A result code. See “HTML Rendering Library Result Codes.”
Note that the HTML Rendering Library calls your HRNewURLProcPtr application-defined function (if you use one) with this FSSpec. If you need to pass a URL instead of an FSSpec, use the function HRGoToURL.
Because the Web Kit takes a completely different approach to displaying HTML and web content from that used by the HTML Rendering Library, you cannot make a one-to-one substitution of Web Kit methods for HTML Rendering Library functions. However, the basic features of the Web Kit can be implemented very quickly, and Web Kit offers much greater capability than the HTML Rendering Library. Although the Web Kit is an Objective-C interface, you can call it from a Carbon application. See Accessing the Web Kit From Carbon Applications for details.
HTMLRendering.h
Renders a set of HTML data from a specified buffer. (Deprecated in Mac OS X v10.4. Use Web Kit instead; see Web Kit Objective-C Programming Guide.)
OSStatus HRGoToFSRef ( HRReference hrRef, const FSRef *fref, Boolean addToHistory, Boolean forceRefresh );
A reference to the renderer object.
A reference to the HTML file that is to be opened and rendered.
Pass true if this file URL should be added to the history.
Pass true if the rendering area should be refreshed.
A result code. See “HTML Rendering Library Result Codes.”
Use these functions instead of using the functions HRGoToFile, HRGoToURL, HRGoToAnchorand HRGoToPtr. These functions are the same in behavior with their old counter parts. The only difference is that they take FSRef, CFURLRef, CFString, and CFData as parameters.
Because the Web Kit takes a completely different approach to displaying HTML and web content from that used by the HTML Rendering Library, you cannot make a one-to-one substitution of Web Kit methods for HTML Rendering Library functions. However, the basic features of the Web Kit can be implemented very quickly, and Web Kit offers much greater capability than the HTML Rendering Library. Although the Web Kit is an Objective-C interface, you can call it from a Carbon application. See Accessing the Web Kit From Carbon Applications for details.
HTMLRendering.h
Renders a set of HTML data from a specified buffer. (Deprecated in Mac OS X v10.4. Use Web Kit instead; see Web Kit Objective-C Programming Guide.)
OSStatus HRGoToPtr ( HRReference hrRef, char *buffer, UInt32 bufferSize, Boolean addToHistory, Boolean forceRefresh );
An HRReference value previously obtained by your application.
A pointer to a buffer containing HTML data.
A value specifying the number of bytes in the buffer.
Pass true in this parameter if you wish to have this data added to the list of visited links.
Pass true in this parameter if you wish to force a screen update.
A result code. See “HTML Rendering Library Result Codes.”
The HTML Rendering Library displays the HTML source data pointed to by the handle. It does not copy the handle, so you should not dispose of it until you are sure you no longer need it. Note that any relative links you specify in the HTML data are relative to your application, as the HTML data has no associated URL.
Because the Web Kit takes a completely different approach to displaying HTML and web content from that used by the HTML Rendering Library, you cannot make a one-to-one substitution of Web Kit methods for HTML Rendering Library functions. However, the basic features of the Web Kit can be implemented very quickly, and Web Kit offers much greater capability than the HTML Rendering Library. Although the Web Kit is an Objective-C interface, you can call it from a Carbon application. See Accessing the Web Kit From Carbon Applications for details.
HTMLRendering.h
Renders a local file specified as a URL. (Deprecated in Mac OS X v10.4. Use Web Kit instead; see Web Kit Objective-C Programming Guide.)
OSStatus HRGoToURL ( HRReference hrRef, const char *url, Boolean addToHistory, Boolean forceRefresh );
An HRReference value previously obtained by your application.
A pointer to a C string containing a Universal Resource Locator (URL).
Pass true in this parameter if you wish to have this file added to the list of visited links.
Pass true in this parameter if you wish to force a screen update.
A result code. See “HTML Rendering Library Result Codes.”
Use this function for rendering local files. The URL should begin with 'file:///'. Note that the HTML Rendering Library calls your HRNewURLProcPtr application-defined function (if you use one) with this URL. If you need to pass an FSSpec instead of a URL, use the function HRGoToURL.
Because the Web Kit takes a completely different approach to displaying HTML and web content from that used by the HTML Rendering Library, you cannot make a one-to-one substitution of Web Kit methods for HTML Rendering Library functions. However, the basic features of the Web Kit can be implemented very quickly, and Web Kit offers much greater capability than the HTML Rendering Library. Although the Web Kit is an Objective-C interface, you can call it from a Carbon application. See Accessing the Web Kit From Carbon Applications for details.
HTMLRendering.h
Gives the HTML Rendering Library an opportunity to handle events. (Deprecated in Mac OS X v10.4. Use Web Kit instead; see Web Kit Objective-C Programming Guide.)
Boolean HRIsHREvent ( const EventRecord *eventRecord );
A pointer to an EventRecord.
Returns true if the HTML Rendering Library handles the specified event; returns false otherwise.
Call the HRIsHREvent function with every event received by your application. This ensures that the HTML Rendering Library has an opportunity to handle user clicks and cursor changes.
Because the Web Kit takes a completely different approach to displaying HTML and web content from that used by the HTML Rendering Library, you cannot make a one-to-one substitution of Web Kit methods for HTML Rendering Library functions. However, the basic features of the Web Kit can be implemented very quickly, and Web Kit offers much greater capability than the HTML Rendering Library. Although the Web Kit is an Objective-C interface, you can call it from a Carbon application. See Accessing the Web Kit From Carbon Applications for details.
HTMLRendering.h
Obtains a new HRReference. (Deprecated in Mac OS X v10.4. Use Web Kit instead; see Web Kit Objective-C Programming Guide.)
OSStatus HRNewReference ( HRReference *hrRef, OSType rendererType, GrafPtr grafPtr );
A pointer to a HRReference value. On return, your application uses this value to call other functions in the HTML Rendering Library.
A value of type OSType identifying the type of HTML renderer available. Currently, the constant kHRRendererHTML32Type is the only value you may pass in this parameter.
A pointer to a valid GrafPort.
A result code. See “HTML Rendering Library Result Codes.”
When your application has no further need for a particular HRReference, dispose of it by calling the function HRDisposeReference.
Because the Web Kit takes a completely different approach to displaying HTML and web content from that used by the HTML Rendering Library, you cannot make a one-to-one substitution of Web Kit methods for HTML Rendering Library functions. However, the basic features of the Web Kit can be implemented very quickly, and Web Kit offers much greater capability than the HTML Rendering Library. Although the Web Kit is an Objective-C interface, you can call it from a Carbon application. See Accessing the Web Kit From Carbon Applications for details.
HTMLRendering.h
Obtains a new HRReference. (Deprecated in Mac OS X v10.4. Use Web Kit instead; see Web Kit Objective-C Programming Guide.)
OSStatus HRNewReferenceInWindow ( HRReference *hrRef, OSType rendererType, WindowRef inWindowRef );
A pointer to the new reference created and returned by the renderer.
The type of the renderer—for example kHRRendererHTML32Type. Only this type is supported for now.
A reference to the window for which rendering area will be specified.
A result code. See “HTML Rendering Library Result Codes.”
All the controls created by the HTML renderer will be embedded in the root control of the window specified by the window reference.
Because the Web Kit takes a completely different approach to displaying HTML and web content from that used by the HTML Rendering Library, you cannot make a one-to-one substitution of Web Kit methods for HTML Rendering Library functions. However, the basic features of the Web Kit can be implemented very quickly, and Web Kit offers much greater capability than the HTML Rendering Library. Although the Web Kit is an Objective-C interface, you can call it from a Carbon application. See Accessing the Web Kit From Carbon Applications for details.
HTMLRendering.h
(Deprecated in Mac OS X v10.4. Use Web Kit instead; see Web Kit Objective-C Programming Guide.)
void HRRegisterNewCFURLUPP ( HRNewCFURLUPP inURLUPP, HRReference hrRef, void *inRefCon );
Because the Web Kit takes a completely different approach to displaying HTML and web content from that used by the HTML Rendering Library, you cannot make a one-to-one substitution of Web Kit methods for HTML Rendering Library functions. However, the basic features of the Web Kit can be implemented very quickly, and Web Kit offers much greater capability than the HTML Rendering Library. Although the Web Kit is an Objective-C interface, you can call it from a Carbon application. See Accessing the Web Kit From Carbon Applications for details.
HTMLRendering.h
Registers an application-defined function that handles newly visited links. (Deprecated in Mac OS X v10.4. Use Web Kit instead; see Web Kit Objective-C Programming Guide.)
void HRRegisterNewURLUPP ( HRNewURLUPP inNewURLUPP, HRReference hrRef, void *inRefCon );
A Universal Procedure Pointer (UPP). You obtain this UPP by calling the function NewHRNewURLUPP.
An HRReference value previously obtained by your application.
An arbitrary value set by your application. This value is passed by your application when you call the HRRegisterNewURLUPP function and passed back when the HTML Rendering Library calls your function HRNewURLProcPtr. You may find this value useful for referring to an object instance or a structure, for example.
Because the Web Kit takes a completely different approach to displaying HTML and web content from that used by the HTML Rendering Library, you cannot make a one-to-one substitution of Web Kit methods for HTML Rendering Library functions. However, the basic features of the Web Kit can be implemented very quickly, and Web Kit offers much greater capability than the HTML Rendering Library. Although the Web Kit is an Objective-C interface, you can call it from a Carbon application. See Accessing the Web Kit From Carbon Applications for details.
HTMLRendering.h
(Deprecated in Mac OS X v10.4. Use Web Kit instead; see Web Kit Objective-C Programming Guide.)
void HRRegisterURLToFSRefUPP ( HRURLToFSRefUPP inURLToFSRefUPP, HRReference hrRef, void *inRefCon );
Because the Web Kit takes a completely different approach to displaying HTML and web content from that used by the HTML Rendering Library, you cannot make a one-to-one substitution of Web Kit methods for HTML Rendering Library functions. However, the basic features of the Web Kit can be implemented very quickly, and Web Kit offers much greater capability than the HTML Rendering Library. Although the Web Kit is an Objective-C interface, you can call it from a Carbon application. See Accessing the Web Kit From Carbon Applications for details.
HTMLRendering.h
Registers an application-defined function that handles previously visited links. (Deprecated in Mac OS X v10.4. Use Web Kit instead; see Web Kit Objective-C Programming Guide.)
void HRRegisterURLToFSSpecUPP ( HRURLToFSSpecUPP inURLToFSSpecUPP, HRReference hrRef, void *inRefCon );
A Universal Procedure Pointer (UPP). You obtain this UPP by calling the function NewHRURLToFSSpecUPP.
An HRReference value previously obtained by your application.
An arbitrary value set by your application. This value is passed by your application when you call the HRRegisterURLToFSSpecUPP function and passed back when the HTML Rendering Library calls your function HRURLToFSSpecProcPtr. You may find this value useful for referring to an object instance or a structure, for example.
Because the Web Kit takes a completely different approach to displaying HTML and web content from that used by the HTML Rendering Library, you cannot make a one-to-one substitution of Web Kit methods for HTML Rendering Library functions. However, the basic features of the Web Kit can be implemented very quickly, and Web Kit offers much greater capability than the HTML Rendering Library. Although the Web Kit is an Objective-C interface, you can call it from a Carbon application. See Accessing the Web Kit From Carbon Applications for details.
HTMLRendering.h
(Deprecated in Mac OS X v10.4. Use Web Kit instead; see Web Kit Objective-C Programming Guide.)
void HRRegisterWasCFURLVisitedUPP ( HRWasCFURLVisitedUPP inWasCFURLVisitedUPP, HRReference hrRef, void *inRefCon );
Because the Web Kit takes a completely different approach to displaying HTML and web content from that used by the HTML Rendering Library, you cannot make a one-to-one substitution of Web Kit methods for HTML Rendering Library functions. However, the basic features of the Web Kit can be implemented very quickly, and Web Kit offers much greater capability than the HTML Rendering Library. Although the Web Kit is an Objective-C interface, you can call it from a Carbon application. See Accessing the Web Kit From Carbon Applications for details.
HTMLRendering.h
Registers an application-defined function that handles previously visited links. (Deprecated in Mac OS X v10.4. Use Web Kit instead; see Web Kit Objective-C Programming Guide.)
void HRRegisterWasURLVisitedUPP ( HRWasURLVisitedUPP inWasURLVisitedUPP, HRReference hrRef, void *inRefCon );
A Universal Procedure Pointer (UPP). You obtain this UPP by calling the function NewHRWasURLVisitedUPP.
An HRReference value previously obtained by your application.
An arbitrary value set by your application. This value is passed by your application when you call the function and passed back when the HTML Rendering Library calls your MyHRWasURLVisitedProc function. You may find this value useful for referring to an object instance or a structure, for example.
Because the Web Kit takes a completely different approach to displaying HTML and web content from that used by the HTML Rendering Library, you cannot make a one-to-one substitution of Web Kit methods for HTML Rendering Library functions. However, the basic features of the Web Kit can be implemented very quickly, and Web Kit offers much greater capability than the HTML Rendering Library. Although the Web Kit is an Objective-C interface, you can call it from a Carbon application. See Accessing the Web Kit From Carbon Applications for details.