This commit is contained in:
Elena.Subbotina
2023-03-04 20:03:14 +03:00
parent f2533bc6a0
commit fd865782a8
17 changed files with 129 additions and 27 deletions

View File

@ -201,14 +201,18 @@ void number_style_base::add_child_element( xml::sax * Reader, const std::wstring
CP_CREATE_ELEMENT(content_);
}
}
//-------------------------------------------------------------------
// number:number-style
//////////////////////////////////////////////////////////////////////////////////////////////////
const wchar_t * number_number_style::ns = L"number";
const wchar_t * number_number_style::name = L"number-style";
//-------------------------------------------------------------------
// number:boolean-style
const wchar_t * number_boolean_style::ns = L"number";
const wchar_t * number_boolean_style::name = L"boolean-style";
//-------------------------------------------------------------------
// number:text
//////////////////////////////////////////////////////////////////////////////////////////////////
const wchar_t * number_text::ns = L"number";
const wchar_t * number_text::name = L"text";
@ -747,6 +751,15 @@ void number_am_pm::oox_convert(oox::num_format_context & Context)
strm << L"AM/PM";
}
// number:boolean
//////////////////////////////////////////////////////////////////////////////////////////////////
const wchar_t * number_boolean::ns = L"number";
const wchar_t * number_boolean::name = L"boolean";
void number_boolean::oox_convert(oox::num_format_context & Context)
{
Context.type(odf_types::office_value_type::Boolean);
}
// number:fraction
//////////////////////////////////////////////////////////////////////////////////////////////////
const wchar_t * number_fraction::ns = L"number";