Up

# NSTextTable documentation

### Authors

Generated by root

### Contents -

1. Software documentation for the NSTextBlock class
2. Software documentation for the NSTextTable class
3. Software documentation for the NSTextTableBlock class

# Software documentation for the NSTextBlock class

## NSTextBlock : NSObject

> Declared in:
>   AppKit/NSTextTable.h

> Conforms to:
>   NSCoding
>   NSCopying

Availability: MacOS-X 10.4.0
Description forthcoming.

Instance Variables
Method summary

- -backgroundColor
- -borderColorForEdge:
- -boundsRectForContentRect:inRect:textContainer:characterRange:
- -contentWidth
- -contentWidthValueType
- -drawBackgroundWithFrame:inView:characterRange:layoutManager:
- -init
- -rectForLayoutAtPoint:inRect:textContainer:characterRange:
- -setBackgroundColor:
- -setBorderColor:
- -setBorderColor:forEdge:
- -setContentWidth:type:
- -setValue:type:forDimension:
- -setVerticalAlignment:
- -setWidth:type:forLayer:
- -setWidth:type:forLayer:edge:
- -valueForDimension:
- -valueTypeForDimension:
- -verticalAlignment
- -widthForLayer:edge:
- -widthValueTypeForLayer:edge:

### backgroundColor

- (NSColor*) backgroundColor;
Availability: MacOS-X 10.4.0
Description forthcoming.

### borderColorForEdge:

- (NSColor*) borderColorForEdge: (NSRectEdge)edge;
Availability: MacOS-X 10.4.0
Description forthcoming.

### boundsRectForContentRect: inRect: textContainer: characterRange:

- (NSRect) boundsRectForContentRect: (NSRect)cont inRect: (NSRect)rect textContainer: (NSTextContainer*)container characterRange: (NSRange)range;
Availability: MacOS-X 10.4.0
Description forthcoming.

### contentWidth

- (CGFloat) contentWidth;
Availability: MacOS-X 10.4.0
Description forthcoming.

### contentWidthValueType

- (NSTextBlockValueType) contentWidthValueType;
Availability: MacOS-X 10.4.0
Description forthcoming.

### drawBackgroundWithFrame: inView: characterRange: layoutManager:

- (void) drawBackgroundWithFrame: (NSRect)rect inView: (NSView*)view characterRange: (NSRange)range layoutManager: (NSLayoutManager*)lm;
Availability: MacOS-X 10.4.0
Description forthcoming.

### init

- (id) init;
Availability: MacOS-X 10.4.0
Description forthcoming.

### rectForLayoutAtPoint: inRect: textContainer: characterRange:

- (NSRect) rectForLayoutAtPoint: (NSPoint)point inRect: (NSRect)rect textContainer: (NSTextContainer*)cont characterRange: (NSRange)range;
Availability: MacOS-X 10.4.0
Description forthcoming.

### setBackgroundColor:

- (void) setBackgroundColor: (NSColor*)color;
Availability: MacOS-X 10.4.0
Description forthcoming.

### setBorderColor:

- (void) setBorderColor: (NSColor*)color;
Availability: MacOS-X 10.4.0
Description forthcoming.

### setBorderColor: forEdge:

- (void) setBorderColor: (NSColor*)color forEdge: (NSRectEdge)edge;
Availability: MacOS-X 10.4.0
Description forthcoming.

### setContentWidth: type:

- (void) setContentWidth: (CGFloat)val type: (NSTextBlockValueType)type;
Availability: MacOS-X 10.4.0
Description forthcoming.

### setValue: type: forDimension:

- (void) setValue: (CGFloat)val type: (NSTextBlockValueType)type forDimension: (NSTextBlockDimension)dimension;
Availability: MacOS-X 10.4.0
Description forthcoming.

### setVerticalAlignment:

- (void) setVerticalAlignment: (NSTextBlockVerticalAlignment)alignment;
Availability: MacOS-X 10.4.0
Description forthcoming.

### setWidth: type: forLayer:

- (void) setWidth: (CGFloat)val type: (NSTextBlockValueType)type forLayer: (NSTextBlockLayer)layer;
Availability: MacOS-X 10.4.0
Description forthcoming.

### setWidth: type: forLayer: edge:

- (void) setWidth: (CGFloat)val type: (NSTextBlockValueType)type forLayer: (NSTextBlockLayer)layer edge: (NSRectEdge)edge;
Availability: MacOS-X 10.4.0
Description forthcoming.

### valueForDimension:

- (CGFloat) valueForDimension: (NSTextBlockDimension)dimension;
Availability: MacOS-X 10.4.0
Description forthcoming.

### valueTypeForDimension:

- (NSTextBlockValueType) valueTypeForDimension: (NSTextBlockDimension)dimension;
Availability: MacOS-X 10.4.0
Description forthcoming.

### verticalAlignment

- (NSTextBlockVerticalAlignment) verticalAlignment;
Availability: MacOS-X 10.4.0
Description forthcoming.

### widthForLayer: edge:

- (CGFloat) widthForLayer: (NSTextBlockLayer)layer edge: (NSRectEdge)edge;
Availability: MacOS-X 10.4.0
Description forthcoming.

### widthValueTypeForLayer: edge:

- (NSTextBlockValueType) widthValueTypeForLayer: (NSTextBlockLayer)layer edge: (NSRectEdge)edge;
Availability: MacOS-X 10.4.0
Description forthcoming.

## Instance Variables for NSTextBlock Class

### _backgroundColor

@protected NSColor* _backgroundColor;
Availability: MacOS-X 10.4.0
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

### _borderColorForEdge

@protected NSColor* _borderColorForEdge;
Availability: MacOS-X 10.4.0
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

### _value

@protected CGFloat _value;
Availability: MacOS-X 10.4.0
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

### _valueType

@protected NSTextBlockValueType _valueType;
Availability: MacOS-X 10.4.0
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

### _verticalAlignment

@protected NSTextBlockVerticalAlignment _verticalAlignment;
Availability: MacOS-X 10.4.0
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

### _width

@protected CGFloat _width;
Availability: MacOS-X 10.4.0
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

### _widthType

@protected NSTextBlockValueType _widthType;
Availability: MacOS-X 10.4.0
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

# Software documentation for the NSTextTable class

## NSTextTable : NSTextBlock

> Declared in:
>   AppKit/NSTextTable.h

Availability: MacOS-X 10.4.0
Description forthcoming.

Instance Variables
Method summary

- -boundsRectForBlock:contentRect:inRect:textContainer:characterRange:
- -collapsesBorders
- -drawBackgroundForBlock:withFrame:inView:characterRange:layoutManager:
- -hidesEmptyCells
- -layoutAlgorithm
- -numberOfColumns
- -rectForBlock:layoutAtPoint:inRect:textContainer:characterRange:
- -setCollapsesBorders:
- -setHidesEmptyCells:
- -setLayoutAlgorithm:
- -setNumberOfColumns:

### boundsRectForBlock: contentRect: inRect: textContainer: characterRange:

- (NSRect) boundsRectForBlock: (NSTextTableBlock*)block contentRect: (NSRect)content inRect: (NSRect)rect textContainer: (NSTextContainer*)container characterRange: (NSRange)range;
Availability: MacOS-X 10.4.0
Description forthcoming.

### collapsesBorders

- (BOOL) collapsesBorders;
Availability: MacOS-X 10.4.0
Description forthcoming.

### drawBackgroundForBlock: withFrame: inView: characterRange: layoutManager:

- (void) drawBackgroundForBlock: (NSTextTableBlock*)block withFrame: (NSRect)frame inView: (NSView*)controlView characterRange: (NSRange)range layoutManager: (NSLayoutManager*)manager;
Availability: MacOS-X 10.4.0
Description forthcoming.

### hidesEmptyCells

- (BOOL) hidesEmptyCells;
Availability: MacOS-X 10.4.0
Description forthcoming.

### layoutAlgorithm

- (NSTextTableLayoutAlgorithm) layoutAlgorithm;
Availability: MacOS-X 10.4.0
Description forthcoming.

### numberOfColumns

- (NSUInteger) numberOfColumns;
Availability: MacOS-X 10.4.0
Description forthcoming.

### rectForBlock: layoutAtPoint: inRect: textContainer: characterRange:

- (NSRect) rectForBlock: (NSTextTableBlock*)block layoutAtPoint: (NSPoint)start inRect: (NSRect)rect textContainer: (NSTextContainer*)container characterRange: (NSRange)range;
Availability: MacOS-X 10.4.0
Description forthcoming.

### setCollapsesBorders:

- (void) setCollapsesBorders: (BOOL)flag;
Availability: MacOS-X 10.4.0
Description forthcoming.

### setHidesEmptyCells:

- (void) setHidesEmptyCells: (BOOL)flag;
Availability: MacOS-X 10.4.0
Description forthcoming.

### setLayoutAlgorithm:

- (void) setLayoutAlgorithm: (NSTextTableLayoutAlgorithm)algorithm;
Availability: MacOS-X 10.4.0
Description forthcoming.

### setNumberOfColumns:

- (void) setNumberOfColumns: (NSUInteger)numCols;
Availability: MacOS-X 10.4.0
Description forthcoming.

## Instance Variables for NSTextTable Class

### _collapsesBorders

@protected BOOL _collapsesBorders;
Availability: MacOS-X 10.4.0
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

### _hidesEmptyCells

@protected BOOL _hidesEmptyCells;
Availability: MacOS-X 10.4.0
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

### _layoutAlgorithm

@protected NSTextTableLayoutAlgorithm _layoutAlgorithm;
Availability: MacOS-X 10.4.0
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

### _numberOfColumns

@protected NSUInteger _numberOfColumns;
Availability: MacOS-X 10.4.0
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

# Software documentation for the NSTextTableBlock class

## NSTextTableBlock : NSTextBlock

> Declared in:
>   AppKit/NSTextTable.h

Availability: MacOS-X 10.4.0
Description forthcoming.

Instance Variables
Method summary

- -columnSpan
- -initWithTable:startingRow:rowSpan:startingColumn:columnSpan:
- -rowSpan
- -startingColumn
- -startingRow
- -table

### columnSpan

- (int) columnSpan;
Availability: MacOS-X 10.4.0
Description forthcoming.

### initWithTable: startingRow: rowSpan: startingColumn: columnSpan:

- (id) initWithTable: (NSTextTable*)table startingRow: (int)row rowSpan: (int)rspan startingColumn: (int)col columnSpan: (int)cspan;
Availability: MacOS-X 10.4.0
Description forthcoming.

### rowSpan

- (int) rowSpan;
Availability: MacOS-X 10.4.0
Description forthcoming.

### startingColumn

- (int) startingColumn;
Availability: MacOS-X 10.4.0
Description forthcoming.

### startingRow

- (int) startingRow;
Availability: MacOS-X 10.4.0
Description forthcoming.

### table

- (NSTextTable*) table;
Availability: MacOS-X 10.4.0
Description forthcoming.

## Instance Variables for NSTextTableBlock Class

### _col

@protected int _col;
Availability: MacOS-X 10.4.0
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

### _colSpan

@protected int _colSpan;
Availability: MacOS-X 10.4.0
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

### _row

@protected int _row;
Availability: MacOS-X 10.4.0
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

### _rowSpan

@protected int _rowSpan;
Availability: MacOS-X 10.4.0
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

### _table

@protected NSTextTable* _table;
Availability: MacOS-X 10.4.0
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

Up