VaKeR CYBER ARMY
Logo of a company Server : Apache/2.4.41 (Ubuntu)
System : Linux absol.cf 5.4.0-198-generic #218-Ubuntu SMP Fri Sep 27 20:18:53 UTC 2024 x86_64
User : www-data ( 33)
PHP Version : 7.4.33
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Directory :  /proc/self/root/usr/share/GNUstep/Documentation/Developer/Gui/Reference/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //proc/self/root/usr/share/GNUstep/Documentation/Developer/Gui/Reference/NSPageLayout.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">

    <head>
    <title>NSPageLayout</title>
  </head>
  <body>
    <font face="serif">
    <a href="Gui.html">Up</a>
    <br />
    <h1><a name="title$NSPageLayout">NSPageLayout</a></h1>
    <h3>Authors</h3>
    <dl>
      <dt>Adam Fedor (<a href="mailto:fedor@gnu.org"><code>fedor@gnu.org</code></a>)</dt>
      <dd>
      </dd>
      <dt>Chad Hardin (<a href="mailto:cehardin@mac.com"><code>cehardin@mac.com</code></a>)</dt>
      <dd>
      </dd>
    </dl>
    <blockquote>
      
      Standard panel for querying user about page layout.
    
    </blockquote>
    <p><b>Copyright:</b> (C) 2001,2004 Free Software Foundation, Inc.</p>

        <div>
      <hr width="50%" align="left" />
      <h3>Contents -</h3>
      <ol>
        <li>
          <a href="#001000000000">NSPageLayout</a>
        </li>
        <li>
          <a href="#002000000000">Software documentation for the
        NSApplication(NSPageLayout)
        category</a>
        </li>
      </ol>
      <hr width="50%" align="left" />
    </div>

          <h1><a name="001000000000">NSPageLayout</a></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
        <a rel="gsdoc" href="#method$NSPageLayout+pageLayout">
          +pageLayout
        </a>

        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 rel="gsdoc" href="NSPanel.html#class$NSPanel">NSPanel</a></h2>
    <blockquote class="declared">
      <dl>
        <dt><b>Declared in:</b></dt>
        <dd>AppKit/NSPageLayout.h</dd>
      </dl>
    </blockquote>
    <div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
    <div class="desc">
      
          <em>Description forthcoming.</em>
        
    </div>
    <hr width="50%" align="left" />
    <a href="#_NSPageLayout_ivars">Instance Variables</a>
    <br/><br/>
    <b>Method summary</b>
    <ul>
      <li><a rel="gsdoc" href="NSPageLayout.html#method$NSPageLayout+pageLayout">+pageLayout</a></li>
      <li><a rel="gsdoc" href="NSPageLayout.html#method$NSPageLayout-accessoryView">-accessoryView</a></li>
      <li><a rel="gsdoc" href="NSPageLayout.html#method$NSPageLayout-beginSheetWithPrintInfo$modalForWindow$delegate$didEndSelector$contextInfo$">-beginSheetWithPrintInfo:modalForWindow:delegate:didEndSelector:contextInfo:</a></li>
      <li><a rel="gsdoc" href="NSPageLayout.html#method$NSPageLayout-convertOldFactor$newFactor$">-convertOldFactor:newFactor:</a></li>
      <li><a rel="gsdoc" href="NSPageLayout.html#method$NSPageLayout-pickedButton$">-pickedButton:</a></li>
      <li><a rel="gsdoc" href="NSPageLayout.html#method$NSPageLayout-pickedOrientation$">-pickedOrientation:</a></li>
      <li><a rel="gsdoc" href="NSPageLayout.html#method$NSPageLayout-pickedPaperSize$">-pickedPaperSize:</a></li>
      <li><a rel="gsdoc" href="NSPageLayout.html#method$NSPageLayout-pickedUnits$">-pickedUnits:</a></li>
      <li><a rel="gsdoc" href="NSPageLayout.html#method$NSPageLayout-printInfo">-printInfo</a></li>
      <li><a rel="gsdoc" href="NSPageLayout.html#method$NSPageLayout-readPrintInfo">-readPrintInfo</a></li>
      <li><a rel="gsdoc" href="NSPageLayout.html#method$NSPageLayout-runModal">-runModal</a></li>
      <li><a rel="gsdoc" href="NSPageLayout.html#method$NSPageLayout-runModalWithPrintInfo$">-runModalWithPrintInfo:</a></li>
      <li><a rel="gsdoc" href="NSPageLayout.html#method$NSPageLayout-setAccessoryView$">-setAccessoryView:</a></li>
      <li><a rel="gsdoc" href="NSPageLayout.html#method$NSPageLayout-writePrintInfo">-writePrintInfo</a></li>
    </ul>
    <hr width="50%" align="left" />
<div class="method">
    <h3><a name="method$NSPageLayout+pageLayout">pageLayout&nbsp;</a></h3>
    + (<a rel="gsdoc" href="#class$NSPageLayout">NSPageLayout</a>*) <b>pageLayout</b>;<br />
    <div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
    <div class="desc">
      
            Creates (if needed) and returns a shared instance
            of the NSPageLayout panel.
          
    </div>
    <hr width="25%" align="left" />
</div>
<div class="method">
    <h3><a name="method$NSPageLayout-accessoryView">accessoryView&nbsp;</a></h3>
    - (<a rel="gsdoc" href="NSView.html#class$NSView">NSView</a>*) <b>accessoryView</b>;<br />
    <div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
    <div class="desc">
      
            
    </p>
    <p>

              Returns the accessory view for the page layout
              panel.
                </p>
    <p>
      
            
    </p>
    <p>

              See Also:
              <a rel="gsdoc" href="#method$NSPageLayout-setAccessoryView$">
                -setAccessoryView:
              </a>

                </p>
    <p>
      
          
    </div>
    <hr width="25%" align="left" />
</div>
<div class="method">
    <h3><a name="method$NSPageLayout-beginSheetWithPrintInfo$modalForWindow$delegate$didEndSelector$contextInfo$">beginSheetWithPrintInfo:&nbsp;modalForWindow:&nbsp;delegate:&nbsp;didEndSelector:&nbsp;contextInfo:&nbsp;</a></h3>
    - (void) <b>beginSheetWithPrintInfo:</b> (<a rel="gsdoc" href="NSPrintInfo.html#class$NSPrintInfo">NSPrintInfo</a>*)printInfo<b> modalForWindow:</b> (<a rel="gsdoc" href="NSWindow.html#class$NSWindow">NSWindow</a>*)docWindow<b> delegate:</b> (id)delegate<b> didEndSelector:</b> (SEL)didEndSelector<b> contextInfo:</b> (void*)contextInfo;<br />
    <div class="availability">
<b>Availability:</b> MacOS-X 10.0.0</div>
<br />
    <div class="desc">
      
            <em>Description forthcoming.</em>
          
    </div>
    <hr width="25%" align="left" />
</div>
<div class="method">
    <h3><a name="method$NSPageLayout-convertOldFactor$newFactor$">convertOldFactor:&nbsp;newFactor:&nbsp;</a></h3>
    - (void) <b>convertOldFactor:</b> (float*)old<b> newFactor:</b> (float*)newFactor;<br />
    <div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
    <div class="desc">
      
            This method has been depreciated. It doesn&apos;t do
            anything useful.
          
    </div>
    <hr width="25%" align="left" />
</div>
<div class="method">
    <h3><a name="method$NSPageLayout-pickedButton$">pickedButton:&nbsp;</a></h3>
    - (void) <b>pickedButton:</b> (id)sender;<br />
    <div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
    <div class="desc">
      
            This method has been depreciated. It doesn&apos;t do
            anything useful.
          
    </div>
    <hr width="25%" align="left" />
</div>
<div class="method">
    <h3><a name="method$NSPageLayout-pickedOrientation$">pickedOrientation:&nbsp;</a></h3>
    - (void) <b>pickedOrientation:</b> (id)sender;<br />
    <div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
    <div class="desc">
      
            This method has been depreciated. It doesn&apos;t do
            anything useful.
          
    </div>
    <hr width="25%" align="left" />
</div>
<div class="method">
    <h3><a name="method$NSPageLayout-pickedPaperSize$">pickedPaperSize:&nbsp;</a></h3>
    - (void) <b>pickedPaperSize:</b> (id)sender;<br />
    <div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
    <div class="desc">
      
            This method has been depreciated. It doesn&apos;t do
            anything useful.
          
    </div>
    <hr width="25%" align="left" />
</div>
<div class="method">
    <h3><a name="method$NSPageLayout-pickedUnits$">pickedUnits:&nbsp;</a></h3>
    - (void) <b>pickedUnits:</b> (id)sender;<br />
    <div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
    <div class="desc">
      
            This method has been depreciated. It doesn&apos;t do
            anything useful.
          
    </div>
    <hr width="25%" align="left" />
</div>
<div class="method">
    <h3><a name="method$NSPageLayout-printInfo">printInfo&nbsp;</a></h3>
    - (<a rel="gsdoc" href="NSPrintInfo.html#class$NSPrintInfo">NSPrintInfo</a>*) <b>printInfo</b>;<br />
    <div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
    <div class="desc">
      
            Return the NSPrintInfo object that the receiver
            stores layout information into.
          
    </div>
    <hr width="25%" align="left" />
</div>
<div class="method">
    <h3><a name="method$NSPageLayout-readPrintInfo">readPrintInfo&nbsp;</a></h3>
    - (void) <b>readPrintInfo</b>;<br />
    <div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
    <div class="desc">
      
            
    </p>
    <p>

              Updates the receiver panel with information from
              its NSPrintInfo object.
                </p>
    <p>
      
            
    </p>
    <p>

              See Also:
              <a rel="gsdoc" href="#method$NSPageLayout-writePrintInfo">
                -writePrintInfo
              </a>

                </p>
    <p>
      
          
    </div>
    <hr width="25%" align="left" />
</div>
<div class="method">
    <h3><a name="method$NSPageLayout-runModal">runModal&nbsp;</a></h3>
    - (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/BaseAdditions/Reference/TypesAndConstants.html#type$NSInteger">NSInteger</a>) <b>runModal</b>;<br />
    <div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
    <div class="desc">
      
            
    </p>
    <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>
    <p>
      
            
    </p>
    <p>

              See Also:
              <a rel="gsdoc" href="#method$NSPageLayout-runModalWithPrintInfo$">
                -runModalWithPrintInfo:
              </a>

                </p>
    <p>
      
          
    </div>
    <hr width="25%" align="left" />
</div>
<div class="method">
    <h3><a name="method$NSPageLayout-runModalWithPrintInfo$">runModalWithPrintInfo:&nbsp;</a></h3>
    - (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/BaseAdditions/Reference/TypesAndConstants.html#type$NSInteger">NSInteger</a>) <b>runModalWithPrintInfo:</b> (<a rel="gsdoc" href="NSPrintInfo.html#class$NSPrintInfo">NSPrintInfo</a>*)printInfo;<br />
    <div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
    <div class="desc">
      
            
    </p>
    <p>

              Displays 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>
    <p>
      
            
    </p>
    <p>

              See Also:
              <a rel="gsdoc" href="#method$NSPageLayout-runModal">
                -runModal
              </a>

                </p>
    <p>
      
          
    </div>
    <hr width="25%" align="left" />
</div>
<div class="method">
    <h3><a name="method$NSPageLayout-setAccessoryView$">setAccessoryView:&nbsp;</a></h3>
    - (void) <b>setAccessoryView:</b> (<a rel="gsdoc" href="NSView.html#class$NSView">NSView</a>*)aView;<br />
    <div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
    <div class="desc">
      
            
    </p>
    <p>

              Sets the accessory view for the page layout panel
                </p>
    <p>
      
            
    </p>
    <p>

              See Also:
              <a rel="gsdoc" href="#method$NSPageLayout-accessoryView">
                -accessoryView
              </a>

                </p>
    <p>
      
          
    </div>
    <hr width="25%" align="left" />
</div>
<div class="method">
    <h3><a name="method$NSPageLayout-writePrintInfo">writePrintInfo&nbsp;</a></h3>
    - (void) <b>writePrintInfo</b>;<br />
    <div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
    <div class="desc">
      
            
    </p>
    <p>

              Writes any layout information set by the user to
              the receiver&apos;s NSPrintInfo object
                </p>
    <p>
      
            
    </p>
    <p>

              See Also:
              <a rel="gsdoc" href="#method$NSPageLayout-readPrintInfo">
                -readPrintInfo
              </a>

                </p>
    <p>
      
          
    </div>
    <hr width="25%" align="left" />
</div>
<a name="_NSPageLayout_ivars"/>    <br/><hr width="50%" align="left" />
    <h2>Instance Variables for NSPageLayout Class</h2>
    <h3><a name="ivariable$NSPageLayout*_controller">_controller</a></h3>
    @protected id <b>_controller</b>;<br />
    <div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
    <div class="desc">
      
            <em>Warning</em> the underscore at the start of the
            name of this instance variable indicates that, even
            though it is not technically <em>private</em>, it is
            intended for internal use within the package, and
            you should not use the variable in other code.
          
    </div>
    <hr width="25%" align="left" />
    <br/><hr width="50%" align="left" /><br/>

          <h1><a name="002000000000">
        Software documentation for the
        NSApplication(NSPageLayout)
        category
      </a></h1>
    <h2><a rel="gsdoc" href="NSApplication.html#class$NSApplication">NSApplication</a>(<a name="category$NSApplication(NSPageLayout)">NSPageLayout</a>)</h2>
    <blockquote class="declared">
      <dl>
        <dt><b>Declared in:</b></dt>
        <dd>AppKit/NSPageLayout.h</dd>
      </dl>
    </blockquote>
    <div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
    <div class="desc">
      
          <em>Description forthcoming.</em>
        
    </div>
    <b>Method summary</b>
    <ul>
      <li><a rel="gsdoc" href="NSPageLayout.html#method$NSApplication(NSPageLayout)-runPageLayout$">-runPageLayout:</a></li>
    </ul>
    <hr width="50%" align="left" />
<div class="method">
    <h3><a name="method$NSApplication(NSPageLayout)-runPageLayout$">runPageLayout:&nbsp;</a></h3>
    - (void) <b>runPageLayout:</b> (id)sender;<br />
    <div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
    <div class="desc">
      
            <em>Description forthcoming.</em>
          
    </div>
    <hr width="25%" align="left" />
</div>
    <br />
    <a href="Gui.html">Up</a>
    </font>
</body>
</html>

VaKeR 2022