offgen.ai Documentation
Get-Set

Get-Set Text Formatting

Copy text styles and text box properties between shapes

Get-Set Text Formatting

Achieve perfect text consistency across your presentation by copying text styling and text box properties instantly.

Get/Set Text Formatting

Copy comprehensive text styling from one shape to others.

Get Text Formatting

Captures all text formatting properties from the selected shape.

How to Use:

  1. Select shape with desired text formatting
  2. Click "Get Text Formatting"
  3. Offgen stores all text properties

What's Captured:

Font Properties:

  • Font family (Arial, Calibri, etc.)
  • Font size (in points)
  • Font color

Text Styles:

  • Bold
  • Italic
  • Underline
  • Strikethrough

Text Effects:

  • Superscript
  • Subscript
  • All caps
  • Small caps

Get Text Formatting captures formatting from the first character in the text. If text has mixed formatting, only the first character's properties are captured.

Set Text Formatting

Applies stored text formatting to selected shapes.

How to Use:

  1. After using Get Text Formatting
  2. Select shapes with text to update
  3. Click "Set Text Formatting"
  4. All text in selected shapes updates

Behavior:

  • Applies formatting to ALL text in shape
  • Overrides existing formatting
  • Works on text boxes, shapes with text, and table cells
  • Preserves text content (only changes formatting)
  • Updates multiple shapes simultaneously

Visual Example:

Get Text Formatting from:
┌────────────────┐
│ Heading Title  │  (Arial Bold, 24pt, Blue)
└────────────────┘

Set Text Formatting on:
┌────────────────┐
│ Another Title  │  (Times, 18pt, Black)
└────────────────┘

┌────────────────┐
│ Another Title  │  (Arial Bold, 24pt, Blue)
└────────────────┘

Get/Set Text Margin

Copy text box properties and margin settings.

Get Text Margin

Captures text box properties and internal spacing.

How to Use:

  1. Select shape with desired text box settings
  2. Click "Get Text Margin"
  3. Offgen stores text box properties

What's Captured:

Margins:

  • Left margin
  • Right margin
  • Top margin
  • Bottom margin

Text Box Behavior:

  • Auto-size setting (none, shrink text on overflow, resize shape to fit text)
  • Vertical alignment (top, middle, bottom)
  • Word wrap (on/off)
  • Text direction (horizontal, stacked, rotated)

Text margins control the space between text and the shape's edges—critical for professional-looking layouts.

Set Text Margin

Applies stored text box properties to selected shapes.

How to Use:

  1. After using Get Text Margin
  2. Select shapes with text to update
  3. Click "Set Text Margin"
  4. All selected shapes update

Behavior:

  • Updates internal spacing and margins
  • Changes auto-size behavior
  • Modifies vertical alignment
  • Updates word wrap settings
  • Preserves text content and formatting
  • Works on multiple shapes simultaneously

Visual Example:

Get Text Margin from:
┌────────────────┐
│                │  (20px margins)
│      Text      │
│                │
└────────────────┘

Set Text Margin on:
┌────────────────┐
│Text            │  (no margins)
└────────────────┘

┌────────────────┐
│                │  (20px margins)
│      Text      │
│                │
└────────────────┘

Common Use Cases

Standardizing Headings

Problem: Headings have inconsistent fonts and sizes

Solution:

1. Format one heading perfectly
2. Get Text Formatting
3. Select all other headings
4. Set Text Formatting

Result: All headings match exactly

Creating Consistent Buttons

Problem: Button text has different styling

Solution:

1. Style one button's text perfectly
2. Get Text Formatting
3. Get Text Margin (for centered appearance)
4. Select all buttons
5. Set Text Formatting
6. Set Text Margin

Result: Uniform button text styling and spacing

Fixing Text Box Spacing

Problem: Text boxes have inconsistent internal padding

Solution:

1. Adjust one text box's margins perfectly
2. Get Text Margin
3. Select all other text boxes
4. Set Text Margin

Result: Consistent spacing in all text boxes

Copying Complete Text Styling

Problem: Need to replicate exact text appearance

Solution:

1. Get Text Formatting (fonts, size, styles)
2. Get Text Margin (spacing, alignment)
3. Select target shapes
4. Set Text Formatting
5. Set Text Margin

Result: Complete text styling replica

Advanced Techniques

Creating Text Style Library

Build reusable text styles:

1. Create reference slide with text style samples:
   - Heading 1 style
   - Heading 2 style
   - Body text style
   - Caption style
2. Label each clearly
3. GET from library as needed

Mixing Formatting Sources

Combine properties from multiple sources:

1. From shape A: Get Text Formatting (font, size)
2. From shape B: Get Text Margin (spacing, alignment)
3. Select new shapes
4. Set Text Formatting
5. Set Text Margin

Result: Custom combination of properties

Text Alignment + Formatting

Complete text control:

1. Get Text Formatting (fonts and styles)
2. Use Text Align Center (horizontal alignment)
3. Use Text Align Middle (vertical alignment)
4. Get Text Margin (margins and spacing)
5. Apply all to target shapes

Result: Perfectly formatted and aligned text

Bulk Presentation Updates

Update entire presentations:

1. Update master text styles
2. Get Text Formatting from each style
3. Use Find & Replace to select all similar text
4. Set Text Formatting

Result: Presentation-wide text update

Understanding Text Properties

Font Properties

Font Family:

  • Determines the typeface
  • Examples: Arial, Calibri, Times New Roman, Helvetica

Font Size:

  • Measured in points (pt)
  • Common sizes: 12pt (body), 18pt (subheading), 24-36pt (heading)

Font Color:

  • RGB or theme colors
  • Affects readability and emphasis

Text Styles

Bold: Makes text heavier/darker

  • Good for: Headings, emphasis
  • Keyboard: Ctrl+B (Cmd+B on Mac)

Italic: Slants text

  • Good for: Quotes, subtle emphasis
  • Keyboard: Ctrl+I (Cmd+I on Mac)

Underline: Adds line below text

  • Good for: Links, highlighting
  • Keyboard: Ctrl+U (Cmd+U on Mac)

Strikethrough: Line through text

  • Good for: Deleted items, corrections

Text Effects

Superscript: Raised text (e.g., x²)

  • Good for: Exponents, footnote markers

Subscript: Lowered text (e.g., H₂O)

  • Good for: Chemical formulas, mathematical notation

All Caps: CONVERTS TEXT TO UPPERCASE

  • Good for: Emphasis, headers
  • Note: Different from typing in caps—can be toggled

Text Box Margins

Control space between text and shape edges:

Standard Margins:

  • None: Text touches edges (cramped)
  • Narrow: 0.05" (minimal space)
  • Normal: 0.1" (balanced)
  • Wide: 0.2-0.5" (spacious)

Auto-Size Options:

  1. Do not AutoFit: Text can overflow box
  2. Shrink text on overflow: Text size reduces to fit
  3. Resize shape to fit text: Box expands for text

Vertical Alignment:

  • Top: Text aligns to top of box
  • Middle: Text centers vertically
  • Bottom: Text aligns to bottom

Combining with Other Actions

Complete Shape Styling

1. Get Size (dimensions)
2. Get Color (fill color)
3. Get Outline (border)
4. Get Text Formatting (text style)
5. Get Text Margin (text spacing)
6. Apply all to new shapes

Result: Completely styled shapes

Text + Visual Styling

1. Get Text Formatting
2. Get Color
3. Select shapes
4. Set Color
5. Set Text Formatting

Result: Matching colors and text

Position + Text

1. Get Position
2. Get Text Formatting
3. Get Text Margin
4. Apply to shapes on different slides

Result: Consistent text styling and positioning across slides

Tips & Best Practices

1. Create Text Style Guide

Build reference slide:

- Heading 1: Arial Bold, 36pt, #333333
- Heading 2: Arial Bold, 24pt, #666666
- Body: Arial Regular, 14pt, #666666
- Caption: Arial Italic, 12pt, #999999

2. Use Consistent Margins

Standard text margins:

- Headings: 0.2" all sides
- Body text: 0.3" all sides
- Buttons: 0.15" top/bottom, 0.3" left/right
- Captions: 0.1" all sides

3. Test Before Bulk Application

1. GET formatting
2. SET on one shape to verify
3. If good, SET on all others

4. Document Text Styles

Keep style documentation:

Style name: Properties
---
H1: Arial Bold 36pt #000000
H2: Arial Bold 24pt #333333
Body: Arial 14pt #666666

5. Combine with Text Alignment

1. Set Text Formatting (fonts and styles)
2. Text Align Center (horizontal)
3. Text Align Middle (vertical)
4. Set Text Margin (spacing)

Result: Perfectly formatted and aligned text

Common Workflows

Standardizing Slide Titles

1. Format one title perfectly
2. Get Text Formatting + Get Text Margin
3. On each slide: Select title, Set Text Formatting, Set Text Margin

Result: Consistent titles throughout presentation

Creating Button Families

1. Style primary button text
2. Get Text Formatting + Get Text Margin
3. Create secondary buttons
4. Set Text Formatting + Set Text Margin
5. Optional: Change color for variations

Result: Consistent button text styling

Updating Brand Fonts

1. Update reference with new brand font
2. Get Text Formatting
3. Select all text with old font
4. Set Text Formatting

Result: Brand font update across presentation

Formatting Data Labels

1. Perfect one data label
2. Get Text Formatting + Get Text Margin
3. Select all other labels
4. Set Text Formatting + Set Text Margin

Result: Uniform data label styling

Troubleshooting

Problem: Mixed Formatting Isn't Captured

Cause: Get captures only first character's formatting

Solution:

  • Format entire text run consistently first
  • Or manually set mixed formatting after

Problem: Text Doesn't Fit After Setting Margin

Cause: New margins reduce available space

Solution:

  • Enable auto-size: "Shrink text on overflow"
  • Or reduce text margin size
  • Or enlarge shape

Problem: Vertical Alignment Looks Wrong

Cause: Auto-size is enabled

Solution:

  • Disable auto-size
  • Set fixed text box height
  • Then apply vertical alignment

Problem: Text Formatting Doesn't Apply

Cause: Selected shape has no text

Solution:

  • Verify shapes contain text
  • Check text isn't in separate text box

Text Formatting Best Practices

Font Selection

  • Sans-serif (Arial, Calibri, Helvetica): Clean, modern, good for presentations
  • Serif (Times New Roman, Georgia): Traditional, formal
  • Limit to 2-3 fonts per presentation

Font Sizes

  • Titles: 36-44pt
  • Headings: 24-32pt
  • Body: 14-18pt
  • Captions: 10-12pt

Color Contrast

  • High contrast for readability
  • Dark text on light background or vice versa
  • Test at presentation size (may look different on screen vs projected)

What's Next?