Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
c65cae18
Kaydet (Commit)
c65cae18
authored
Tem 06, 2017
tarafından
Michael Stahl
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
sw/README: document lists and outline
Change-Id: I1f6a7a29a308e13c20e5987902d148ee8d466e31
üst
ea3e7188
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
57 additions
and
0 deletions
+57
-0
README
sw/README
+57
-0
No files found.
sw/README
Dosyayı görüntüle @
c65cae18
...
...
@@ -140,3 +140,60 @@ There are multiple model classes involved for fields:
Its life-cycle is determined by UNO clients outside of sw; it will get
disposed when the SwFormatField dies.
=== Lists ===
- SwNumFormat (subclass of SvxNumFormat) determines the formatting of a single
numbering level.
- SwNumRule (NOT a subclass of SvxNumRule) is a *list style*, containing one
SwNumFormat per list level.
SwNumRule::maTextNodeList is the list of SwTextNode that have this list style
applied.
- SwNumberTreeNode is a base class that represents an abstract node in a
hierarchical tree of numbered nodes.
- SwNodeNum is the subclass of SwNumberTreeNode that connects it with an
actual SwTextNode and also with a SwNumRule;
SwTextNode::mpNodeNum points back in the other direction
- SwList represents a list, which is (mostly) a vector of SwNodeNum trees,
one per SwNodes top-level section (why that?).
- IDocumentListsAccess, sw::DocumentListsManager owns all SwList instances,
and maintains mappings:
+ from list-id to SwList
+ from list style name to SwList (the "default" SwList for that list style)
- IDocumentListItems, sw::DocumentListItemsManager contains a set of all
SwNodeNum instances, ordered by SwNode index
- the special Outline numbering rule: SwDoc::mpOutlineRule
- IDocumentOutlineNodes, sw::DocumentOutlineNodesManager maintain
a list (which is actually stored in SwNodes::m_pOutlineNodes) of SwTextNodes
that either have the Outline numrule applied,
or have the RES_PARATR_OUTLINELEVEL item set (note that in the latter case,
the SwTextNode does not have a SwNodeNum and is not associated with the
SwDoc::mpOutlineRule).
- SwTextNodes and paragraph styles have items/properties:
+ RES_PARATR_OUTLINELEVEL/"OutlineLevel" to specify an outline level without
necessarily having the outline SwNumRule assigned
+ RES_PARATR_NUMRULE/"NumberingStyleName" the list style to apply; may be
empty "" which means no list style (to override inherited value)
Only SwTextNode has these items:
+ RES_PARATR_LIST_ID/"ListId"
determines the SwList to which the node is added
+ RES_PARATR_LIST_LEVEL/"NumberingLevel"
the level at which the SwTextNode will appear in the list
+ RES_PARATR_LIST_ISRESTART/"ParaIsNumberingRestart"
restart numbering sequence at this SwTextNode
+ RES_PARATR_LIST_RESTARTVALUE/"NumberingStartValue"
restart numbering sequence at this SwTextNode with this value
+ RES_PARATR_LIST_ISCOUNTED/"NumberingIsNumber"
determines if the node is actually counted in the numbering sequence;
these are different from "phantoms" because there's still a SwTextNode.
Note that there is no UNO service to represent a list.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment