You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: english/java/com.aspose.tasks/saveoptions/_index.md
-25Lines changed: 0 additions & 25 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -30,7 +30,6 @@ An instance of any derived class from SaveOptions class is passed to the stream
30
30
|[getFitTimescaleToEndOfPage()](#getFitTimescaleToEndOfPage--)| Gets whether a calendar section of a view should be rendered to the end (right side) of the last page. |
31
31
|[getGridlines()](#getGridlines--)| Gets a list of [Gridline](../../com.aspose.tasks/gridline) that appear in project view. |
32
32
|[getLegendDrawingOptions()](#getLegendDrawingOptions--)| Gets a value which define how to render a legend. |
33
-
|[getLegendOnEachPage()](#getLegendOnEachPage--)| Gets a value indicating whether legend should be shown on each page (Default value is TRUE). |
34
33
|[getMarkCriticalTasks()](#getMarkCriticalTasks--)| Gets a value indicating whether critical tasks should be displayed in red color (Default value is FALSE). |
35
34
|[getNonWorkingTimeColor()](#getNonWorkingTimeColor--)| Gets the non-working time color. |
36
35
|[getPageCount()](#getPageCount--)| Gets the number of pages of project. |
@@ -53,7 +52,6 @@ An instance of any derived class from SaveOptions class is passed to the stream
53
52
|[setFitTimescaleToEndOfPage(boolean value)](#setFitTimescaleToEndOfPage-boolean-)| Sets whether a calendar section of a view should be rendered to the end (right side) of the last page. |
54
53
|[setGridlines(List<Gridline> value)](#setGridlines-java.util.List-com.aspose.tasks.Gridline--)| Sets a list of [Gridline](../../com.aspose.tasks/gridline) that appear in project view. |
55
54
|[setLegendDrawingOptions(int value)](#setLegendDrawingOptions-int-)| Sets a value which define how to render a legend. |
56
-
|[setLegendOnEachPage(boolean value)](#setLegendOnEachPage-boolean-)| Sets a value indicating whether legend should be shown on each page (Default value is TRUE). |
57
55
|[setMarkCriticalTasks(boolean value)](#setMarkCriticalTasks-boolean-)| Sets a value indicating whether critical tasks should be displayed in red color (Default value is FALSE). |
58
56
|[setNonWorkingTimeColor(Color value)](#setNonWorkingTimeColor-java.awt.Color-)| Sets the non-working time color. |
59
57
|[setPageSize(int value)](#setPageSize-int-)| Sets the size of page to be rendered (Default value is PageSize.A4). |
@@ -147,16 +145,6 @@ Gets a value which define how to render a legend. Default value is LegendDrawing
147
145
148
146
**Returns:**
149
147
int - a value which define how to render a legend.
Copy file name to clipboardExpand all lines: english/java/com.aspose.tasks/timescaletier/_index.md
+33Lines changed: 33 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -28,13 +28,15 @@ Represents a single tier of the timescale on a Gantt Chart.
28
28
|[getCount()](#getCount--)| Gets the time unit interval in which to show labels for the tier. |
29
29
|[getDateTimeConverter()](#getDateTimeConverter--)| Gets a callback function for handling rendering date tick in this tier. |
30
30
|[getLabel()](#getLabel--)| Gets date label [DateLabel](../../com.aspose.tasks/datelabel) for the timescale tier. |
31
+
|[getRenderLabelOnEachPage()](#getRenderLabelOnEachPage--)| Gets flag that defines whether date labels should be rendered on each page when a time period spans over several pages. |
31
32
|[getShowTicks()](#getShowTicks--)| Gets a value indicating whether whether to show tick marks that separate time periods in the tier. |
32
33
|[getUnit()](#getUnit--)| Gets timescale unit [TimescaleUnit](../../com.aspose.tasks/timescaleunit) for the timescale tier. |
33
34
|[getUsesFiscalYear()](#getUsesFiscalYear--)| Gets a value indicating whether to base the tier labels on the fiscal year. |
34
35
|[setAlignment(int value)](#setAlignment-int-)| Sets how to align labels within each time period of the tier ([HorizontalStringAlignment](../../com.aspose.tasks/horizontalstringalignment)). |
35
36
|[setCount(int value)](#setCount-int-)| Sets the time unit interval in which to show labels for the tier. |
36
37
|[setDateTimeConverter(DateTimeConverter value)](#setDateTimeConverter-com.aspose.tasks.DateTimeConverter-)| Sets a callback function for handling rendering date tick in this tier. |
37
38
|[setLabel(int value)](#setLabel-int-)| Sets date label [DateLabel](../../com.aspose.tasks/datelabel) for the timescale tier. |
39
+
|[setRenderLabelOnEachPage(boolean value)](#setRenderLabelOnEachPage-boolean-)| Sets flag that defines whether date labels should be rendered on each page when a time period spans over several pages. |
38
40
|[setShowTicks(boolean value)](#setShowTicks-boolean-)| Sets a value indicating whether whether to show tick marks that separate time periods in the tier. |
39
41
|[setUnit(int value)](#setUnit-int-)| Sets timescale unit [TimescaleUnit](../../com.aspose.tasks/timescaleunit) for the timescale tier. |
40
42
|[setUsesFiscalYear(boolean value)](#setUsesFiscalYear-boolean-)| Sets a value indicating whether to base the tier labels on the fiscal year. |
@@ -100,6 +102,20 @@ Gets date label [DateLabel](../../com.aspose.tasks/datelabel) for the timescale
100
102
101
103
**Returns:**
102
104
int - date label [DateLabel](../../com.aspose.tasks/datelabel) for the timescale tier.
Gets flag that defines whether date labels should be rendered on each page when a time period spans over several pages. If value is 'true', when time period spans over several pages, date labels for the period are rendered on each page. If values is 'false', date label is rendered only once according to a value of `Alignment`([getAlignment](../../com.aspose.tasks/timescaletier\#getAlignment--)/[setAlignment(int)](../../com.aspose.tasks/timescaletier\#setAlignment-int-)) property.
112
+
113
+
--------------------
114
+
115
+
Doesn't have the equivalent in MS Project.
116
+
117
+
**Returns:**
118
+
boolean - flag that defines whether date labels should be rendered on each page when a time period spans over several pages.
103
119
### getShowTicks() {#getShowTicks--}
104
120
```
105
121
public final boolean getShowTicks()
@@ -182,6 +198,23 @@ Sets date label [DateLabel](../../com.aspose.tasks/datelabel) for the timescale
182
198
| --- | --- | --- |
183
199
| value | int | date label [DateLabel](../../com.aspose.tasks/datelabel) for the timescale tier. |
public final void setRenderLabelOnEachPage(boolean value)
204
+
```
205
+
206
+
207
+
Sets flag that defines whether date labels should be rendered on each page when a time period spans over several pages. If value is 'true', when time period spans over several pages, date labels for the period are rendered on each page. If values is 'false', date label is rendered only once according to a value of `Alignment`([getAlignment](../../com.aspose.tasks/timescaletier\#getAlignment--)/[setAlignment(int)](../../com.aspose.tasks/timescaletier\#setAlignment-int-)) property.
208
+
209
+
--------------------
210
+
211
+
Doesn't have the equivalent in MS Project.
212
+
213
+
**Parameters:**
214
+
| Parameter | Type | Description |
215
+
| --- | --- | --- |
216
+
| value | boolean | flag that defines whether date labels should be rendered on each page when a time period spans over several pages. |
0 commit comments