elaborate types with the same names as methods

This commit is contained in:
Thomas Fussell 2016-12-03 15:58:51 +01:00
parent efa8c90e54
commit 8425e57937
6 changed files with 34 additions and 34 deletions

View File

@ -250,7 +250,7 @@ public:
/// <summary> /// <summary>
/// Returns the number format of this cell. /// Returns the number format of this cell.
/// </summary> /// </summary>
number_format number_format() const; xlnt::number_format number_format() const;
/// <summary> /// <summary>
/// Creates a new format in the workbook, sets its number_format /// Creates a new format in the workbook, sets its number_format
@ -261,7 +261,7 @@ public:
/// <summary> /// <summary>
/// Returns the font applied to the text in this cell. /// Returns the font applied to the text in this cell.
/// </summary> /// </summary>
font font() const; xlnt::font font() const;
/// <summary> /// <summary>
/// Creates a new format in the workbook, sets its font /// Creates a new format in the workbook, sets its font
@ -272,7 +272,7 @@ public:
/// <summary> /// <summary>
/// Returns the fill applied to this cell. /// Returns the fill applied to this cell.
/// </summary> /// </summary>
fill fill() const; xlnt::fill fill() const;
/// <summary> /// <summary>
/// Creates a new format in the workbook, sets its fill /// Creates a new format in the workbook, sets its fill
@ -283,7 +283,7 @@ public:
/// <summary> /// <summary>
/// Returns the border of this cell. /// Returns the border of this cell.
/// </summary> /// </summary>
border border() const; xlnt::border border() const;
/// <summary> /// <summary>
/// Creates a new format in the workbook, sets its border /// Creates a new format in the workbook, sets its border
@ -294,7 +294,7 @@ public:
/// <summary> /// <summary>
/// Returns the alignment of the text in this cell. /// Returns the alignment of the text in this cell.
/// </summary> /// </summary>
alignment alignment() const; xlnt::alignment alignment() const;
/// <summary> /// <summary>
/// Creates a new format in the workbook, sets its alignment /// Creates a new format in the workbook, sets its alignment
@ -305,7 +305,7 @@ public:
/// <summary> /// <summary>
/// Returns the protection of this cell. /// Returns the protection of this cell.
/// </summary> /// </summary>
protection protection() const; xlnt::protection protection() const;
/// <summary> /// <summary>
/// Creates a new format in the workbook, sets its protection /// Creates a new format in the workbook, sets its protection
@ -414,7 +414,7 @@ public:
/// <summary> /// <summary>
/// Return the worksheet that owns this cell. /// Return the worksheet that owns this cell.
/// </summary> /// </summary>
worksheet worksheet(); class worksheet worksheet();
/// <summary> /// <summary>
/// Return the worksheet that owns this cell. /// Return the worksheet that owns this cell.
@ -424,7 +424,7 @@ public:
/// <summary> /// <summary>
/// Return the workbook of the worksheet that owns this cell. /// Return the workbook of the worksheet that owns this cell.
/// </summary> /// </summary>
workbook &workbook(); class workbook &workbook();
/// <summary> /// <summary>
/// Return the workbook of the worksheet that owns this cell. /// Return the workbook of the worksheet that owns this cell.

View File

@ -108,7 +108,7 @@ public:
/// <summary> /// <summary>
/// ///
/// </summary> /// </summary>
relationship(const std::string &id, relationship_type t, const uri &source, const uri &target, target_mode mode); relationship(const std::string &id, relationship_type t, const uri &source, const uri &target, xlnt::target_mode mode);
/// <summary> /// <summary>
/// Returns a string of the form rId# that identifies the relationship. /// Returns a string of the form rId# that identifies the relationship.
@ -123,7 +123,7 @@ public:
/// <summary> /// <summary>
/// Returns whether the target of the relationship is internal or external to the package. /// Returns whether the target of the relationship is internal or external to the package.
/// </summary> /// </summary>
target_mode target_mode() const; xlnt::target_mode target_mode() const;
/// <summary> /// <summary>
/// Returns the URI of the package part this relationship points to. /// Returns the URI of the package part this relationship points to.

View File

@ -366,7 +366,7 @@ public:
/// <summary> /// <summary>
/// ///
/// </summary> /// </summary>
range named_range(const std::string &name); xlnt::range named_range(const std::string &name);
/// <summary> /// <summary>
/// ///
@ -542,29 +542,29 @@ public:
/// <summary> /// <summary>
/// ///
/// </summary> /// </summary>
const theme &theme() const; const xlnt::theme &theme() const;
/// <summary> /// <summary>
/// ///
/// </summary> /// </summary>
void theme(const class theme &value); void theme(const class theme &value);
// formats // formats
/// <summary> /// <summary>
/// ///
/// </summary> /// </summary>
format format(std::size_t format_index); xlnt::format format(std::size_t format_index);
/// <summary> /// <summary>
/// ///
/// </summary> /// </summary>
const class format format(std::size_t format_index) const; const xlnt::format format(std::size_t format_index) const;
/// <summary> /// <summary>
/// ///
/// </summary> /// </summary>
class format create_format(bool default_format = false); xlnt::format create_format(bool default_format = false);
/// <summary> /// <summary>
/// ///

View File

@ -45,7 +45,7 @@ public:
/// <summary> /// <summary>
/// ///
/// </summary> /// </summary>
page_break page_break() const; xlnt::page_break page_break() const;
/// <summary> /// <summary>
/// ///
@ -55,7 +55,7 @@ public:
/// <summary> /// <summary>
/// ///
/// </summary> /// </summary>
sheet_state sheet_state() const; xlnt::sheet_state sheet_state() const;
/// <summary> /// <summary>
/// ///
@ -65,7 +65,7 @@ public:
/// <summary> /// <summary>
/// ///
/// </summary> /// </summary>
paper_size paper_size() const; xlnt::paper_size paper_size() const;
/// <summary> /// <summary>
/// ///
@ -75,7 +75,7 @@ public:
/// <summary> /// <summary>
/// ///
/// </summary> /// </summary>
orientation orientation() const; xlnt::orientation orientation() const;
/// <summary> /// <summary>
/// ///

View File

@ -55,7 +55,7 @@ public:
/// <summary> /// <summary>
/// ///
/// </summary> /// </summary>
pane &pane() { return pane_.get(); } struct pane &pane() { return pane_.get(); }
/// <summary> /// <summary>
/// ///
@ -80,7 +80,7 @@ public:
/// <summary> /// <summary>
/// ///
/// </summary> /// </summary>
void add_selection(const selection &new_selection) { selections_.push_back(new_selection); } void add_selection(const class selection &new_selection) { selections_.push_back(new_selection); }
/// <summary> /// <summary>
/// ///

View File

@ -175,7 +175,7 @@ public:
/// <summary> /// <summary>
/// ///
/// </summary> /// </summary>
cell cell(column_t column, row_t row); class cell cell(column_t column, row_t row);
/// <summary> /// <summary>
/// ///
@ -200,7 +200,7 @@ public:
/// <summary> /// <summary>
/// ///
/// </summary> /// </summary>
range range(const std::string &reference_string); xlnt::range range(const std::string &reference_string);
/// <summary> /// <summary>
/// ///
@ -247,12 +247,12 @@ public:
/// <summary> /// <summary>
/// ///
/// </summary> /// </summary>
column_properties &column_properties(column_t column); xlnt::column_properties &column_properties(column_t column);
/// <summary> /// <summary>
/// ///
/// </summary> /// </summary>
const class column_properties &column_properties(column_t column) const; const xlnt::column_properties &column_properties(column_t column) const;
/// <summary> /// <summary>
/// ///
@ -267,12 +267,12 @@ public:
/// <summary> /// <summary>
/// ///
/// </summary> /// </summary>
row_properties &row_properties(row_t row); xlnt::row_properties &row_properties(row_t row);
/// <summary> /// <summary>
/// ///
/// </summary> /// </summary>
const class row_properties &row_properties(row_t row) const; const xlnt::row_properties &row_properties(row_t row) const;
/// <summary> /// <summary>
/// ///
@ -516,7 +516,7 @@ public:
/// <summary> /// <summary>
/// ///
/// </summary> /// </summary>
page_setup page_setup() const; xlnt::page_setup page_setup() const;
/// <summary> /// <summary>
/// ///
@ -531,7 +531,7 @@ public:
/// <summary> /// <summary>
/// ///
/// </summary> /// </summary>
page_margins page_margins() const; xlnt::page_margins page_margins() const;
/// <summary> /// <summary>
/// ///
@ -600,12 +600,12 @@ public:
/// <summary> /// <summary>
/// ///
/// </summary> /// </summary>
header_footer &header_footer(); xlnt::header_footer &header_footer();
/// <summary> /// <summary>
/// ///
/// </summary> /// </summary>
const class header_footer &header_footer() const; const xlnt::header_footer &header_footer() const;
/// <summary> /// <summary>
/// ///
@ -620,7 +620,7 @@ public:
/// <summary> /// <summary>
/// ///
/// </summary> /// </summary>
sheet_state sheet_state() const; xlnt::sheet_state sheet_state() const;
/// <summary> /// <summary>
/// ///