public final class MSPDIWriter extends AbstractProjectWriter
Constructor and Description |
---|
MSPDIWriter() |
Modifier and Type | Method and Description |
---|---|
boolean |
getGenerateMissingTimephasedData()
Returns true if the experimental feature to generate timephased data
for tasks with no timephased data present is enabled.
|
boolean |
getMicrosoftProjectCompatibleOutput()
Retrieves a flag which determines if the output is readable by MS Project.
|
SaveVersion |
getSaveVersion()
Retrieve the save version current set.
|
boolean |
getSplitTimephasedAsDays()
Retrieves a flag to control whether timephased assignment data is split
into days.
|
boolean |
getWriteTimephasedData()
Retrieves the state of the flag which controls whether timephased
resource assignment data is written to the file.
|
void |
setGenerateMissingTimephasedData(boolean value)
Pass true to this method to enable an experimental feature where
timephased data is generated for tasks with no timephased data present.
|
void |
setMicrosoftProjectCompatibleOutput(boolean flag)
Sets a flag to determine if the output is readable by MS Project, or
is "spec compliant".
|
void |
setSaveVersion(SaveVersion version)
Set the save version to use when generating an MSPDI file.
|
void |
setSplitTimephasedAsDays(boolean flag)
Sets a flag to control whether timephased assignment data is split
into days.
|
void |
setWriteTimephasedData(boolean value)
Sets a flag to control whether timephased resource assignment data
is written to the file.
|
void |
write(ProjectFile projectFile,
OutputStream stream)
Write a project file's content to the supplied OutputStream instance.
|
write, write
public void setMicrosoftProjectCompatibleOutput(boolean flag)
flag
- true if output is readable by MS Projectpublic boolean getMicrosoftProjectCompatibleOutput()
public void setSplitTimephasedAsDays(boolean flag)
flag
- boolean flagpublic boolean getSplitTimephasedAsDays()
public void setWriteTimephasedData(boolean value)
value
- boolean flagpublic boolean getWriteTimephasedData()
public void setGenerateMissingTimephasedData(boolean value)
value
- true to enable timephased data generationpublic boolean getGenerateMissingTimephasedData()
public void setSaveVersion(SaveVersion version)
version
- save versionpublic SaveVersion getSaveVersion()
public void write(ProjectFile projectFile, OutputStream stream) throws IOException
ProjectWriter
projectFile
- project file instancestream
- OutputStream instanceIOException
Copyright © 2000–2024 Packwood Software. All rights reserved.