From 6f864f280bc6ca340b9ea079da39d8b94c61ac1a Mon Sep 17 00:00:00 2001 From: achevyrov-aspose Date: Tue, 3 Jun 2025 07:11:08 +0400 Subject: [PATCH] 25.5 changes --- english/java/com.aspose.tasks/_index.md | 2 +- .../java/com.aspose.tasks/calendar/_index.md | 44 +++++ .../headerfooterinfo/_index.md | 76 ++++---- .../java/com.aspose.tasks/icalendar/_index.md | 44 +++++ .../com.aspose.tasks/pagelegend/_index.md | 166 +----------------- .../com.aspose.tasks/pagemargins/_index.md | 48 ++--- .../resourceassignment/_index.md | 12 +- 7 files changed, 165 insertions(+), 227 deletions(-) diff --git a/english/java/com.aspose.tasks/_index.md b/english/java/com.aspose.tasks/_index.md index 2ff9ee7f8..766ba5dd0 100644 --- a/english/java/com.aspose.tasks/_index.md +++ b/english/java/com.aspose.tasks/_index.md @@ -128,7 +128,7 @@ url: /java/com.aspose.tasks/ | [GroupCriterion](../com.aspose.tasks/groupcriterion) | Represents a criterion in a group definition. | | [GroupCriterionCollection](../com.aspose.tasks/groupcriterioncollection) | Contains a collection of [GroupCriterion](../com.aspose.tasks/groupcriterion) objects. | | [GroupOn](../com.aspose.tasks/groupon) | Specifies the type of grouping. | -| [HeaderFooterInfo](../com.aspose.tasks/headerfooterinfo) | Represents header or footer data which is present in views and used for printing. | +| [HeaderFooterInfo](../com.aspose.tasks/headerfooterinfo) | Represents visual content of the header, footer or legend which is used for printing \\ rendering of views. | | [HorizontalAlignment](../com.aspose.tasks/horizontalalignment) | Specifies how an object or text is horizontally aligned relative to another object. | | [HorizontalStringAlignment](../com.aspose.tasks/horizontalstringalignment) | Specifies the alignment of a text string relative to its layout rectangle. | | [HourLabelDisplay](../com.aspose.tasks/hourlabeldisplay) | Specifies how the hour label displays. | diff --git a/english/java/com.aspose.tasks/calendar/_index.md b/english/java/com.aspose.tasks/calendar/_index.md index 566ba515f..381e83621 100644 --- a/english/java/com.aspose.tasks/calendar/_index.md +++ b/english/java/com.aspose.tasks/calendar/_index.md @@ -73,14 +73,17 @@ Calendars are used to define standard working and non-working times. Projects mu | [getTaskFinishDateFromDuration(Task task, double duration)](#getTaskFinishDateFromDuration-com.aspose.tasks.Task-double-) | Calculates the task finish date and time from its start date, split parts and the work duration. | | [getUid()](#getUid--) | Gets the unique identifier of the calendar. | | [getWeekDays()](#getWeekDays--) | Gets WeekDaysCollection for this calendar. | +| [getWorkStart(Date date)](#getWorkStart-java.util.Date-) | Calculates next working time start beginning from the specified date and time. | | [getWorkWeeks()](#getWorkWeeks--) | Gets WorkWeekCollections object. | | [getWorkingHours(Date dt)](#getWorkingHours-java.util.Date-) | Returns the amount of working hours at the specified date. | | [getWorkingHours(Date start, Date finish)](#getWorkingHours-java.util.Date-java.util.Date-) | Return WorkUnit - Start, Finish and Duration of working hours for the specified date time interval. | +| [getWorkingHoursTimeSpan(Date start, Date finish)](#getWorkingHoursTimeSpan-java.util.Date-java.util.Date-) | Returns amount of working hours between the specified dates. | | [getWorkingTimes(Date dt)](#getWorkingTimes-java.util.Date-) | Returns [WorkingTimeCollection](../../com.aspose.tasks/workingtimecollection) of working times for the specified date. | | [hashCode()](#hashCode--) | Returns a hash code for the instance of the class. | | [isBaseCalendar()](#isBaseCalendar--) | Gets a value indicating whether the calendar is a base calendar. | | [isBaselineCalendar()](#isBaselineCalendar--) | Gets a value indicating whether the calendar is a baseline calendar. | | [isDayWorking(Date dt)](#isDayWorking-java.util.Date-) | Determines whether the specified day is a working day according to the calendar. | +| [isEmpty()](#isEmpty--) | Returns whether the calendar doesn't have working hours defined. | | [make24HourCalendar(Calendar calendar)](#make24HourCalendar-com.aspose.tasks.Calendar-) | Makes a given Calendar to be a 24Hour Calendar. 24Hours Calendar is a Calendar in which every day of week is working with Round-the-clock working hours. | | [makeNightShiftCalendar(Calendar calendar)](#makeNightShiftCalendar-com.aspose.tasks.Calendar-) | Makes a given Calendar as Night Shift Calendar. | | [makeStandardCalendar(Calendar calendar)](#makeStandardCalendar-com.aspose.tasks.Calendar-) | Creates default standard calendar. | @@ -299,6 +302,21 @@ Gets WeekDaysCollection for this calendar. The collection of weekdays that defin **Returns:** [WeekDayCollection](../../com.aspose.tasks/weekdaycollection) - WeekDaysCollection for this calendar. +### getWorkStart(Date date) {#getWorkStart-java.util.Date-} +``` +public final Date getWorkStart(Date date) +``` + + +Calculates next working time start beginning from the specified date and time. + +**Parameters:** +| Parameter | Type | Description | +| --- | --- | --- | +| date | java.util.Date | The date and time. | + +**Returns:** +java.util.Date - The nearest working time start. ### getWorkWeeks() {#getWorkWeeks--} ``` public final WorkWeekCollection getWorkWeeks() @@ -340,6 +358,22 @@ Return WorkUnit - Start, Finish and Duration of working hours for the specified **Returns:** [WorkUnit](../../com.aspose.tasks/workunit) - Instance of [WorkUnit](../../com.aspose.tasks/workunit) class containing Start, Finish and Duration of working hours. +### getWorkingHoursTimeSpan(Date start, Date finish) {#getWorkingHoursTimeSpan-java.util.Date-java.util.Date-} +``` +public final double getWorkingHoursTimeSpan(Date start, Date finish) +``` + + +Returns amount of working hours between the specified dates. + +**Parameters:** +| Parameter | Type | Description | +| --- | --- | --- | +| start | java.util.Date | Start date of the interval. | +| finish | java.util.Date | Finish date of the interval. | + +**Returns:** +double - Amount of working hours according to the calendar instance. ### getWorkingTimes(Date dt) {#getWorkingTimes-java.util.Date-} ``` public final WorkingTimeCollection getWorkingTimes(Date dt) @@ -400,6 +434,16 @@ Determines whether the specified day is a working day according to the calendar. **Returns:** boolean - True if the day is a working day. +### isEmpty() {#isEmpty--} +``` +public boolean isEmpty() +``` + + +Returns whether the calendar doesn't have working hours defined. + +**Returns:** +boolean - True if the calendar doesn't have working hours defined. ### make24HourCalendar(Calendar calendar) {#make24HourCalendar-com.aspose.tasks.Calendar-} ``` public static Calendar make24HourCalendar(Calendar calendar) diff --git a/english/java/com.aspose.tasks/headerfooterinfo/_index.md b/english/java/com.aspose.tasks/headerfooterinfo/_index.md index 381905a71..77635e65c 100644 --- a/english/java/com.aspose.tasks/headerfooterinfo/_index.md +++ b/english/java/com.aspose.tasks/headerfooterinfo/_index.md @@ -1,7 +1,7 @@ --- title: HeaderFooterInfo second_title: Aspose.Tasks for Java API Reference -description: Represents header or footer data which is present in views and used for printing. +description: Represents visual content of the header footer or legend which is used for printing rendering of views. type: docs weight: 126 url: /java/com.aspose.tasks/headerfooterinfo/ @@ -13,7 +13,7 @@ java.lang.Object public class HeaderFooterInfo ``` -Represents header or footer data which is present in views and used for printing. +Represents visual content of the header, footer or legend which is used for printing \\ rendering of views. ## Constructors | Constructor | Description | @@ -23,24 +23,24 @@ Represents header or footer data which is present in views and used for printing | Method | Description | | --- | --- | -| [getCenteredImage()](#getCenteredImage--) | Gets the centered image to be displayed in the header or footer. | +| [getCenteredImage()](#getCenteredImage--) | Gets the centered image to be displayed in the parent element. | | [getCenteredImageSize()](#getCenteredImageSize--) | Gets the displayed size of the center image. | -| [getCenteredText()](#getCenteredText--) | Gets the centered text to display in the header or footer . | -| [getLeftImage()](#getLeftImage--) | Gets the left aligned image to be displayed in the header or footer. | +| [getCenteredText()](#getCenteredText--) | Gets the centered text to display in the parent element. | +| [getLeftImage()](#getLeftImage--) | Gets the left aligned image to be displayed in the parent element. | | [getLeftImageSize()](#getLeftImageSize--) | Gets the displayed size of the left image. | -| [getLeftText()](#getLeftText--) | Gets the left aligned text to display in the header or footer. | -| [getRightImage()](#getRightImage--) | Gets the right aligned image to be displayed in the header or footer. | +| [getLeftText()](#getLeftText--) | Gets the left aligned text to display in the parent element. | +| [getRightImage()](#getRightImage--) | Gets the right aligned image to be displayed in the parent element. | | [getRightImageSize()](#getRightImageSize--) | Gets the displayed size of the right image. | -| [getRightText()](#getRightText--) | Gets the right aligned text to display in the header or footer. | -| [setCenteredImage(Image value)](#setCenteredImage-java.awt.Image-) | Sets the centered image to be displayed in the header or footer. | +| [getRightText()](#getRightText--) | Gets the right aligned text to display in the parent element. | +| [setCenteredImage(Image value)](#setCenteredImage-java.awt.Image-) | Sets the centered image to be displayed in the parent element. | | [setCenteredImageSize(Dimension value)](#setCenteredImageSize-java.awt.Dimension-) | Sets the displayed size of the center image. | -| [setCenteredText(String value)](#setCenteredText-java.lang.String-) | Sets the centered text to display in the header or footer . | -| [setLeftImage(Image value)](#setLeftImage-java.awt.Image-) | Sets the left aligned image to be displayed in the header or footer. | +| [setCenteredText(String value)](#setCenteredText-java.lang.String-) | Sets the centered text to display in the parent element. | +| [setLeftImage(Image value)](#setLeftImage-java.awt.Image-) | Sets the left aligned image to be displayed in the parent element. | | [setLeftImageSize(Dimension value)](#setLeftImageSize-java.awt.Dimension-) | Sets the displayed size of the left image. | -| [setLeftText(String value)](#setLeftText-java.lang.String-) | Sets the left aligned text to display in the header or footer. | -| [setRightImage(Image value)](#setRightImage-java.awt.Image-) | Sets the right aligned image to be displayed in the header or footer. | +| [setLeftText(String value)](#setLeftText-java.lang.String-) | Sets the left aligned text to display in the parent element. | +| [setRightImage(Image value)](#setRightImage-java.awt.Image-) | Sets the right aligned image to be displayed in the parent element. | | [setRightImageSize(Dimension value)](#setRightImageSize-java.awt.Dimension-) | Sets the displayed size of the right image. | -| [setRightText(String value)](#setRightText-java.lang.String-) | Sets the right aligned text to display in the header or footer. | +| [setRightText(String value)](#setRightText-java.lang.String-) | Sets the right aligned text to display in the parent element. | ### HeaderFooterInfo() {#HeaderFooterInfo--} ``` public HeaderFooterInfo() @@ -55,10 +55,10 @@ public final Image getCenteredImage() ``` -Gets the centered image to be displayed in the header or footer. +Gets the centered image to be displayed in the parent element. **Returns:** -java.awt.Image - the centered image to be displayed in the header or footer. +java.awt.Image - the centered image to be displayed in the parent element. ### getCenteredImageSize() {#getCenteredImageSize--} ``` public final Dimension getCenteredImageSize() @@ -75,20 +75,20 @@ public final String getCenteredText() ``` -Gets the centered text to display in the header or footer . +Gets the centered text to display in the parent element. **Returns:** -java.lang.String - the centered text to display in the header or footer . +java.lang.String - the centered text to display in the parent element. ### getLeftImage() {#getLeftImage--} ``` public final Image getLeftImage() ``` -Gets the left aligned image to be displayed in the header or footer. +Gets the left aligned image to be displayed in the parent element. **Returns:** -java.awt.Image - the left aligned image to be displayed in the header or footer. +java.awt.Image - the left aligned image to be displayed in the parent element. ### getLeftImageSize() {#getLeftImageSize--} ``` public final Dimension getLeftImageSize() @@ -105,20 +105,20 @@ public final String getLeftText() ``` -Gets the left aligned text to display in the header or footer. +Gets the left aligned text to display in the parent element. **Returns:** -java.lang.String - the left aligned text to display in the header or footer. +java.lang.String - the left aligned text to display in the parent element. ### getRightImage() {#getRightImage--} ``` public final Image getRightImage() ``` -Gets the right aligned image to be displayed in the header or footer. +Gets the right aligned image to be displayed in the parent element. **Returns:** -java.awt.Image - the right aligned image to be displayed in the header or footer. +java.awt.Image - the right aligned image to be displayed in the parent element. ### getRightImageSize() {#getRightImageSize--} ``` public final Dimension getRightImageSize() @@ -135,22 +135,22 @@ public final String getRightText() ``` -Gets the right aligned text to display in the header or footer. +Gets the right aligned text to display in the parent element. **Returns:** -java.lang.String - the right aligned text to display in the header or footer. +java.lang.String - the right aligned text to display in the parent element. ### setCenteredImage(Image value) {#setCenteredImage-java.awt.Image-} ``` public final void setCenteredImage(Image value) ``` -Sets the centered image to be displayed in the header or footer. +Sets the centered image to be displayed in the parent element. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | -| value | java.awt.Image | the centered image to be displayed in the header or footer. | +| value | java.awt.Image | the centered image to be displayed in the parent element. | ### setCenteredImageSize(Dimension value) {#setCenteredImageSize-java.awt.Dimension-} ``` @@ -171,12 +171,12 @@ public final void setCenteredText(String value) ``` -Sets the centered text to display in the header or footer . +Sets the centered text to display in the parent element. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | -| value | java.lang.String | the centered text to display in the header or footer . | +| value | java.lang.String | the centered text to display in the parent element. | ### setLeftImage(Image value) {#setLeftImage-java.awt.Image-} ``` @@ -184,12 +184,12 @@ public final void setLeftImage(Image value) ``` -Sets the left aligned image to be displayed in the header or footer. +Sets the left aligned image to be displayed in the parent element. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | -| value | java.awt.Image | the left aligned image to be displayed in the header or footer. | +| value | java.awt.Image | the left aligned image to be displayed in the parent element. | ### setLeftImageSize(Dimension value) {#setLeftImageSize-java.awt.Dimension-} ``` @@ -210,12 +210,12 @@ public final void setLeftText(String value) ``` -Sets the left aligned text to display in the header or footer. +Sets the left aligned text to display in the parent element. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | -| value | java.lang.String | the left aligned text to display in the header or footer. | +| value | java.lang.String | the left aligned text to display in the parent element. | ### setRightImage(Image value) {#setRightImage-java.awt.Image-} ``` @@ -223,12 +223,12 @@ public final void setRightImage(Image value) ``` -Sets the right aligned image to be displayed in the header or footer. +Sets the right aligned image to be displayed in the parent element. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | -| value | java.awt.Image | the right aligned image to be displayed in the header or footer. | +| value | java.awt.Image | the right aligned image to be displayed in the parent element. | ### setRightImageSize(Dimension value) {#setRightImageSize-java.awt.Dimension-} ``` @@ -249,10 +249,10 @@ public final void setRightText(String value) ``` -Sets the right aligned text to display in the header or footer. +Sets the right aligned text to display in the parent element. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | -| value | java.lang.String | the right aligned text to display in the header or footer. | +| value | java.lang.String | the right aligned text to display in the parent element. | diff --git a/english/java/com.aspose.tasks/icalendar/_index.md b/english/java/com.aspose.tasks/icalendar/_index.md index 7af7c1c94..c063f32e4 100644 --- a/english/java/com.aspose.tasks/icalendar/_index.md +++ b/english/java/com.aspose.tasks/icalendar/_index.md @@ -22,10 +22,13 @@ Represents a calendar abstraction which can be used for various calculations of | [getStartDateFromFinishAndDuration(Date finish, Duration duration)](#getStartDateFromFinishAndDuration-java.util.Date-com.aspose.tasks.Duration-) | Returns start date based on the specified finish date and duration. | | [getStartDateFromFinishAndDuration(Date finish, double duration)](#getStartDateFromFinishAndDuration-java.util.Date-double-) | Returns start date based on specified finish date and duration. | | [getTaskFinishDateFromDuration(Task task, double duration)](#getTaskFinishDateFromDuration-com.aspose.tasks.Task-double-) | Calculates the task finish date and time from its start date, split parts and the work duration. | +| [getWorkStart(Date date)](#getWorkStart-java.util.Date-) | Calculates next working time start beginning from the specified date and time. | | [getWorkingHours(Date dt)](#getWorkingHours-java.util.Date-) | Returns the amount of working hours at the specified date. | | [getWorkingHours(Date start, Date finish)](#getWorkingHours-java.util.Date-java.util.Date-) | Return WorkUnit - Start, Finish and Duration of working hours for the specified date time interval. | +| [getWorkingHoursTimeSpan(Date start, Date finish)](#getWorkingHoursTimeSpan-java.util.Date-java.util.Date-) | Returns amount of working hours between the specified dates. | | [getWorkingTimes(Date dt)](#getWorkingTimes-java.util.Date-) | Returns [WorkingTimeCollection](../../com.aspose.tasks/workingtimecollection) of working times for the specified date. | | [isDayWorking(Date dt)](#isDayWorking-java.util.Date-) | Determines whether the specified day is a working day according to the calendar. | +| [isEmpty()](#isEmpty--) | Returns whether the calendar doesn't have working hours defined. | ### getFinishDateByStartAndWork(Date start, Duration work) {#getFinishDateByStartAndWork-java.util.Date-com.aspose.tasks.Duration-} ``` public abstract Date getFinishDateByStartAndWork(Date start, Duration work) @@ -138,6 +141,21 @@ Returns DateTime.MinValue if task is summary, null or its start date is not set. **Returns:** java.util.Date - Task's finish date for the given start date and duration. +### getWorkStart(Date date) {#getWorkStart-java.util.Date-} +``` +public abstract Date getWorkStart(Date date) +``` + + +Calculates next working time start beginning from the specified date and time. + +**Parameters:** +| Parameter | Type | Description | +| --- | --- | --- | +| date | java.util.Date | The date and time. | + +**Returns:** +java.util.Date - The nearest working time start. ### getWorkingHours(Date dt) {#getWorkingHours-java.util.Date-} ``` public abstract double getWorkingHours(Date dt) @@ -169,6 +187,22 @@ Return WorkUnit - Start, Finish and Duration of working hours for the specified **Returns:** [WorkUnit](../../com.aspose.tasks/workunit) - Instance of [WorkUnit](../../com.aspose.tasks/workunit) class containing Start, Finish and Duration of working hours. +### getWorkingHoursTimeSpan(Date start, Date finish) {#getWorkingHoursTimeSpan-java.util.Date-java.util.Date-} +``` +public abstract double getWorkingHoursTimeSpan(Date start, Date finish) +``` + + +Returns amount of working hours between the specified dates. + +**Parameters:** +| Parameter | Type | Description | +| --- | --- | --- | +| start | java.util.Date | Start date of the interval. | +| finish | java.util.Date | Finish date of the interval. | + +**Returns:** +double - Amount of working hours according to the calendar instance. ### getWorkingTimes(Date dt) {#getWorkingTimes-java.util.Date-} ``` public abstract WorkingTimeCollection getWorkingTimes(Date dt) @@ -199,3 +233,13 @@ Determines whether the specified day is a working day according to the calendar. **Returns:** boolean - True if the day is a working day. +### isEmpty() {#isEmpty--} +``` +public abstract boolean isEmpty() +``` + + +Returns whether the calendar doesn't have working hours defined. + +**Returns:** +boolean - True if the calendar doesn't have working hours defined. diff --git a/english/java/com.aspose.tasks/pagelegend/_index.md b/english/java/com.aspose.tasks/pagelegend/_index.md index 4372d6a13..0aa9b721b 100644 --- a/english/java/com.aspose.tasks/pagelegend/_index.md +++ b/english/java/com.aspose.tasks/pagelegend/_index.md @@ -8,9 +8,9 @@ url: /java/com.aspose.tasks/pagelegend/ --- **Inheritance:** -java.lang.Object +java.lang.Object, [com.aspose.tasks.HeaderFooterInfo](../../com.aspose.tasks/headerfooterinfo) ``` -public class PageLegend +public class PageLegend extends HeaderFooterInfo ``` Represents a page legend which is used for project printing. @@ -23,68 +23,16 @@ Represents a page legend which is used for project printing. | Method | Description | | --- | --- | -| [getCenteredImage()](#getCenteredImage--) | Gets the centered image to be displayed in the page legend. | -| [getCenteredText()](#getCenteredText--) | Gets the centered text to display in the page legend. | -| [getLeftImage()](#getLeftImage--) | Gets the left aligned image to be displayed in the page legend. | -| [getLeftText()](#getLeftText--) | Gets the left aligned text to display in the page legend. | | [getLegendOn()](#getLegendOn--) | Gets the pages on which the legend appears. | -| [getRightImage()](#getRightImage--) | Gets the right aligned image to be displayed in the page legend. | -| [getRightText()](#getRightText--) | Gets the right aligned text to display in the page legend. | -| [getWidth()](#getWidth--) | Gets the width of the legend. | -| [setCenteredImage(Image value)](#setCenteredImage-java.awt.Image-) | Sets the centered image to be displayed in the page legend. | -| [setCenteredText(String value)](#setCenteredText-java.lang.String-) | Sets the centered text to display in the page legend. | -| [setLeftImage(Image value)](#setLeftImage-java.awt.Image-) | Sets the left aligned image to be displayed in the page legend. | -| [setLeftText(String value)](#setLeftText-java.lang.String-) | Sets the left aligned text to display in the page legend. | +| [getWidth()](#getWidth--) | Gets the width of the left part (containing project's name and date by default) of the legend in centimeters. | | [setLegendOn(int value)](#setLegendOn-int-) | Sets the pages on which the legend appears. | -| [setRightImage(Image value)](#setRightImage-java.awt.Image-) | Sets the right aligned image to be displayed in the page legend. | -| [setRightText(String value)](#setRightText-java.lang.String-) | Sets the right aligned text to display in the page legend. | -| [setWidth(double value)](#setWidth-double-) | Sets the width of the legend. | +| [setWidth(double value)](#setWidth-double-) | Sets the width of the left part (containing project's name and date by default) of the legend in centimeters. | ### PageLegend() {#PageLegend--} ``` public PageLegend() ``` -### getCenteredImage() {#getCenteredImage--} -``` -public final Image getCenteredImage() -``` - - -Gets the centered image to be displayed in the page legend. - -**Returns:** -java.awt.Image - the centered image to be displayed in the page legend. -### getCenteredText() {#getCenteredText--} -``` -public final String getCenteredText() -``` - - -Gets the centered text to display in the page legend. - -**Returns:** -java.lang.String - the centered text to display in the page legend. -### getLeftImage() {#getLeftImage--} -``` -public final Image getLeftImage() -``` - - -Gets the left aligned image to be displayed in the page legend. - -**Returns:** -java.awt.Image - the left aligned image to be displayed in the page legend. -### getLeftText() {#getLeftText--} -``` -public final String getLeftText() -``` - - -Gets the left aligned text to display in the page legend. - -**Returns:** -java.lang.String - the left aligned text to display in the page legend. ### getLegendOn() {#getLegendOn--} ``` public final int getLegendOn() @@ -95,88 +43,16 @@ Gets the pages on which the legend appears. Can be one of the values of the [Leg **Returns:** int - the pages on which the legend appears. -### getRightImage() {#getRightImage--} -``` -public final Image getRightImage() -``` - - -Gets the right aligned image to be displayed in the page legend. - -**Returns:** -java.awt.Image - the right aligned image to be displayed in the page legend. -### getRightText() {#getRightText--} -``` -public final String getRightText() -``` - - -Gets the right aligned text to display in the page legend. - -**Returns:** -java.lang.String - the right aligned text to display in the page legend. ### getWidth() {#getWidth--} ``` public final double getWidth() ``` -Gets the width of the legend. +Gets the width of the left part (containing project's name and date by default) of the legend in centimeters. **Returns:** -double - the width of the legend. -### setCenteredImage(Image value) {#setCenteredImage-java.awt.Image-} -``` -public final void setCenteredImage(Image value) -``` - - -Sets the centered image to be displayed in the page legend. - -**Parameters:** -| Parameter | Type | Description | -| --- | --- | --- | -| value | java.awt.Image | the centered image to be displayed in the page legend. | - -### setCenteredText(String value) {#setCenteredText-java.lang.String-} -``` -public final void setCenteredText(String value) -``` - - -Sets the centered text to display in the page legend. - -**Parameters:** -| Parameter | Type | Description | -| --- | --- | --- | -| value | java.lang.String | the centered text to display in the page legend. | - -### setLeftImage(Image value) {#setLeftImage-java.awt.Image-} -``` -public final void setLeftImage(Image value) -``` - - -Sets the left aligned image to be displayed in the page legend. - -**Parameters:** -| Parameter | Type | Description | -| --- | --- | --- | -| value | java.awt.Image | the left aligned image to be displayed in the page legend. | - -### setLeftText(String value) {#setLeftText-java.lang.String-} -``` -public final void setLeftText(String value) -``` - - -Sets the left aligned text to display in the page legend. - -**Parameters:** -| Parameter | Type | Description | -| --- | --- | --- | -| value | java.lang.String | the left aligned text to display in the page legend. | - +double - the width of the left part (containing project's name and date by default) of the legend in centimeters. ### setLegendOn(int value) {#setLegendOn-int-} ``` public final void setLegendOn(int value) @@ -190,42 +66,16 @@ Sets the pages on which the legend appears. Can be one of the values of the [Leg | --- | --- | --- | | value | int | the pages on which the legend appears. | -### setRightImage(Image value) {#setRightImage-java.awt.Image-} -``` -public final void setRightImage(Image value) -``` - - -Sets the right aligned image to be displayed in the page legend. - -**Parameters:** -| Parameter | Type | Description | -| --- | --- | --- | -| value | java.awt.Image | the right aligned image to be displayed in the page legend. | - -### setRightText(String value) {#setRightText-java.lang.String-} -``` -public final void setRightText(String value) -``` - - -Sets the right aligned text to display in the page legend. - -**Parameters:** -| Parameter | Type | Description | -| --- | --- | --- | -| value | java.lang.String | the right aligned text to display in the page legend. | - ### setWidth(double value) {#setWidth-double-} ``` public final void setWidth(double value) ``` -Sets the width of the legend. +Sets the width of the left part (containing project's name and date by default) of the legend in centimeters. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | -| value | double | the width of the legend. | +| value | double | the width of the left part (containing project's name and date by default) of the legend in centimeters. | diff --git a/english/java/com.aspose.tasks/pagemargins/_index.md b/english/java/com.aspose.tasks/pagemargins/_index.md index 326c1508c..e190058ee 100644 --- a/english/java/com.aspose.tasks/pagemargins/_index.md +++ b/english/java/com.aspose.tasks/pagemargins/_index.md @@ -24,15 +24,15 @@ Represents page margins for printing. | Method | Description | | --- | --- | | [getBorders()](#getBorders--) | Gets a position where to print borders. | -| [getBottom()](#getBottom--) | Gets the size of the bottom margin in inches or centimeters. | -| [getLeft()](#getLeft--) | Gets the size of the left margin in inches or centimeters. | -| [getRight()](#getRight--) | Gets the size of the right margin in inches or centimeters. | -| [getTop()](#getTop--) | Gets the size of the top margin in inches or centimeters. | +| [getBottom()](#getBottom--) | Gets the size of the bottom margin in centimeters. | +| [getLeft()](#getLeft--) | Gets the size of the left margin in centimeters. | +| [getRight()](#getRight--) | Gets the size of the right margin in centimeters. | +| [getTop()](#getTop--) | Gets the size of the top margin in centimeters. | | [setBorders(int value)](#setBorders-int-) | Sets a position where to print borders. | -| [setBottom(double value)](#setBottom-double-) | Sets the size of the bottom margin in inches or centimeters. | -| [setLeft(double value)](#setLeft-double-) | Sets the size of the left margin in inches or centimeters. | -| [setRight(double value)](#setRight-double-) | Sets the size of the right margin in inches or centimeters. | -| [setTop(double value)](#setTop-double-) | Sets the size of the top margin in inches or centimeters. | +| [setBottom(double value)](#setBottom-double-) | Sets the size of the bottom margin in centimeters. | +| [setLeft(double value)](#setLeft-double-) | Sets the size of the left margin in centimeters. | +| [setRight(double value)](#setRight-double-) | Sets the size of the right margin in centimeters. | +| [setTop(double value)](#setTop-double-) | Sets the size of the top margin in centimeters. | ### PageMargins() {#PageMargins--} ``` public PageMargins() @@ -55,40 +55,40 @@ public final double getBottom() ``` -Gets the size of the bottom margin in inches or centimeters. +Gets the size of the bottom margin in centimeters. **Returns:** -double - the size of the bottom margin in inches or centimeters. +double - the size of the bottom margin in centimeters. ### getLeft() {#getLeft--} ``` public final double getLeft() ``` -Gets the size of the left margin in inches or centimeters. +Gets the size of the left margin in centimeters. **Returns:** -double - the size of the left margin in inches or centimeters. +double - the size of the left margin in centimeters. ### getRight() {#getRight--} ``` public final double getRight() ``` -Gets the size of the right margin in inches or centimeters. +Gets the size of the right margin in centimeters. **Returns:** -double - the size of the right margin in inches or centimeters. +double - the size of the right margin in centimeters. ### getTop() {#getTop--} ``` public final double getTop() ``` -Gets the size of the top margin in inches or centimeters. +Gets the size of the top margin in centimeters. **Returns:** -double - the size of the top margin in inches or centimeters. +double - the size of the top margin in centimeters. ### setBorders(int value) {#setBorders-int-} ``` public final void setBorders(int value) @@ -108,12 +108,12 @@ public final void setBottom(double value) ``` -Sets the size of the bottom margin in inches or centimeters. +Sets the size of the bottom margin in centimeters. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | -| value | double | the size of the bottom margin in inches or centimeters. | +| value | double | the size of the bottom margin in centimeters. | ### setLeft(double value) {#setLeft-double-} ``` @@ -121,12 +121,12 @@ public final void setLeft(double value) ``` -Sets the size of the left margin in inches or centimeters. +Sets the size of the left margin in centimeters. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | -| value | double | the size of the left margin in inches or centimeters. | +| value | double | the size of the left margin in centimeters. | ### setRight(double value) {#setRight-double-} ``` @@ -134,12 +134,12 @@ public final void setRight(double value) ``` -Sets the size of the right margin in inches or centimeters. +Sets the size of the right margin in centimeters. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | -| value | double | the size of the right margin in inches or centimeters. | +| value | double | the size of the right margin in centimeters. | ### setTop(double value) {#setTop-double-} ``` @@ -147,10 +147,10 @@ public final void setTop(double value) ``` -Sets the size of the top margin in inches or centimeters. +Sets the size of the top margin in centimeters. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | -| value | double | the size of the top margin in inches or centimeters. | +| value | double | the size of the top margin in centimeters. | diff --git a/english/java/com.aspose.tasks/resourceassignment/_index.md b/english/java/com.aspose.tasks/resourceassignment/_index.md index b206e1dce..8fcc409e4 100644 --- a/english/java/com.aspose.tasks/resourceassignment/_index.md +++ b/english/java/com.aspose.tasks/resourceassignment/_index.md @@ -85,7 +85,7 @@ Represents a resource assignment in a project. | [getStop()](#getStop--) | Gets a value of Stop. | | [getSummary()](#getSummary--) | Gets a value indicating whether Summary is set or not. | | [getTask()](#getTask--) | The task to which a resource is assigned. | -| [getTimephasedData()](#getTimephasedData--) | Gets the instance of [TimephasedDataCollection](../../com.aspose.tasks/timephaseddatacollection) class containing elements of `TimephasedData`([getTimephasedData()](../../com.aspose.tasks/resourceassignment\#getTimephasedData--)/ [setTimephasedData(TimephasedDataCollection)](../../com.aspose.tasks/resourceassignment\#setTimephasedData-TimephasedDataCollection-)) class. | +| [getTimephasedData()](#getTimephasedData--) | Gets the instance of [TimephasedDataCollection](../../com.aspose.tasks/timephaseddatacollection) class containing elements of `TimephasedData`([getTimephasedData](../../com.aspose.tasks/resourceassignment\#getTimephasedData-java.util.Date-java.util.Date-byte-)/[setTimephasedData](../../com.aspose.tasks/resourceassignment\#setTimephasedData-com.aspose.tasks.TimephasedDataCollection-)) class. | | [getTimephasedData(Date start, Date end)](#getTimephasedData-java.util.Date-java.util.Date-) | Returns [TimephasedDataCollection](../../com.aspose.tasks/timephaseddatacollection) object with the instances of `TimephasedData`([getTimephasedData()](../../com.aspose.tasks/resourceassignment\#getTimephasedData--)/ [setTimephasedData(TimephasedDataCollection)](../../com.aspose.tasks/resourceassignment\#setTimephasedData-TimephasedDataCollection-)) class within given start and end dates of [TimephasedDataType.AssignmentWork](../../com.aspose.tasks/timephaseddatatype\#AssignmentWork). | | [getTimephasedData(Date start, Date end, byte timephasedType)](#getTimephasedData-java.util.Date-java.util.Date-byte-) | Returns the instance [TimephasedDataCollection](../../com.aspose.tasks/timephaseddatacollection) class containing instances of `TimephasedData`([getTimephasedData()](../../com.aspose.tasks/resourceassignment\#getTimephasedData--)/ [setTimephasedData(TimephasedDataCollection)](../../com.aspose.tasks/resourceassignment\#setTimephasedData-TimephasedDataCollection-)) class within given start and end dates of specified [TimephasedDataType](../../com.aspose.tasks/timephaseddatatype). | | [getTimephasedWork(Date start, Date end)](#getTimephasedWork-java.util.Date-java.util.Date-) | Gets amount of timephased work for the specified date time interval. | @@ -159,7 +159,7 @@ Represents a resource assignment in a project. | [setStop(Date value)](#setStop-java.util.Date-) | Sets a value of Stop. | | [setSummary(boolean value)](#setSummary-boolean-) | Sets a value indicating whether Summary is set or not. | | [setTask(Task value)](#setTask-com.aspose.tasks.Task-) | The task to which a resource is assigned. | -| [setTimephasedData(TimephasedDataCollection value)](#setTimephasedData-com.aspose.tasks.TimephasedDataCollection-) | Sets the instance of [TimephasedDataCollection](../../com.aspose.tasks/timephaseddatacollection) class containing elements of `TimephasedData`([getTimephasedData()](../../com.aspose.tasks/resourceassignment\#getTimephasedData--)/ [setTimephasedData(TimephasedDataCollection)](../../com.aspose.tasks/resourceassignment\#setTimephasedData-TimephasedDataCollection-)) class. | +| [setTimephasedData(TimephasedDataCollection value)](#setTimephasedData-com.aspose.tasks.TimephasedDataCollection-) | Sets the instance of [TimephasedDataCollection](../../com.aspose.tasks/timephaseddatacollection) class containing elements of `TimephasedData`([getTimephasedData](../../com.aspose.tasks/resourceassignment\#getTimephasedData-java.util.Date-java.util.Date-byte-)/[setTimephasedData](../../com.aspose.tasks/resourceassignment\#setTimephasedData-com.aspose.tasks.TimephasedDataCollection-)) class. | | [setUid(int value)](#setUid-int-) | Sets a value of Uid. | | [setUnits(double value)](#setUnits-double-) | Sets a value of Units. | | [setUpdateNeeded(boolean value)](#setUpdateNeeded-boolean-) | Sets a value indicating whether UpdateNeeded is set or not. | @@ -841,10 +841,10 @@ public final TimephasedDataCollection getTimephasedData() ``` -Gets the instance of [TimephasedDataCollection](../../com.aspose.tasks/timephaseddatacollection) class containing elements of `TimephasedData`([getTimephasedData()](../../com.aspose.tasks/resourceassignment\#getTimephasedData--)/ [setTimephasedData(TimephasedDataCollection)](../../com.aspose.tasks/resourceassignment\#setTimephasedData-TimephasedDataCollection-)) class. +Gets the instance of [TimephasedDataCollection](../../com.aspose.tasks/timephaseddatacollection) class containing elements of `TimephasedData`([getTimephasedData](../../com.aspose.tasks/resourceassignment\#getTimephasedData-java.util.Date-java.util.Date-byte-)/[setTimephasedData](../../com.aspose.tasks/resourceassignment\#setTimephasedData-com.aspose.tasks.TimephasedDataCollection-)) class. **Returns:** -[TimephasedDataCollection](../../com.aspose.tasks/timephaseddatacollection) - the instance of [TimephasedDataCollection](../../com.aspose.tasks/timephaseddatacollection) class containing elements of `TimephasedData`([getTimephasedData()](../../com.aspose.tasks/resourceassignment\#getTimephasedData--)/ [setTimephasedData(TimephasedDataCollection)](../../com.aspose.tasks/resourceassignment\#setTimephasedData-TimephasedDataCollection-)) class. +[TimephasedDataCollection](../../com.aspose.tasks/timephaseddatacollection) - the instance of [TimephasedDataCollection](../../com.aspose.tasks/timephaseddatacollection) class containing elements of `TimephasedData`([getTimephasedData](../../com.aspose.tasks/resourceassignment\#getTimephasedData-java.util.Date-java.util.Date-byte-)/[setTimephasedData](../../com.aspose.tasks/resourceassignment\#setTimephasedData-com.aspose.tasks.TimephasedDataCollection-)) class. ### getTimephasedData(Date start, Date end) {#getTimephasedData-java.util.Date-java.util.Date-} ``` public final TimephasedDataCollection getTimephasedData(Date start, Date end) @@ -1804,12 +1804,12 @@ public final void setTimephasedData(TimephasedDataCollection value) ``` -Sets the instance of [TimephasedDataCollection](../../com.aspose.tasks/timephaseddatacollection) class containing elements of `TimephasedData`([getTimephasedData()](../../com.aspose.tasks/resourceassignment\#getTimephasedData--)/ [setTimephasedData(TimephasedDataCollection)](../../com.aspose.tasks/resourceassignment\#setTimephasedData-TimephasedDataCollection-)) class. +Sets the instance of [TimephasedDataCollection](../../com.aspose.tasks/timephaseddatacollection) class containing elements of `TimephasedData`([getTimephasedData](../../com.aspose.tasks/resourceassignment\#getTimephasedData-java.util.Date-java.util.Date-byte-)/[setTimephasedData](../../com.aspose.tasks/resourceassignment\#setTimephasedData-com.aspose.tasks.TimephasedDataCollection-)) class. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | -| value | [TimephasedDataCollection](../../com.aspose.tasks/timephaseddatacollection) | the instance of [TimephasedDataCollection](../../com.aspose.tasks/timephaseddatacollection) class containing elements of `TimephasedData`([getTimephasedData()](../../com.aspose.tasks/resourceassignment\#getTimephasedData--)/ [setTimephasedData(TimephasedDataCollection)](../../com.aspose.tasks/resourceassignment\#setTimephasedData-TimephasedDataCollection-)) class. | +| value | [TimephasedDataCollection](../../com.aspose.tasks/timephaseddatacollection) | the instance of [TimephasedDataCollection](../../com.aspose.tasks/timephaseddatacollection) class containing elements of `TimephasedData`([getTimephasedData](../../com.aspose.tasks/resourceassignment\#getTimephasedData-java.util.Date-java.util.Date-byte-)/[setTimephasedData](../../com.aspose.tasks/resourceassignment\#setTimephasedData-com.aspose.tasks.TimephasedDataCollection-)) class. | ### setUid(int value) {#setUid-int-} ```