この項目では、ライブラリについて説明しています。一般的なflakeについては「剥片」をご覧ください。
Flakeはリリース予定のKOffice 2に使われているプログラミングライブラリである。Flakeでは「形」(Shape)に関する基本的な概念が規定される予定である。あるShapeはエンドユーザーには画像もしくはテキストといったコンテンツとして現れる。Shapeは四角や円などの形式をとることができ、Shapeは描画それ自体に関するものであるため、そこにはどのような種類のメディアでも含むことができる。現在、KOfficeの全てのコンポーネントに対してFlakeを最大限使用するための作業が進められている[1]。 Flakeの機能は、コンテンツを表示するShapeと、コンテンツもしくはユーザーインターフェイスを取り扱うToolsに分けられる。Shapeはコンテンツの種類に応じて作られる。例えば、テキストShapeはKWordにおいて.txtと.odtフォーマットを扱うのに対し、KChartのShapeは.odc
機能
FlakeはKOffice 1シリーズにおける、ウィジェットを基にした埋め込みの後継的な機能である。埋め込み型ウィジェットには以下のような欠点があった。すなわちウィジェットは常に四角形でなくてはならないこと、回転することが出来ないこと、そしてピクセルで測られていたことである。これら3つの欠点は全てFlakeによって解決される予定である。埋め込まれたドキュメントデータを拡大縮小したり、回転したり歪めたりというようにあらゆる形式をとれる。単位にはミリメートルなどが使われる。またFlakeは拡張性などいくつかの分野で元のデザインを改良しているところがある。例えば、GoogleのSummer of Code 2007において、Marijn Kruisselbrinkは記譜法のShapeとToolsをベースにしたMusicXMLを発表した[2]。あるShapeに対し他のShapeの位置を認識させることが可能であり、例えば、画像をテキストの上に移動させることによってそのテキストを画像の周りに動的に配置することが出来る[3]。またShapeはグループ化することも可能であり、そうすることで複数のShapeが1つのShapeとして振舞うことが出来るようになる[4]。 KOfficeの各コンポーネントにおいて、Flakeは以下に挙げるような機能を有すると見られている[5]。
KOffice
KWord - テキストをShapeとして扱う。
KSpread - 複数のセルを1つのShapeにまとめる。
KPresenter - Flakeの一部となる。
Kivio - Flakeの一部となる。
Karbon14 - ベクタ画像を発展的に扱う。
Krita - レイヤーを含めて画像をShapeとして扱う。
KChart - 1つのグラフを1つのShapeとして扱う。
KFormula - 1つの公式を1つのShapeとして扱う。
Kexi - データをKWordやKSpreadに組み入れる。
KPlato - 各工程をShapeとして扱う。
脚注^ ⇒The KOffice Project - Release Goals for KOffice 2.0
^ ⇒Pencils Down for KOffice Summer of Code Students!
^ ⇒The Road to KDE 4: New KOffice Technologies
^ ⇒Flake - KOffice
^ ⇒Flake - KOffice
関連項目.mw-parser-output .side-box{margin:4px 0;box-sizing:border-box;border:1px solid #aaa;font-size:88%;line-height:1.25em;background-color:#f9f9f9;display:flow-root}.mw-parser-output .side-box-abovebelow,.mw-parser-output .side-box-text{padding:0.25em 0.9em}.mw-parser-output .side-box-image{padding:2px 0 2px 0.9em;text-align:center}.mw-parser-output .side-box-imageright{padding:2px 0.9em 2px 0;text-align:center}@media(min-width:500px){.mw-parser-output .side-box-flex{display:flex;align-items:center}.mw-parser-output .side-box-text{flex:1}}@media(min-width:720px){.mw-parser-output .side-box{width:238px}.mw-parser-output .side-box-right{clear:right;float:right;margin-left:1em}.mw-parser-output .side-box-left{margin-right:1em}}ポータル FLOSS
KDE
KOffice
.mw-parser-output .asbox{position:relative;overflow:hidden}.mw-parser-output .asbox table{background:transparent}.mw-parser-output .asbox p{margin:0}.mw-parser-output .asbox p+p{margin-top:0.25em}.mw-parser-output .asbox{font-size:90%}.mw-parser-output .asbox-note{font-size:90%}.mw-parser-output .asbox .navbar{position:absolute;top:-0.90em;right:1em;display:none}
.mw-parser-output .hlist ul,.mw-parser-output .hlist ol{padding-left:0}.mw-parser-output .hlist li,.mw-parser-output .hlist dd,.mw-parser-output .hlist dt{margin-right:0;display:inline-block;white-space:nowrap}.mw-parser-output .hlist dt:after,.mw-parser-output .hlist dd:after,.mw-parser-output .hlist li:after{white-space:normal}.mw-parser-output .hlist li:after,.mw-parser-output .hlist dd:after{content:" ・\a0 ";font-weight:bold}.mw-parser-output .hlist dt:after{content:": "}.mw-parser-output .hlist-pipe dd:after,.mw-parser-output .hlist-pipe li:after{content:" |\a0 ";font-weight:normal}.mw-parser-output .hlist-hyphen dd:after,.mw-parser-output .hlist-hyphen li:after{content:" -\a0 ";font-weight:normal}.mw-parser-output .hlist-comma dd:after,.mw-parser-output .hlist-comma li:after{content:"、";font-weight:normal}.mw-parser-output .hlist-slash dd:after,.mw-parser-output .hlist-slash li:after{content:" /\a0 ";font-weight:normal}.mw-parser-output .hlist dd:last-child:after,.mw-parser-output .hlist dt:last-child:after,.mw-parser-output .hlist li:last-child:after{content:none}.mw-parser-output .hlist dd dd:first-child:before,.mw-parser-output .hlist dd dt:first-child:before,.mw-parser-output .hlist dd li:first-child:before,.mw-parser-output .hlist dt dd:first-child:before,.mw-parser-output .hlist dt dt:first-child:before,.mw-parser-output .hlist dt li:first-child:before,.mw-parser-output .hlist li dd:first-child:before,.mw-parser-output .hlist li dt:first-child:before,.mw-parser-output .hlist li li:first-child:before{content:" (";font-weight:normal}.mw-parser-output .hlist dd dd:last-child:after,.mw-parser-output .hlist dd dt:last-child:after,.mw-parser-output .hlist dd li:last-child:after,.mw-parser-output .hlist dt dd:last-child:after,.mw-parser-output .hlist dt dt:last-child:after,.mw-parser-output .hlist dt li:last-child:after,.mw-parser-output .hlist li dd:last-child:after,.mw-parser-output .hlist li dt:last-child:after,.mw-parser-output .hlist li li:last-child:after{content:")\a0 ";font-weight:normal}.mw-parser-output .hlist ol{counter-reset:listitem}.mw-parser-output .hlist ol>li{counter-increment:listitem}.mw-parser-output .hlist ol>li:before{content:" "counter(listitem)" ";white-space:nowrap}.mw-parser-output .hlist dd ol>li:first-child:before,.mw-parser-output .hlist dt ol>li:first-child:before,.mw-parser-output .hlist li ol>li:first-child:before{content:" ("counter(listitem)" "}.mw-parser-output .navbar{display:inline;font-size:75%;font-weight:normal}.mw-parser-output .navbar-collapse{float:left;text-align:left}.mw-parser-output .navbar-boxtext{word-spacing:0}.mw-parser-output .navbar ul{display:inline-block;white-space:nowrap;line-height:inherit}.mw-parser-output .navbar-brackets::before{margin-right:-0.125em;content:"[ "}.mw-parser-output .navbar-brackets::after{margin-left:-0.125em;content:" ]"}.mw-parser-output .navbar li{word-spacing:-0.125em}.mw-parser-output .navbar-mini abbr{font-variant:small-caps;border-bottom:none;text-decoration:none;cursor:inherit}.mw-parser-output .navbar-ct-full{font-size:114%;margin:0 7em}.mw-parser-output .navbar-ct-mini{font-size:114%;margin:0 4em}.mw-parser-output .infobox .navbar{font-size:88%}.mw-parser-output .navbox .navbar{display:block;font-size:88%}.mw-parser-output .navbox-title .navbar{float:left;text-align:left;margin-right:0.5em}
表示
編集
表
話
編
歴
KDE
Software Compilation
KDE 1
KDE 2
KDE 3
KDE SC 4
KDE 4以降
KDE Frameworks
KDE Plasma 5
KDE Applications
ワークスペース
KDM
KWin
Plasma
システム設定
アプリケーション
開発
Cervisia
KDbg
KDESvn
KDevelop
KImageMapEditor
Kompare
Kommander
Lokalize
Quanta Plus
Umbrello
教育
Cantor
Kalzium
KGeography
KHangMan
Kig
Kiten
KmPlot
KStars
KTouch
KTurtle
Marble
Step
ゲーム
KAtomic
KBounce
Kolf
KMines
KTeaTime
KWeather
グラフィック
digiKam
Gwenview
Karbon14
KColorEdit
KolourPaint
KPhotoAlbum
KPovModeler
KRuler
Krita
KSnapshot
KuickShow
Okular
ネットワーク
Akregator
Blogilo