Package org.rstudio.studio.client.workbench.views.plots.model

Examples of org.rstudio.studio.client.workbench.views.plots.model.SavePlotAsPdfOptions


            public void onResponseReceived(String stem)
            {
               indicator.onCompleted();

               Size size = getPlotSize();
               final SavePlotAsPdfOptions currentOptions =
                   SavePlotAsPdfOptions.adaptToSize(
                         uiPrefs_.get().savePlotAsPdfOptions().getValue(),
                         pixelsToInches(size.width),
                         pixelsToInches(size.height));
              
View Full Code Here


               @Override
               public void execute()
               {
                  // get options to send back to caller for persistence
                  PaperSize paperSize = paperSizeEditor_.selectedPaperSize();
                  SavePlotAsPdfOptions pdfOptions = SavePlotAsPdfOptions.create(
                                             paperSize.getWidth(),
                                             paperSize.getHeight(),
                                             isPortraitOrientation(),
                                             useCairoPdf(),
                                             viewAfterSaveCheckBox_.getValue());
View Full Code Here

TOP

Related Classes of org.rstudio.studio.client.workbench.views.plots.model.SavePlotAsPdfOptions

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.