libs-gui/Documentation/gsdoc/NSPageLayout.html
Adam Fedor d47e202fbe Markup for autogsdoc
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11788 72102866-910b-0410-8b05-ffd578937521
2001-12-17 16:51:51 +00:00

160 lines
5.1 KiB
HTML

<html>
<head>
<title>NSPageLayout</title>
</head>
<body>
<h1>NSPageLayout</h1>
<h3>Authors</h3>
<dl>
<dt>Adam Fedor(<a href="mailto:fedor@gnu.org"><code>
fedor@gnu.org
</code></a>)</dt>
<dd>
</dd>
</dl>
<blockquote>
Standard panel for querying user about page layout.
</blockquote>
<p>Copyright: (C) 2001 Free Software Foundation, Inc.</p>
<h1>NSPageLayout</h1>
<p>
NSPageLayout provides a panel that allows the user
to specify certain information about the printer and how
data is formatted for printing. This includes information
about the paper size and orientation. Typically you would
create a page layout panel with the
pageLayout
class method. However, the best way to use the panel is
to have the application call the runPageLayout: method in
the NSApplication object which would both create a standard
NSPageLayout panel and display it in a modal loop.
This method would be sent up the responder chain if the
user clicked on a Page Layout menu item.
</p>
<h2><a name="class$NSPageLayout">NSPageLayout</a> : <a href="NSPanel.html#class$NSPanel">NSPanel</a></h2>
Declared: AppKit/NSPageLayout.h<br />
<p>
</p>
<h3>pageLayout</a></h3>
+ (<a href="#class$NSPageLayout">NSPageLayout</a>*) <b>pageLayout</b>;<br />
<p>
Creates and returns a shared instance of the
NSPageLayout panel.
</p>
<hr />
<h3>accessoryView</a></h3>
- (<a href="NSView.html#class$NSView">NSView</a>*) <b>accessoryView</b>;<br />
<p>
Returns the accessory view for the page layout
panel
</p>
<hr />
<h3>beginSheetWithPrintInfo:modalForWindow:delegate:didEndSelector:contextInfo:</a></h3>
- (void) <b>beginSheetWithPrintInfo:</b> (<a href="NSPrintInfo.html#class$NSPrintInfo">NSPrintInfo</a>*)printInfo<b> modalForWindow:</b> (<a href="NSWindow.html#class$NSWindow">NSWindow</a>*)docWindow<b> delegate:</b> (id)delegate<b> didEndSelector:</b> (SEL)didEndSelector<b> contextInfo:</b> (void*)contextInfo;<br />
<p>
</p>
<hr />
<h3>convertOldFactor:newFactor:</a></h3>
- (void) <b>convertOldFactor:</b> (float*)old<b> newFactor:</b> (float*)new;<br />
<p>
Convert the <var>old</var> value to a
<var>new</var> one based on the current units. This
method has been depreciated. It doesn't do anything
useful
</p>
<hr />
<h3>pickedButton:</a></h3>
- (void) <b>pickedButton:</b> (id)sender;<br />
<p>
This method has been depreciated. It doesn't do
anything useful.
</p>
<hr />
<h3>pickedOrientation:</a></h3>
- (void) <b>pickedOrientation:</b> (id)sender;<br />
<p>
This method has been depreciated. It doesn't do
anything useful.
</p>
<hr />
<h3>pickedPaperSize:</a></h3>
- (void) <b>pickedPaperSize:</b> (id)sender;<br />
<p>
This method has been depreciated. It doesn't do
anything useful.
</p>
<hr />
<h3>pickedUnits:</a></h3>
- (void) <b>pickedUnits:</b> (id)sender;<br />
<p>
This method has been depreciated. It doesn't do
anything useful.
</p>
<hr />
<h3>printInfo</a></h3>
- (<a href="NSPrintInfo.html#class$NSPrintInfo">NSPrintInfo</a>*) <b>printInfo</b>;<br />
<p>
Return the NSPrintInfo object that the receiver
stores layout information into.
</p>
<hr />
<h3>readPrintInfo</a></h3>
- (void) <b>readPrintInfo</b>;<br />
<p>
Updates the receiver panel with information from
its NSPrintInfo object
</p>
<hr />
<h3>runModal</a></h3>
- (int) <b>runModal</b>;<br />
<p>
Display the Page Layout panel in a modal loop.
Saves any aquired information in the shared
NSPrintInfo object. Returns NSCancelButton if
the user clicks the Cancel button or NSOKButton
otherwise.
</p>
<hr />
<h3>runModalWithPrintInfo:</a></h3>
- (int) <b>runModalWithPrintInfo:</b> (<a href="NSPrintInfo.html#class$NSPrintInfo">NSPrintInfo</a>*)pInfo;<br />
<p>
Display the Page Layout panel in a modal loop.
Saves any aquired information in the indicated
NSPrintInfo object. Returns NSCancelButton if
the user clicks the Cancel button or NSOKButton
otherwise.
</p>
<hr />
<h3>setAccessoryView:</a></h3>
- (void) <b>setAccessoryView:</b> (<a href="NSView.html#class$NSView">NSView</a>*)aView;<br />
<p>
Set the accessory view for the page layout panel
</p>
<hr />
<h3>writePrintInfo</a></h3>
- (void) <b>writePrintInfo</b>;<br />
<p>
Writes any layout information set by the user to the
receiver's NSPrintInfo object
</p>
<hr />
</body>
</html>