net.sf.mpxj.mpp
Class GanttChartView14

java.lang.Object
  extended by net.sf.mpxj.AbstractView
      extended by net.sf.mpxj.mpp.AbstractMppView
          extended by net.sf.mpxj.mpp.GenericView
              extended by net.sf.mpxj.mpp.GanttChartView
                  extended by net.sf.mpxj.mpp.GanttChartView14
All Implemented Interfaces:
View

public final class GanttChartView14
extends GanttChartView

This class represents the set of properties used to define the appearance of a Gantt chart view in MS Project.


Field Summary
 
Fields inherited from class net.sf.mpxj.mpp.GanttChartView
m_alwaysRollupGanttBars, m_autoFilters, m_autoFiltersByType, m_barDateFormat, m_barRowsGridLines, m_barStyleExceptions, m_barStyles, m_barTextBottomFontStyle, m_barTextInsideFontStyle, m_barTextLeftFontStyle, m_barTextRightFontStyle, m_barTextTopFontStyle, m_bottomTierColumnGridLines, m_bottomTimescaleFontStyle, m_criticalTasksFontStyle, m_currentDateGridLines, m_externalTasksFontStyle, m_ganttBarHeight, m_ganttRowsGridLines, m_hideRollupBarsWhenSummaryExpanded, m_highlightedTasksFontStyle, m_linkStyle, m_markedTasksFontStyle, m_middleTierColumnGridLines, m_middleTimescaleFontStyle, m_milestoneTasksFontStyle, m_nonCriticalTasksFontStyle, m_nonWorkingColor, m_nonWorkingDaysCalendarName, m_nonWorkingPattern, m_nonWorkingStyle, m_pageBreakGridLines, m_progressLinesActualPlan, m_progressLinesAtCurrentDate, m_progressLinesAtRecurringIntervals, m_progressLinesBeginAtDate, m_progressLinesBeginAtProjectStart, m_progressLinesCurrentLineColor, m_progressLinesCurrentLineStyle, m_progressLinesCurrentProgressPointColor, m_progressLinesCurrentProgressPointShape, m_progressLinesDateFormat, m_progressLinesDisplaySelected, m_progressLinesDisplaySelectedDates, m_progressLinesDisplayType, m_progressLinesEnabled, m_progressLinesFontStyle, m_progressLinesInterval, m_progressLinesIntervalDailyDayNumber, m_progressLinesIntervalDailyWorkday, m_progressLinesIntervalMonthlyDay, m_progressLinesIntervalMonthlyDayDayNumber, m_progressLinesIntervalMonthlyDayMonthNumber, m_progressLinesIntervalMonthlyFirstLast, m_progressLinesIntervalMonthlyFirstLastDay, m_progressLinesIntervalMonthlyFirstLastMonthNumber, m_progressLinesIntervalWeekleyWeekNumber, m_progressLinesIntervalWeeklyDay, m_progressLinesOtherLineColor, m_progressLinesOtherLineStyle, m_progressLinesOtherProgressPointColor, m_progressLinesOtherProgressPointShape, m_progressLinesShowDate, m_projectFinishGridLines, m_projectStartGridLines, m_projectSummaryTasksFontStyle, m_roundBarsToWholeDays, m_rowAndColumnFontStyle, m_sheetColumnsGridLines, m_sheetRowsGridLines, m_showBarSplits, m_showDrawings, m_statusDateGridLines, m_summaryTasksFontStyle, m_tableFontStyles, m_timescaleBottomTier, m_timescaleMiddleTier, m_timescaleScaleSeparator, m_timescaleShowTiers, m_timescaleSize, m_timescaleTopTier, m_titleHorizontalGridLines, m_titleVerticalGridLines, m_topTierColumnGridLines, m_topTimescaleFontStyle, TIMESCALE_PROPERTIES, VIEW_PROPERTIES
 
Fields inherited from class net.sf.mpxj.AbstractView
m_id, m_name, m_parent, m_tableName, m_type
 
Method Summary
protected  TableFontStyle getColumnFontStyle(byte[] data, int offset, Map<Integer,FontBase> fontBases)
          Retrieve column font details from a block of property data.
protected  FontStyle getFontStyle(byte[] data, int offset, Map<Integer,FontBase> fontBases, boolean ignoreBackground)
          Retrieve font details from a block of property data.
protected  Integer getPropertiesID()
          Retrieve the ID of the properties data.
protected  void processAutoFilters(byte[] data)
          Extract autofilter definitions.
protected  void processDefaultBarStyles(net.sf.mpxj.mpp.Props props)
          Extract the Gantt bar styles.
protected  void processExceptionBarStyles(net.sf.mpxj.mpp.Props props)
          Extract the exception Gantt bar styles.
protected  void processProgressLines(Map<Integer,FontBase> fontBases, byte[] progressLineData)
          Extract progress line properties.
protected  void processTableFontStyles(Map<Integer,FontBase> fontBases, byte[] columnData)
          Extract table font styles.
protected  void processViewProperties(Map<Integer,FontBase> fontBases, net.sf.mpxj.mpp.Props props)
          Extract view properties.
 
Methods inherited from class net.sf.mpxj.mpp.GanttChartView
getAlwaysRollupGanttBars, getAutoFilterByType, getAutoFilters, getBarDateFormat, getBarRowsGridLines, getBarStyleExceptions, getBarStyles, getBarTextBottomFontStyle, getBarTextInsideFontStyle, getBarTextLeftFontStyle, getBarTextRightFontStyle, getBarTextTopFontStyle, getBottomTierColumnGridLines, getBottomTimescaleFontStyle, getCriticalTasksFontStyle, getCurrentDateGridLines, getDefaultFilter, getDefaultFilterName, getExternalTasksFontStyle, getFontStyle, getGanttBarHeight, getGanttRowsGridLines, getGroupName, getHideRollupBarsWhenSummaryExpanded, getHighlightedTasksFontStyle, getHighlightFilter, getLinkStyle, getMarkedTasksFontStyle, getMiddleTierColumnGridLines, getMiddleTimescaleFontStyle, getMilestoneTasksFontStyle, getNonCriticalTasksFontStyle, getNonWorkingColor, getNonWorkingDaysCalendarName, getNonWorkingPattern, getNonWorkingStyle, getPageBreakGridLines, getProgressLinesActualPlan, getProgressLinesAtCurrentDate, getProgressLinesAtRecurringIntervals, getProgressLinesBeginAtDate, getProgressLinesBeginAtProjectStart, getProgressLinesCurrentLineColor, getProgressLinesCurrentLineStyle, getProgressLinesCurrentProgressPointColor, getProgressLinesCurrentProgressPointShape, getProgressLinesDateFormat, getProgressLinesDisplaySelected, getProgressLinesDisplaySelectedDates, getProgressLinesDisplayType, getProgressLinesEnabled, getProgressLinesFontStyle, getProgressLinesInterval, getProgressLinesIntervalDailyDayNumber, getProgressLinesIntervalMonthlyDay, getProgressLinesIntervalMonthlyDayDayNumber, getProgressLinesIntervalMonthlyDayMonthNumber, getProgressLinesIntervalMonthlyFirstLast, getProgressLinesIntervalMonthlyFirstLastDay, getProgressLinesIntervalMonthlyFirstLastMonthNumber, getProgressLinesIntervalWeekleyWeekNumber, getProgressLinesIntervalWeeklyDay, getProgressLinesOtherLineColor, getProgressLinesOtherLineStyle, getProgressLinesOtherProgressPointColor, getProgressLinesOtherProgressPointShape, getProgressLinesShowDate, getProjectFinishGridLines, getProjectStartGridLines, getProjectSummaryTasksFontStyle, getRoundBarsToWholeDays, getRowAndColumnFontStyle, getSheetColumnsGridLines, getSheetRowsGridLines, getShowBarSplits, getShowDrawings, getShowInMenu, getStatusDateGridLines, getSummaryTasksFontStyle, getTableFontStyles, getTableWidth, getTimescaleBottomTier, getTimescaleMiddleTier, getTimescaleScaleSeparator, getTimescaleShowTiers, getTimescaleSize, getTimescaleTopTier, getTitleHorizontalGridLines, getTitleVerticalGridLines, getTopTierColumnGridLines, getTopTimescaleFontStyle, isProgressLinesIntervalDailyWorkday, mapGanttBarHeight, toString
 
Methods inherited from class net.sf.mpxj.mpp.AbstractMppView
removeAmpersand
 
Methods inherited from class net.sf.mpxj.AbstractView
getID, getName, getTable, getTableName, getType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getPropertiesID

protected Integer getPropertiesID()
Retrieve the ID of the properties data.

Specified by:
getPropertiesID in class GenericView
Returns:
properties data ID

processDefaultBarStyles

protected void processDefaultBarStyles(net.sf.mpxj.mpp.Props props)
Extract the Gantt bar styles.

Specified by:
processDefaultBarStyles in class GanttChartView
Parameters:
props - props structure containing the style definitions

processExceptionBarStyles

protected void processExceptionBarStyles(net.sf.mpxj.mpp.Props props)
Extract the exception Gantt bar styles.

Specified by:
processExceptionBarStyles in class GanttChartView
Parameters:
props - props structure containing the style definitions

processAutoFilters

protected void processAutoFilters(byte[] data)
Extract autofilter definitions.

Specified by:
processAutoFilters in class GanttChartView
Parameters:
data - autofilters data block

processViewProperties

protected void processViewProperties(Map<Integer,FontBase> fontBases,
                                     net.sf.mpxj.mpp.Props props)
Extract view properties.

Specified by:
processViewProperties in class GanttChartView
Parameters:
fontBases - font defintions
props - Gantt chart view props

getFontStyle

protected FontStyle getFontStyle(byte[] data,
                                 int offset,
                                 Map<Integer,FontBase> fontBases,
                                 boolean ignoreBackground)
Retrieve font details from a block of property data.

Parameters:
data - property data
offset - offset into property data
fontBases - map of font bases
ignoreBackground - set background to default values
Returns:
FontStyle instance

processTableFontStyles

protected void processTableFontStyles(Map<Integer,FontBase> fontBases,
                                      byte[] columnData)
Extract table font styles.

Specified by:
processTableFontStyles in class GanttChartView
Parameters:
fontBases - font bases
columnData - column data

getColumnFontStyle

protected TableFontStyle getColumnFontStyle(byte[] data,
                                            int offset,
                                            Map<Integer,FontBase> fontBases)
Description copied from class: GanttChartView
Retrieve column font details from a block of property data.

Overrides:
getColumnFontStyle in class GanttChartView
Parameters:
data - property data
offset - offset into property data
fontBases - map of font bases
Returns:
ColumnFontStyle instance

processProgressLines

protected void processProgressLines(Map<Integer,FontBase> fontBases,
                                    byte[] progressLineData)
Extract progress line properties.

Specified by:
processProgressLines in class GanttChartView
Parameters:
fontBases - font bases
progressLineData - column data


Copyright © 2012. All Rights Reserved.