23 "modules/scalc/ui/fourieranalysisdialog.ui",
24 "FourierAnalysisDialog")
25 , maLabelAddr(
ScAddress::INITIALIZE_INVALID)
26 , maActualInputRange(
ScAddress::INITIALIZE_INVALID)
29 , mbUse3DAddresses(false)
30 , mbGroupedByColumn(true)
34 , mxWithLabelsCheckBox(m_xBuilder->weld_check_button(
"withlabels-check"))
35 , mxInverseCheckBox(m_xBuilder->weld_check_button(
"inverse-check"))
36 , mxPolarCheckBox(m_xBuilder->weld_check_button(
"polar-check"))
37 , mxMinMagnitudeField(m_xBuilder->weld_spin_button(
"minmagnitude-spin"))
38 , mxErrorMessage(m_xBuilder->weld_label(
"error-message"))
64 :
ScResId(STR_FOURIER_TRANSFORM));
68 if (
aLabel.startsWith(
"="))
130 :
ScResId(STR_MESSAGE_INVALID_NUMROWS);
161 if (nComponents == 1)
185 if (nDeciBels <= -150)
188 mfMinMag = pow(10.0,
static_cast<double>(nDeciBels) / 10.0);
207 rLabel =
ScResId(STR_INPUT_DATA_RANGE) +
" : " + aDataSrc;
213 static constexpr OUStringLiteral aSep(
u";");
228 ValidateDialogInput();
IMPL_LINK_NOARG(ScFourierAnalysisDialog, CheckBoxHdl, weld::Toggleable &, void)
size_t SCSIZE
size_t typedef to be able to find places where code was changed from USHORT to size_t and is used to ...
Reference< XExecutableDialog > m_xDialog
void writeMatrixFormula(const OUString &aFormula, SCCOL nCols=1, SCROW nRows=1)
void writeFormula(const OUString &aFormula)
void writeBoldString(const OUString &aString)
void writeString(const OUString &aString)
ScAddress mMaximumAddress
ScAddress mMinimumAddress
static sal_uInt16 GetChildWindowId()
SC_DLLPUBLIC void Format(OStringBuffer &r, ScRefFlags nFlags, const ScDocument *pDocument=nullptr, const Details &rDetails=detailsOOOa1) const
void IncCol(SCCOL nDelta=1)
void IncRow(SCROW nDelta=1)
SC_DLLPUBLIC SCROW MaxRow() const
ScRange maActualInputRange
ScFourierAnalysisDialog(SfxBindings *pB, SfxChildWindow *pCW, weld::Window *pParent, ScViewData &rViewData)
virtual ScRange ApplyOutput(ScDocShell *pDocShell) override
virtual ~ScFourierAnalysisDialog() override
virtual void Close() override
std::unique_ptr< weld::Label > mxErrorMessage
void getDataLabel(OUString &rLabel)
std::unique_ptr< weld::CheckButton > mxPolarCheckBox
void genFormula(OUString &rFormula)
virtual TranslateId GetUndoNameId() override
virtual bool InputRangesValid() override
std::unique_ptr< weld::CheckButton > mxInverseCheckBox
std::unique_ptr< weld::SpinButton > mxMinMagnitudeField
std::unique_ptr< weld::CheckButton > mxWithLabelsCheckBox
OUString Format(const ScDocument &rDocument, ScRefFlags nFlags=ScRefFlags::ZERO, const ScAddress::Details &rDetails=ScAddress::detailsOOOa1, bool bFullAddressNotation=false) const
Returns string with formatted cell range from aStart to aEnd, according to provided address conventio...
bool DoClose(sal_uInt16 nId)
#define LINK(Instance, Class, Member)
constexpr std::enable_if_t< std::is_signed_v< T >, std::make_unsigned_t< T > > make_unsigned(T value)
OUString ScResId(TranslateId aId)
formula::FormulaGrammar::AddressConvention eConv