Office Hour Efficiency Enhancer
Session Details
Key Goals for this Session (Max 5)
Work Block Planning
Session Plan
Key Goals:
Work/Break Schedule:
Plan your session on Tab 1 first.
Interruption Logger
Logged Interruptions:
- No interruptions logged yet.
Session Review Summary
Goal Completion Status:
Interruptions During Session:
Reflection
Productivity Rating: ${document.getElementById('ohee-productivity-rating').value}/5
`; const pdfContainer = document.getElementById('ohee-report-content-for-pdf'); pdfContainer.innerHTML = pdfHTML; const opt = { margin: [0.6, 0.5, 0.6, 0.5], filename: `OfficeHour_Report_${oheeSessionData.date}.pdf`, image: { type: 'jpeg', quality: 0.98 }, html2canvas: { scale: 2, useCORS: true, logging: false }, jsPDF: { unit: 'in', format: 'letter', orientation: 'portrait' }, pagebreak: { mode: ['avoid-all', 'css', 'legacy'] } }; html2pdf().from(pdfContainer).set(opt).save().then(() => { pdfContainer.innerHTML = ''; }).catch(err => { console.error("Error generating PDF:", err); pdfContainer.innerHTML = ''; alert("An error occurred while generating the PDF. Check console for details."); }); }