|
AIDocumentBasicTypes.h File Reference#include "AIBasicTypes.h"
Go to the source code of this file.
Enumerations |
| enum | AIDocumentRulerUnitValue {
kUnknownUnits = 0,
kInchesUnits,
kCentimetersUnits,
kPointsUnits,
kPicasUnits,
kMillimetersUnits,
kPixelsUnits,
kQUnits,
kFeetInchesUnits,
kMetersUnits,
kYardsUnits,
kFeetsUnits,
kLastUnit = kFeetsUnits,
kUnknownUnits = 0,
kInchesUnits,
kCentimetersUnits,
kPointsUnits,
kPicasUnits,
kMillimetersUnits,
kPixelsUnits,
kQUnits,
kFeetInchesUnits,
kMetersUnits,
kYardsUnits,
kFeetsUnits,
kLastUnit = kFeetsUnits
} |
| | Ruler unit values, see AIDocumentSuite::GetDocumentRulerUnits().
More...
|
| enum | AIColorModel {
kAIUnknownColorModel = -1,
kAIGrayColorModel = 0,
kAIRGBColorModel,
kAICMYKColorModel,
kAIUnknownColorModel = -1,
kAIGrayColorModel = 0,
kAIRGBColorModel,
kAICMYKColorModel
} |
| | The document color model used when creating a new document or opening a document, set in AINewDocumentPreset::docColorMode.
More...
|
| enum | AITransparencyGrid {
kAITransparencyGridNone = 0,
kAITransparencyGridLight,
kAITransparencyGridMedium,
kAITransparencyGridDark,
kAITransparencyGridRed,
kAITransparencyGridOrange,
kAITransparencyGridGreen,
kAITransparencyGridBlue,
kAITransparencyGridPurple,
kAITransparencyGridNone = 0,
kAITransparencyGridLight,
kAITransparencyGridMedium,
kAITransparencyGridDark,
kAITransparencyGridRed,
kAITransparencyGridOrange,
kAITransparencyGridGreen,
kAITransparencyGridBlue,
kAITransparencyGridPurple
} |
| | The preferred grid style for a new document, set in AINewDocumentPreset::docTransparencyGrid.
More...
|
| enum | AIPreviewMode {
kAIPreviewModeDefault = 0,
kAIPreviewModePixelPreview,
kAIPreviewModeOverprintPreview,
kAIPreviewModeDefault = 0,
kAIPreviewModePixelPreview,
kAIPreviewModeOverprintPreview
} |
| | The preferred preview mode for a new document, set in AINewDocumentPreset::docPreviewMode.
More...
|
| enum | AIRasterResolution {
kAIRasterResolutionScreen = 0,
kAIRasterResolutionMedium,
kAIRasterResolutionHigh,
kAIRasterResolutionScreen = 0,
kAIRasterResolutionMedium,
kAIRasterResolutionHigh,
kAIRasterResolution36PPI
} |
| | Raster resolution values for creating a new document, set in AINewDocumentPreset::docRasterResolution.
More...
|
| enum | AIArtboardLayout {
kAIArtboardLayoutGridByRow = 0,
kAIArtboardLayoutGridByCol,
kAIArtboardLayoutRow,
kAIArtboardLayoutCol,
kAIArtboardLayoutRLGridByRow,
kAIArtboardLayoutRLGridByCol,
kAIArtboardLayoutRLRow,
kAIArtboardLayoutGridByRow = 0,
kAIArtboardLayoutGridByCol,
kAIArtboardLayoutRow,
kAIArtboardLayoutCol,
kAIArtboardLayoutRLGridByRow,
kAIArtboardLayoutRLGridByCol,
kAIArtboardLayoutRLRow
} |
| | Artboard Layout for placing artboards while creating a new document, set in AINewDocumentPreset::docArtboardLayout.
More...
|
| enum | AIDocumentColorModelValue {
kDocUnknownColor = -1,
kDocGrayColor = 0,
kDocRGBColor,
kDocCMYKColor,
kDocUnknownColor = -1,
kDocGrayColor = 0,
kDocRGBColor,
kDocCMYKColor
} |
| | Color models that can be used to specify artwork colors for a specific document.
More...
|
| enum | { kDocTargetGroups,
kDocTargetLeaves,
kDocTargetPainted,
kDocTargetExplicit
} |
| | Document targeting types.
More...
|
| enum | AISpotColorMode {
kAILegacySpotColorMode = 0,
kAIStandardSpotColorMode = 1,
kAIDummySpotColorMode = 0xFFFFFFFF,
kAILegacySpotColorMode = 0,
kAIStandardSpotColorMode = 1,
kAIDummySpotColorMode = 0xFFFFFFFF
} |
| | A book color is one of the named spot colors defined in files installed in the "Presets/Color Books" directory.
More...
|
Enumeration Type Documentation
Artboard Layout for placing artboards while creating a new document, set in AINewDocumentPreset::docArtboardLayout.
- Enumerator:
| kAIArtboardLayoutGridByRow |
Arrange artboards in grid by row pattern.
|
| kAIArtboardLayoutGridByCol |
Arrange artboards in grid by column pattern.
|
| kAIArtboardLayoutRow |
Arrange artboards in a single row.
|
| kAIArtboardLayoutCol |
Arrange artboards in a single column.
|
| kAIArtboardLayoutRLGridByRow |
Arrange artboards in grid by row pattern from right to left.
|
| kAIArtboardLayoutRLGridByCol |
Arrange artboards in grid by column pattern from right to left.
|
| kAIArtboardLayoutRLRow |
Arrange artboards in single row from right to left.
|
| kAIArtboardLayoutGridByRow |
Arrange artboards in grid by row pattern.
|
| kAIArtboardLayoutGridByCol |
Arrange artboards in grid by column pattern.
|
| kAIArtboardLayoutRow |
Arrange artboards in a single row.
|
| kAIArtboardLayoutCol |
Arrange artboards in a single column.
|
| kAIArtboardLayoutRLGridByRow |
Arrange artboards in grid by row pattern from right to left.
|
| kAIArtboardLayoutRLGridByCol |
Arrange artboards in grid by column pattern from right to left.
|
| kAIArtboardLayoutRLRow |
Arrange artboards in single row from right to left.
|
The document color model used when creating a new document or opening a document, set in AINewDocumentPreset::docColorMode.
- Enumerator:
| kAIUnknownColorModel |
|
| kAIGrayColorModel |
Grayscale (Unimplemented.
If specified, an RGB document is created.)
|
| kAIRGBColorModel |
RGB.
|
| kAICMYKColorModel |
CMYK.
|
| kAIUnknownColorModel |
|
| kAIGrayColorModel |
Grayscale (Unimplemented.
If specified, an RGB document is created.)
|
| kAIRGBColorModel |
RGB.
|
| kAICMYKColorModel |
CMYK.
|
Color models that can be used to specify artwork colors for a specific document.
See AIDocumentSuite::GetDocumentColorModel()
- Enumerator:
| kDocUnknownColor |
|
| kDocGrayColor |
|
| kDocRGBColor |
|
| kDocCMYKColor |
|
| kDocUnknownColor |
|
| kDocGrayColor |
|
| kDocRGBColor |
|
| kDocCMYKColor |
|
Ruler unit values, see AIDocumentSuite::GetDocumentRulerUnits().
- Enumerator:
| kUnknownUnits |
|
| kInchesUnits |
inches
|
| kCentimetersUnits |
centimeters
|
| kPointsUnits |
points
|
| kPicasUnits |
picas
|
| kMillimetersUnits |
millimeters
|
| kPixelsUnits |
pixels
|
| kQUnits |
Q units.
|
| kFeetInchesUnits |
feet-inch
|
| kMetersUnits |
meters
|
| kYardsUnits |
yards
|
| kFeetsUnits |
feet
|
| kLastUnit |
last
|
| kUnknownUnits |
|
| kInchesUnits |
inches
|
| kCentimetersUnits |
centimeters
|
| kPointsUnits |
points
|
| kPicasUnits |
picas
|
| kMillimetersUnits |
millimeters
|
| kPixelsUnits |
pixels
|
| kQUnits |
Q units.
|
| kFeetInchesUnits |
feet-inch
|
| kMetersUnits |
meters
|
| kYardsUnits |
yards
|
| kFeetsUnits |
feet
|
| kLastUnit |
last
|
The preferred preview mode for a new document, set in AINewDocumentPreset::docPreviewMode.
- Enumerator:
| kAIPreviewModeDefault |
|
| kAIPreviewModePixelPreview |
|
| kAIPreviewModeOverprintPreview |
|
| kAIPreviewModeDefault |
|
| kAIPreviewModePixelPreview |
|
| kAIPreviewModeOverprintPreview |
|
Raster resolution values for creating a new document, set in AINewDocumentPreset::docRasterResolution.
Values are in pixels-per-inch. This becomes the Raster Effect Settings value for the document.
- Enumerator:
| kAIRasterResolutionScreen |
Low or screen resolution, 72 PPI.
This is the default.
|
| kAIRasterResolutionMedium |
Medium resolution, 150 PPI.
|
| kAIRasterResolutionHigh |
High resolution, 300 PPI.
|
| kAIRasterResolutionScreen |
Low or screen resolution, 72 PPI.
This is the default.
|
| kAIRasterResolutionMedium |
Medium resolution, 150 PPI.
|
| kAIRasterResolutionHigh |
High resolution, 300 PPI.
|
| kAIRasterResolution36PPI |
Low resolution, 36 PPI.
|
A book color is one of the named spot colors defined in files installed in the "Presets/Color Books" directory.
The appearance definition of a book color specifies how to simulate the appearance of the spot ink when the physical ink is not available.
This mode value indicates whether new book colors added to a document should use the standard or legacy appearance definition. It affects new spot colors that are added from a swatch library, by placing a file, or by cut and paste. See AIDocumentSuite::GetDocumentSpotColorMode() and AIDocumentSuite::GetDocumentSpotColorMode().
- Note:
- Illustrator does not enforce the mode setting for new spot colors. However, the import code automatically resolves spot color conflicts.
- Enumerator:
| kAILegacySpotColorMode |
The legacy definition matches prior versions of Illustrator, typically given using CMYK.
|
| kAIStandardSpotColorMode |
The standard definition is the most accurate, typically given using Lab.
|
| kAIDummySpotColorMode |
|
| kAILegacySpotColorMode |
The legacy definition matches prior versions of Illustrator, typically given using CMYK.
|
| kAIStandardSpotColorMode |
The standard definition is the most accurate, typically given using Lab.
|
| kAIDummySpotColorMode |
|
The preferred grid style for a new document, set in AINewDocumentPreset::docTransparencyGrid.
- Enumerator:
| kAITransparencyGridNone |
No grid.
|
| kAITransparencyGridLight |
Light gray lines.
|
| kAITransparencyGridMedium |
Medium gray lines.
|
| kAITransparencyGridDark |
Dark gray lines.
|
| kAITransparencyGridRed |
Red lines.
|
| kAITransparencyGridOrange |
Orange lines.
|
| kAITransparencyGridGreen |
Green lines.
|
| kAITransparencyGridBlue |
Blue lines.
|
| kAITransparencyGridPurple |
Purple lines.
|
| kAITransparencyGridNone |
No grid.
|
| kAITransparencyGridLight |
Light gray lines.
|
| kAITransparencyGridMedium |
Medium gray lines.
|
| kAITransparencyGridDark |
Dark gray lines.
|
| kAITransparencyGridRed |
Red lines.
|
| kAITransparencyGridOrange |
Orange lines.
|
| kAITransparencyGridGreen |
Green lines.
|
| kAITransparencyGridBlue |
Blue lines.
|
| kAITransparencyGridPurple |
Purple lines.
|
|