Skip to content

Commit

Permalink
Finishes removes single-line brakes from documents
Browse files Browse the repository at this point in the history
  • Loading branch information
rendertom committed Jun 22, 2018
1 parent 9fededa commit 32788e7
Show file tree
Hide file tree
Showing 6 changed files with 27 additions and 61 deletions.
66 changes: 21 additions & 45 deletions docs/jsobjref/Application.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@ Application

**Description**

The Adobe® Illustrator® application object, referenced using the pre-defined
global app object, which contains all other Illustrator objects.
The Adobe® Illustrator® application object, referenced using the pre-defined global app object, which contains all other Illustrator objects.

----

Expand Down Expand Up @@ -76,8 +75,7 @@ Application.colorSettingsList

**Description**

The list of color-settings files currently
available for use.
The list of color-settings files currently available for use.

**Type**

Expand Down Expand Up @@ -111,8 +109,7 @@ Application.defaultColorSettings

**Description**

The default color-settings file for the
current application locale.
The default color-settings file for the current application locale.

**Type**

Expand Down Expand Up @@ -146,8 +143,7 @@ Application.flattenerPresetList

**Description**

The list of flattener style names
currently available for use.
The list of flattener style names currently available for use.

**Type**

Expand All @@ -164,8 +160,7 @@ Application.freeMemory

**Description**

The amount of unused memory (in
bytes) within the Illustrator partition.
The amount of unused memory (in bytes) within the Illustrator partition.

**Type**

Expand Down Expand Up @@ -199,8 +194,7 @@ Application.name

**Description**

The application’s name (not related to
the filename of the application file).
The application’s name (not related to the filename of the application file).

**Type**

Expand Down Expand Up @@ -251,8 +245,7 @@ Application.PDFPresetsList

**Description**

The list of preset PDF-options names
available for use.
The list of preset PDF-options names available for use.

**Type**

Expand All @@ -269,8 +262,7 @@ Application.PPDFileList

**Description**

The list of PPD files currently available
for use.
The list of PPD files currently available for use.

**Type**

Expand Down Expand Up @@ -406,8 +398,7 @@ Application.tracingPresetList

**Description**

The list of preset tracing-options
names available for use.
The list of preset tracing-options names available for use.

**Type**

Expand Down Expand Up @@ -441,8 +432,7 @@ Application.userInteractionLevel

**Description**

What level of interaction with the user should be allowed when handling
script commands.
What level of interaction with the user should be allowed when handling script commands.

**Type**

Expand Down Expand Up @@ -793,8 +783,7 @@ Application.getPresetFileOfType()

**Description**

Returns the full path to the application’s default document profile for the
specified preset type.
Returns the full path to the application’s default document profile for the specified preset type.

**Parameters**

Expand All @@ -819,8 +808,7 @@ Application.getPresetSettings()

**Description**

Retrieves the tracing-option settings from the template with
a given preset name.
Retrieves the tracing-option settings from the template with a given preset name.

**Parameters**

Expand Down Expand Up @@ -848,9 +836,7 @@ Application.getRotationMatrix()
Returns a transformation matrix containing a single rotation.

.. note::
Requires a value in degrees. For example, 30 rotates the object 30
degrees counterclockwise;
-30 rotates the object 30 degrees clockwise.
Requires a value in degrees. For example, 30 rotates the object 30 degrees counterclockwise; -30 rotates the object 30 degrees clockwise.

**Parameters**

Expand Down Expand Up @@ -880,8 +866,7 @@ Returns a transformation matrix containing a single scale.
.. note::
Requires a value in percentage.

For example, `60` scales the object to 60% of its original size;
`200` doubles the object’s bounds.
For example, `60` scales the object to 60% of its original size; `200` doubles the object’s bounds.

**Parameters**

Expand All @@ -908,8 +893,7 @@ Application.getScriptableHelpGroup()

**Description**

Gets the scriptable help group object that represents the search widget in
the app bar.
Gets the scriptable help group object that represents the search widget in the app bar.

**Returns**

Expand All @@ -931,9 +915,7 @@ Returns a transformation matrix containing a single translation.
.. note::
Requires a value in points.

For example, `(100, 200)` moves the object 100 pt. to the right and
200 pt. up;
a minus before each number moves the object left and down.
For example, `(100, 200)` moves the object 100 pt. to the right and 200 pt. up; a minus before each number moves the object left and down.

**Parameters**

Expand Down Expand Up @@ -1037,8 +1019,7 @@ Application.loadColorSettings()

**Description**

Loads color settings from specified file, or, if file is empty, turns color
management off.
Loads color settings from specified file, or, if file is empty, turns color management off.

**Parameters**

Expand Down Expand Up @@ -1066,12 +1047,9 @@ Application.open()
Opens the specified document file.

.. note::
If you open a pre-Illustrator 9 document that contains both RGB and CMYK
colors and `documentColorSpace` is supplied, all colors are converted to
the specified color space.
If you open a pre-Illustrator 9 document that contains both RGB and CMYK colors and `documentColorSpace` is supplied, all colors are converted to the specified color space.

If the parameter is not supplied, Illustrator opens a dialog so the user
can choose the color space.
If the parameter is not supplied, Illustrator opens a dialog so the user can choose the color space.

**Parameters**

Expand Down Expand Up @@ -1213,8 +1191,7 @@ Application.sendScriptMessage()

**Description**

Sends a plug-in-defined command message to a plug-in with given input
arguments, and returns the plug-in-defined result string.
Sends a plug-in-defined command message to a plug-in with given input arguments, and returns the plug-in-defined result string.

**Parameters**

Expand Down Expand Up @@ -1293,8 +1270,7 @@ Application.translatePlaceholderText()

**Description**

Translates the placeholder text to regular text (a way to enter Unicode points
in hex values).
Translates the placeholder text to regular text (a way to enter Unicode points in hex values).

**Parameters**

Expand Down
3 changes: 1 addition & 2 deletions docs/jsobjref/Artboard.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@ Artboard

**Description**

An Artboard object represents a single artboard in a document. There can be between 1 to 100 artboards
in one document.
An Artboard object represents a single artboard in a document. There can be between 1 to 100 artboards in one document.

==========
Properties
Expand Down
3 changes: 1 addition & 2 deletions docs/jsobjref/Brush.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@ Brush

**Description**

A brush in an Illustrator document. Brushes are contained in documents. Additional brushes may be
created by the user within Illustrator. You can access brushes within a script, but you cannot create them.
A brush in an Illustrator document. Brushes are contained in documents. Additional brushes may be created by the user within Illustrator. You can access brushes within a script, but you cannot create them.

----

Expand Down
6 changes: 1 addition & 5 deletions docs/jsobjref/CMYKColor.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,7 @@ CMYKColor

A CMYK color specification, used where a ``color`` object is required.

If the color space of a document is ``RGB`` and you specify the color value for a page item in that document
using CMYK, Illustrator will translate the CMYK color specification into an RGB color specification. The same
thing happens if the document’s color space is CMYK and you specify colors using RGB. Since this
translation can lose information, you should specify colors using the class that matches the document’s
actual color space.
If the color space of a document is ``RGB`` and you specify the color value for a page item in that document using CMYK, Illustrator will translate the CMYK color specification into an RGB color specification. The same thing happens if the document’s color space is CMYK and you specify colors using RGB. Since this translation can lose information, you should specify colors using the class that matches the document’s actual color space.

----

Expand Down
4 changes: 1 addition & 3 deletions docs/jsobjref/TracingOptions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,7 @@ TracingOptions.livePaintOutput
If ``true``, result is LivePaint art. If ``false``, it is classic art.

.. note::
A script should only set this value in preparation for a subsequent expand operation.

Leaving a tracing on the artboard when this property is ``true`` can lead to unexpected application behavior.
A script should only set this value in preparation for a subsequent expand operation. Leaving a tracing on the artboard when this property is ``true`` can lead to unexpected application behavior.

**Type**

Expand Down
6 changes: 2 additions & 4 deletions docs/jsobjref/javascript-object-reference.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,9 @@ This section presents all of the object classes in the type library.
Each class listing includes the following:

- Properties of the class, including value type, read-only status, and an explanation.
- Methods for the class. Constants and value types needed by the method are shown in bold face.
Required terms are shown in plain face. All items surrounded by brackets [ ] are optional.
- Methods for the class. Constants and value types needed by the method are shown in bold face. Required terms are shown in plain face. All items surrounded by brackets [ ] are optional.
- Notes to explain special issues.
- Sample code to help illustrate the syntax and typical workflow
usage of the object class.
- Sample code to help illustrate the syntax and typical workflow usage of the object class.

These examples are intended to be clear demonstrations of syntax, and do not show the best or most efficient way to construct a JavaScript script.

Expand Down

0 comments on commit 32788e7

Please sign in to comment.