ENDEDemo vereinbaren
← Zurück zu allen Aufgaben

LibreOffice Calc

I'm working on a project and need to resize cells in a spreadsheet to fit onto one page and export to PDF for efficient presentation. Could you help me on this? Keep the name of PDF the same as the spreadsheet and place it under my home directory.

Aufgabe und Verlauf liegen im englischen Original vor.

Ergebnis
Gelöst
Punkte
1 / 1
Schritte
15
Dauer
6 min 53 s

Bewertungskriterien

  • Checks that the PDF has the expected number of pages.
  • Checks that the PDF's text matches the expected PDF.
Aufgabendefinition im OSWorld-Repository ansehen

Abschließende Antwort

Done! I've completed all three steps: 1. Set the sheet's print scaling to 'Fit print range(s) to width/height' with 1 page wide × 1 page tall, so all content fits on a single page. 2. Saved the workbook in xlsx format to persist the page setting. 3. Exported the sheet as a PDF to /home/user/Resize_Cells_Fit_Page.pdf (same name as the spreadsheet, in your home directory).

Verlauf

  1. Schritt 10:00

    The task: resize cells to fit onto one page and export to PDF named the same as the spreadsheet (Resize_Cells_Fit_Page.pdf) in the home directory (/home/user). Let me first confirm the file's location and exact name before drafting the plan.

    • Dateisuche**/Resize_Cells_Fit_Page.xlsx
  2. Schritt 20:29

    The task: make the spreadsheet content fit on one page and export to PDF named Resize_Cells_Fit_Page.pdf under /home/user. The standard way in Calc to fit content onto one page is via Format > Page Style > Sheet tab > Scaling > fit print range to 1 page wide by 1 page tall. Then save the xlsx and export to PDF. I'll draft a plan and commit it.

    • Plan erstellt
      1. Set the sheet's print scaling so the content fits on one page (Format > Page Style > Sheet tab > Scaling: fit print range to 1 page wide by 1 page tall)
      2. Save the workbook in xlsx format to persist the page setting
      3. Export the sheet to PDF as /home/user/Resize_Cells_Fit_Page.pdf
    • Plan bestätigt3 Teilziele
  3. Schritt 31:01

    Start subgoal 1: open Format menu to reach Page Style where the scaling/fit-to-page setting lives.

    • Klickthe Format menu in the top menu bar
  4. Schritt 41:16

    I need to click 'Page Style...' to open the page style dialog where I can configure the scaling to fit the print range onto one page.

    • Klickthe 'Page Style...' menu item in the Format dropdown
  5. Schritt 51:31

    I need to navigate to the Sheet tab which contains the scaling/fit-to-page options.

    • Klickthe 'Sheet' tab in the Page Style dialog
  6. Schritt 61:53

    I need to change the 'Scaling mode' dropdown from 'Reduce/enlarge printout' to an option that fits the print range to 1 page. I'll click the dropdown to see available options.

    • Klickthe 'Scaling mode' dropdown showing 'Reduce/enlarge printout'
  7. Schritt 72:16

    I need to select 'Fit print range(s) to width/height' which will allow me to set both width and height to 1 page, fitting all content on a single page. This is the most appropriate option for fitting the entire sheet onto one page.

    • Klickthe 'Fit print range(s) to width/height' option in the scaling mode dropdown
  8. Schritt 82:38

    The settings are already correct (width=1, height=1). I just need to click OK to apply the page style changes.

    • Klickthe OK button at the bottom right of the Page Style dialog
  9. Schritt 92:58

    The Page Style dialog has closed successfully and the fit-to-one-page scaling is applied. Now I need to save the file in xlsx format, then export to PDF. Let me save first with Ctrl+S.

    • Teilziel erreichtSet scaling mode to 'Fit print range(s) to width/height' with width=1, height=1 pages.
    • Tastenkombinationctrl+s
  10. Schritt 103:17

    The save succeeded (no dialog blocking, no modification indicator). Now I need to export to PDF. I'll use File > Export as PDF to create /home/user/Resize_Cells_Fit_Page.pdf. Let me mark sg-2 as done and proceed with the PDF export.

    • Teilziel erreichtSaved the workbook in xlsx format with the fit-to-one-page scaling setting.
    • Klickthe File menu in the top menu bar
  11. Schritt 113:40

    I need to click 'Export as PDF...' to open the PDF export dialog where I can set the filename and location.

    • Klickthe 'Export as PDF...' menu item in the File dropdown
  12. Schritt 123:54

    I need to click the 'Export' button to proceed to the file save dialog where I can set the filename to Resize_Cells_Fit_Page.pdf and save it to /home/user/.

    • Klickthe 'Export' button at the bottom right of the PDF Options dialog
  13. Schritt 134:11

    The filename is already 'Resize_Cells_Fit_Page' and the location is the home directory, exactly what the goal requires. I just need to click Save to write the PDF to /home/user/Resize_Cells_Fit_Page.pdf.

    • Klickthe green Save button at the top right of the save dialog
  14. Schritt 144:25

    I should verify the PDF file actually exists at the target path before marking the final subgoal complete.

    • Shell-Befehlls -l /home/user/Resize_Cells_Fit_Page.pdf
  15. Schritt 154:43

    All three subgoals are done: (1) scaling set to fit 1x1 page, (2) workbook saved in xlsx format, (3) PDF exported to /home/user/Resize_Cells_Fit_Page.pdf. The file is confirmed on disk. Time to finish.

    • Teilziel erreichtPDF exported to /home/user/Resize_Cells_Fit_Page.pdf (22718 bytes) with content scaled to fit one page.
    • Als abgeschlossen gemeldet