Saving, loading, printing, layout and ribbon groups | Version 1.0
A worksheet is the main document of RedcrabX. It is a free-form canvas that
can hold any number of boxes — MathBox,
TextBox, ImageBox,
LabelBox, PlotBox, ChartBox,
Slider — arranged anywhere by
drag & drop. Worksheets are saved as .rcx files (a JSON-based format) and
can be printed in full or as a selected region.
Use the application menu (the round button in the top-left of the ribbon) and choose
Save. A Save File dialog appears with the filter
RCX Workspace (*.rcx) and the default file name workspace.rcx.
The file extension .rcx is added automatically.
All boxes on the worksheet are serialized including their:
Note: Image data is stored as Base64 directly inside the
.rcx file, so worksheets remain self-contained even if the original
image file is moved or deleted.
Open the application menu and choose Open. The dialog filter accepts
*.rcx and falls back to All files. After loading, every box is
re-created with its full state, including anchors and rich-text formatting.
The application menu also has a Recent sub-menu that lists the worksheets
most recently saved or opened. Click an entry to reopen it directly.
Choose New to start an empty worksheet. Select "New" to create a blank worksheet.
The current worksheet is saved as Workspace.rcx.
Workspace.rcx is overwritten every time the worksheet is cleared or the program is exited..
An .rcx file is a UTF-8 JSON document. The high-level structure is:
{
"version": 1,
"items": [
{ "type": "math", "x": ..., "y": ..., "width": ..., "height": ...,
"expression": "...", "outputFormat": "...", "decimalPlaces": ..., "useDegrees": ... },
{ "type": "text", "x": ..., "y": ..., "width": ..., "height": ...,
"text": "...", "richText": "<Section ...>...</Section>" },
{ "type": "image", "x": ..., "y": ..., "width": ..., "height": ...,
"imageBase64": "...", "imagePath": "..." },
{ "type": "label", "x": ..., "y": ..., "width": ..., "height": ...,
"mode": "Text", "inputText": "...", "fontFamily": "...", "fontSize": ...,
"rotation": ..., "foregroundColor": "#FF000000",
"backgroundColor": "#FFFFFFFF", "backgroundTransparent": false,
"anchorTargetIndex": ..., "anchorOffsetX": ..., "anchorOffsetY": ... },
{ "type": "plot", ... },
{ "type": "chart", ... }
],
"extensions": { }
}
The extensions object is reserved for forward-compatible additions; unknown
fields are preserved on round-trip so older files keep working with newer versions.
Tip: Because .rcx is plain JSON, it can be diff’ed and
version-controlled. This is convenient for shared template worksheets.
The application menu offers two print actions:
| Menu item | Effect |
|---|---|
| Print Preview | Shows the current worksheet (or the selected print area) in a print-preview window. |
| Sends the current worksheet (or the selected print area) directly to a printer. |
The same actions are available in the Print ribbon group on the Tools tab.
By default, RedcrabX prints the rectangle that bounds all visible boxes. To print only part of the worksheet, define a print area:
Select Print Area.Print Preview or Print — only the selected area is rendered.Clear Print Area.Note: The print-area overlay is purely a print hint — it is not saved with the worksheet and disappears when you create a new worksheet.
The worksheet is a free-form canvas, not a flowing document. Each box has an absolute
position (x, y) and size (width, height).
Use the Workspace and Workspace ribbon groups on the Home tab to add MathBoxes, TextBoxes, ImageBoxes, LabelBoxes, PlotBoxes and ChartBoxes.
A LabelBox can be anchored to any other box. The label remembers the offset to its target and follows the target whenever it is moved. This is useful for axis labels on plots, callouts on images and live readouts next to MathBoxes.
Anchors are part of the worksheet state and are restored when the file is reloaded.
The ribbon at the top of the window groups related actions:
| Tab / Group | Purpose |
|---|---|
| Home → Clipboard | Cut, Copy, Paste boxes or images. |
| Home → Font (MathBox Default) | Default font family, size and output format applied to newly created MathBoxes. |
| Home → Workspace | Insert TextBox, PlotBox, ImageBox, LabelBox. |
| Home → Insert | Insert specialized boxes such as ChartBox. |
| Home → Calculator | Quick-access calculator buttons. |
| Functions → Functions / Tables | Common function and table inserts. |
| Tools → Print | Select / Clear print area, Print Preview. |
Tip: Changing values in the Font (MathBox Default) group only affects MathBoxes created after the change. Existing boxes keep their settings; edit them through their own toolbar.
.rcx files are small and can be kept in version control.Print Preview before printing to verify the page layout, especially with a print area selected.New to start a clean worksheet.