このページはEtoJ逐語翻訳フィルタによって翻訳生成されました。

翻訳前ページへ


Interface XChartTypeTemplate
Language

The 解放する/自由な and Open 生産性 控訴
解放(する)d: Apache OpenOffice 4.1.15

API

SDK

Tips ‘n’ Tricks

Miscellaneous


:: com :: sun :: 星/主役にする :: chart2 ::

interface XChartTypeTemplate

Methods' 要約
createDiagramByDataSource Creates a new diagram based upon the given data .  
supportsCategories  
changeDiagram 分析 the given diagram and reinterprets its DataSeries and ::部類s and creates a new diagram based on these series.  
changeDiagramData Changes the given diagram xDiagram by using the new data given in xDataSource.  
matchesTemplate 明言する/公表するs whether the given diagram could have been created by the template.  
getChartTypeForNewSeries 供給するs a chart type 反対する that can be used to create new series.  
getDataInterpreter  
applyStyle 適用するs a chart-type 明確な/細部 style (e.g. symbols) to all series in the sequence aSeries.  
resetStyles Resets all styles that were changed from the default at any 反対する in the chart and have not been later 修正するd.  
Methods' 詳細(に述べる)s
createDiagramByDataSource
XDiagram
createDiagramByDataSource( [in] ::com::sun::星/主役にする::chart2::data::XDataSource  xDataSource,
[in] sequence< ::com::sun::星/主役にする::beans::PropertyValue >  aArguments );

Description
Creates a new diagram based upon the given data .
Parameter xDataSource
This data source will be 解釈する/通訳するd in a chart-type 明確な/細部 way and appropriate DataSeries will be created which serve as input for the new diagram.
Parameter aArguments
Arguments that tell the template how to slice the given 範囲. The 所有物/資産/財産s should be defined in a separate service.

For 基準 parameters that may be used, see the service StandardDiagramCreationParameters.

Returns
The new diagram which 代表するs this ChartTypeTemplate.
supportsCategories
boolean
supportsCategories();

Returns
true if the template does support 部類s
changeDiagram
無効の
changeDiagram( [in] XDiagram  xDiagram );

Description
分析 the given diagram and reinterprets its DataSeries and ::部類s and creates a new diagram based on these series.

公式文書,認める, that if matchesTemplate returns true for the given XDiagram, the latter should not be changed.

Parameter xDiagram
The diagram given will be 修正するd such that it 代表するs this ChartTypeTemplate.
changeDiagramData
無効の
changeDiagramData( [in] XDiagram  xDiagram,
[in] ::com::sun::星/主役にする::chart2::data::XDataSource  xDataSource,
[in] sequence< ::com::sun::星/主役にする::beans::PropertyValue >  aArguments );

Description
Changes the given diagram xDiagram by using the new data given in xDataSource.

公式文書,認める that the data is 解釈する/通訳するd in a way that fits this template, but not やむを得ず the chart-types of the diagram. This method should only be called if the data-判型 of the diagram is 両立できる with the data-判型 of this template.

Ideally a matchesTemplate call for the given diagram should return true before this method is called.

Parameter xDataSource
This data source will be 解釈する/通訳するd in a chart-type 明確な/細部 way and the DataSeries 設立する in xDiagram will be adapted to the new data. 行方不明の data series will be created and 未使用の ones will be 削除するd in xDiagram.
Parameter aArguments
Arguments that tell the template how to slice the given 範囲. The 所有物/資産/財産s should be defined in a separate service.

For 基準 parameters that may be used, see the service StandardDiagramCreationParameters.

matchesTemplate
boolean
matchesTemplate( [in] XDiagram  xDiagram,
[in] boolean  bAdaptProperties );

Description
明言する/公表するs whether the given diagram could have been created by the template.

The template will parse the ::DataSeriesTree of the diagram to 決定する if the structure matches the one which would have been created by createDiagramByDataSource.

For 分析 all parts of the diagram may be used, e.g. also 所有物/資産/財産s 始める,決める at the data series (like symbols)./p>

Parameter xDiagram
The diagram to be 分析するd.
Parameter bAdaptProperties
If true the 所有物/資産/財産s of the template are 始める,決める, such that the template matches more 正確に. E.g. for a line-chart with symbols the 所有物/資産/財産 "Symbol" would be 始める,決める to true. If this parameter is 誤った the template itselfs stays unmodified.
Returns
true if the diagram given is structurally 同一の to a diagram that was created using createDiagramByDataSource or changeDiagram. If 誤った is returned the template stays unmodified even if bAdaptProperties is true.
getChartTypeForNewSeries
XChartType
getChartTypeForNewSeries( [in] sequence< XChartType >  aFormerlyUsedChartTypes );

Description
供給するs a chart type 反対する that can be used to create new series.
Parameter aFormerlyUsedChartTypes
The 名簿(に載せる)/表(にあげる) can be used to copy some 面s from old charttypes during the 創造 of a new chart type. The 名簿(に載せる)/表(にあげる) might be empty.
getDataInterpreter
XDataInterpreter
getDataInterpreter();

applyStyle
無効の
applyStyle( [in] XDataSeries  xSeries,
[in] long  nChartTypeGroupIndex,
[in] long  nSeriesIndex,
[in] long  nSeriesCount );

Description
適用するs a chart-type 明確な/細部 style (e.g. symbols) to all series in the sequence aSeries.
Parameter xSeries
a 選び出す/独身 data series to which a style will be 適用するd
Parameter nChartTypeGroupIndex
Denotes in which chart-type group the series lies, such this method can 適用する different styles for different chart-type groups
Parameter nSeriesIndex
The 索引 of the series inside the 現在の chart-type group. nSeriesIndex does not uniquely identify a data series alone, but only together with nChartTypeGroupIndex
Parameter nSeriesCount
The number of series in the 現在の chart-type group. @todo In the 未来, this should only change the "Style" 所有物/資産/財産 and no hard せいにするs.
resetStyles
無効の
resetStyles( [in] XDiagram  xDiagram );

Description
Resets all styles that were changed from the default at any 反対する in the chart and have not been later 修正するd.

In createDiagramByDataSource or changeDiagram a template might e.g. change the page background color or the line style of all data series. This method should reset all 反対するs that still have the changed settings to the default.

If for example the template changed the ::com::sun::星/主役にする::製図/抽選::LineStyle of all series to NONE, this method should reset all series with LineStyle NONE 支援する to SOLID. If a series has a style DASH, it must not be changed.

最高の,を越す of Page

Apache Software Foundation

Copyright & License | Privacy | 接触する Us | 寄付する | Thanks

Apache, OpenOffice, OpenOffice.org and the seagull logo are 登録(する)d trademarks of The Apache ソフトウェア 創立/基礎. The Apache feather logo is a trademark of The Apache ソフトウェア 創立/基礎. Other 指名するs appearing on the 場所/位置 may be trademarks of their 各々の owners.