LibreOffice Module sfx2 (master) 1
Functions
dialoghelper.cxx File Reference
#include <unotools/localedatawrapper.hxx>
#include <sfx2/dialoghelper.hxx>
#include <tools/datetime.hxx>
#include <vcl/outdev.hxx>
Include dependency graph for dialoghelper.cxx:

Go to the source code of this file.

Functions

Size getParagraphPreviewOptimalSize (const OutputDevice &rReference)
 
Size getDrawPreviewOptimalSize (const OutputDevice &rReference)
 
Size getPreviewStripSize (const OutputDevice &rReference)
 
Size getPreviewOptionsSize (const OutputDevice &rReference)
 
OUString getWidestDateTime (const LocaleDataWrapper &rWrapper, bool bWithSec)
 
OUString formatDateTime (const DateTime &rDateTime, const LocaleDataWrapper &rWrapper, bool bWithSec)
 

Function Documentation

◆ formatDateTime()

OUString formatDateTime ( const DateTime rDateTime,
const LocaleDataWrapper rWrapper,
bool  bWithSec 
)

◆ getDrawPreviewOptimalSize()

Size getDrawPreviewOptimalSize ( const OutputDevice rReference)

Definition at line 20 of file dialoghelper.cxx.

References OutputDevice::LogicToPixel().

◆ getParagraphPreviewOptimalSize()

Size getParagraphPreviewOptimalSize ( const OutputDevice rReference)

Definition at line 15 of file dialoghelper.cxx.

References OutputDevice::LogicToPixel().

◆ getPreviewOptionsSize()

Size getPreviewOptionsSize ( const OutputDevice rReference)

Definition at line 30 of file dialoghelper.cxx.

References OutputDevice::LogicToPixel().

◆ getPreviewStripSize()

Size getPreviewStripSize ( const OutputDevice rReference)

Definition at line 25 of file dialoghelper.cxx.

References OutputDevice::LogicToPixel().

◆ getWidestDateTime()

OUString getWidestDateTime ( const LocaleDataWrapper rWrapper,
bool  bWithSec 
)

Definition at line 35 of file dialoghelper.cxx.

References formatDateTime().